/* ============================================
   TRACKING PAGE STYLES - GLASSMORPHISM
   ============================================ */

.tracking-page {
    padding: var(--spacing-xl) 0;
    min-height: calc(100vh - var(--header-height) - 200px);
    background: #ffffff;
}

/* ============================================
   HEADER SECTION
   ============================================ */

.tracking-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.tracking-header__title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
    text-transform: uppercase;
}

.tracking-header__subtitle {
    font-size: 1.125rem;
    font-weight: 400;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   FORMULAIRE - GLASSMORPHISM
   ============================================ */

.tracking-form-wrapper {
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
}

.tracking-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.tracking-form__field {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.tracking-form__label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
}

/* Input glassmorphism */
.tracking-form__input {
    padding: 16px 20px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    border: 1px solid rgba(200, 200, 200, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tracking-form__input:hover:not(:focus) {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border-color: rgba(200, 200, 200, 0.4);
}

.tracking-form__input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.3);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.tracking-form__input::placeholder {
    color: #999;
    font-weight: 300;
    text-transform: none;
    letter-spacing: normal;
}

/* Empêcher le fond bleu de l'autocomplétion */
.tracking-form__input:-webkit-autofill,
.tracking-form__input:-webkit-autofill:hover,
.tracking-form__input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.8) inset !important;
    box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.8) inset !important;
    background-color: transparent !important;
    -webkit-text-fill-color: var(--color-text) !important;
    transition: background-color 5000s ease-in-out 0s;
}

.tracking-form__hint {
    font-size: 0.875rem;
    font-weight: 300;
    color: #999;
    font-style: italic;
}

/* Bouton submit - STYLE ÉDITEUR NOIR */
.tracking-form__submit {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px 32px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.tracking-form__submit:hover {
    background: rgba(0, 0, 0, 0.95);
    transform: translateY(-3px);
    box-shadow: 
        0 8px 28px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.tracking-form__submit:active {
    transform: translateY(-1px);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.tracking-form__submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ============================================
   INFORMATIONS COMPLÉMENTAIRES - GLASSMORPHISM
   ============================================ */

.tracking-info {
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
    padding: var(--spacing-lg) 0;
    border-top: 1px solid rgba(200, 200, 200, 0.3);
}

.tracking-info__title {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text);
}

.tracking-info__content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

/* Cards info glassmorphism */
.tracking-info__item {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    border: 1px solid rgba(200, 200, 200, 0.3);
    padding: var(--spacing-md);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.tracking-info__item:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border-color: rgba(200, 200, 200, 0.4);
}

.tracking-info__number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    border-radius: 50%;
    font-size: 1.125rem;
    font-weight: 600;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.tracking-info__text h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
}

.tracking-info__text p {
    font-size: 1rem;
    font-weight: 400;
    color: #666;
    line-height: 1.6;
}

.tracking-info__text a {
    color: var(--color-text);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.tracking-info__text a:hover {
    opacity: 0.7;
}

/* ============================================
   FAQ RAPIDE - GLASSMORPHISM
   ============================================ */

.tracking-faq {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-lg) 0;
    border-top: 1px solid rgba(200, 200, 200, 0.3);
}

.tracking-faq__title {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text);
}

.tracking-faq__items {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

/* FAQ Items glassmorphism */
.tracking-faq__item {
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    border: 1px solid rgba(200, 200, 200, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.tracking-faq__item:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border-color: rgba(200, 200, 200, 0.4);
}

.tracking-faq__item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
}

.tracking-faq__item p {
    font-size: 0.9375rem;
    font-weight: 400;
    color: #666;
    line-height: 1.6;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .tracking-page {
        padding: var(--spacing-md) 0;
    }
    
    .tracking-header {
        margin-bottom: var(--spacing-md);
    }
    
    .tracking-header__title {
        font-size: 1.25rem;
    }
    
    .tracking-header__subtitle {
        font-size: 1rem;
    }
    
    .tracking-form-wrapper {
        margin-bottom: var(--spacing-md);
    }
    
    .tracking-form__submit {
        width: 100%;
    }
    
    .tracking-info {
        padding: var(--spacing-md) 0;
        margin-bottom: var(--spacing-md);
    }
    
    .tracking-info__title {
        font-size: 1.25rem;
        margin-bottom: var(--spacing-md);
    }
    
    .tracking-info__content {
        gap: var(--spacing-md);
    }
    
    .tracking-info__item {
        gap: var(--spacing-sm);
        padding: var(--spacing-sm);
    }
    
    .tracking-info__number {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .tracking-info__text h3 {
        font-size: 1rem;
    }
    
    .tracking-info__text p {
        font-size: 0.9375rem;
    }
    
    .tracking-faq {
        padding: var(--spacing-md) 0;
    }
    
    .tracking-faq__title {
        font-size: 1.25rem;
        margin-bottom: var(--spacing-md);
    }
}