/* Boutons */

.btn {
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary);
    color: var(--dark);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-dark {
    background: var(--dark);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--dark-soft);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--dark);
    color: var(--dark);
}

/* Cards */

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
}

/* Badge */

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 600;
}

.badge-success {
    background: rgba(34,197,94,.12);
    color: var(--success);
}

.badge-danger {
    background: rgba(239,68,68,.12);
    color: var(--danger);
}

.badge-info {
    background: rgba(59,130,246,.12);
    color: var(--info);
}

/* Inputs */

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

.navbar {
    background: var(--white);
    height: var(--navbar-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.navbar-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-dark);
}

.nav-btn {
    padding: 12px 18px;
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    background: none;
}

.footer {
    background: var(--dark);
    color: var(--white);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}

.footer h4 {
    margin-bottom: 15px;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,.1);
}

.loader-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,.9);

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 9999;
}

.loader-content {
    text-align: center;
}

.loader-scooter {
    font-size: 3rem;
    animation: bounce 1s infinite;
}

@keyframes bounce {

    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

}

.empty-state {
    text-align: center;
    padding: 50px 20px;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.empty-state h3 {
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--gray-600);
}

.hidden {
    display: none !important;
}

.scroll-top-btn {

    position: fixed;

    right: 25px;

    bottom: 25px;

    width: 50px;

    height: 50px;

    border-radius: 50%;

    background: var(--primary);

    color: var(--dark);

    font-size: 1.5rem;

    cursor: pointer;

    opacity: 0;

    visibility: hidden;

    transform: translateY(20px);

    transition: var(--transition);

    z-index: 900;
}

.scroll-top-btn.show {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}


.btn-danger {

    background: #dc3545;

    color: white;

    border: none;

}

.btn-danger:hover {

    opacity: .9;

}