/* ============================= Suivi Location ============================ */

.suivi-page {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 25px;
    padding: 20px 0;
}

.suivi-page > h2 {
    text-align: center;
    white-space: nowrap;
}

.suivi-page > form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 700px;
    gap: 15px;
}

.suivi-error {
    background-color: var(--light-red);
    color: var(--light-black);
    padding: 10px 15px;
    font-size: 0.9rem;
    font-weight: bold;
    text-align: center;
    width: 100%;
    max-width: 700px;
}

/* ============================= Status Badge ============================= */

.suivi-badge {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    padding: 10px 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.suivi-badge.en_attente {
    background-color: var(--light-blue);
    color: var(--light-black);
}

.suivi-badge.confirme {
    background-color: var(--light-green);
    color: var(--light-black);
}

.suivi-badge.refuse {
    background-color: var(--light-red);
    color: var(--light-black);
}
.suivi-badge.termine {
    background-color: #d4dae5;
    color: #2c3e50;
}

/* ============================= Help text ================================ */

.suivi-help {
    font-size: 0.9rem;
    color: var(--light-blue);
    margin-top: 6px;
    margin-left: 5px;
    opacity: 0.85;
}

/* ============================= Divider ================================== */

.suivi-divider {
    width: 100%;
    height: 3px;
    background-color: var(--light-blue);
    max-width: 700px;
}

/* ============================= Details ================================== */

.suivi-details {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 700px;
    gap: 0;
}

.suivi-details > h2 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.suivi-row {
    display: flex;
    border-bottom: 2px solid var(--light-blue);
    padding: 10px 8px;
    align-items: center;
}

.suivi-row:last-child {
    border-bottom: none;
}

.suivi-row span:first-child {
    min-width: 120px;
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--light-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.suivi-row span:last-child,
.suivi-row strong {
    font-size: 0.9rem;
    color: var(--light-black);
}

/* ========================== Verif indicator ============================== */

.verif-indicator {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
}
.verif-indicator.valid::after {
    content: '✓';
    color: #28a745;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.verif-indicator.invalid::after {
    content: '✕';
    color: #dc3545;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (min-width: 768px) {
    .suivi-page > h2 {
        font-size: 2rem;
    }

    .suivi-badge {
        font-size: 1.4rem;
        padding: 12px 24px;
    }

    .suivi-row span:first-child {
        min-width: 160px;
        font-size: 1rem;
    }

    .suivi-row span:last-child,
    .suivi-row strong {
        font-size: 1rem;
    }

    .suivi-details > h2 {
        font-size: 1.6rem;
    }
}
