
    /* Variables CSS Modernes */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark-bg: #0f0f1a;
    --card-bg: #1a1a2e;
    --text-light: #ffffff;
    --text-muted: #a0a0c0;
    --border-radius: 20px;
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-hard: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.modern-hero {
    position: relative;
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 120px 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0.1;
}

.floating-boxes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-boxes .box {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: transform 2s ease-in-out;
}

.floating-boxes .box:nth-child(1) { top: 20%; left: 10%; width: 40px; height: 40px; }
.floating-boxes .box:nth-child(2) { top: 60%; right: 15%; width: 60px; height: 60px; }
.floating-boxes .box:nth-child(3) { bottom: 30%; left: 20%; width: 30px; height: 30px; }
.floating-boxes .box:nth-child(4) { top: 40%; right: 25%; width: 50px; height: 50px; }

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #a0a0c0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* Search Form */
.hero-search-form {
    max-width: 600px;
    margin: 0 auto;
}

.search-container {
    position: relative;
}

.search-input-wrapper {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.1rem;
    padding: 20px 25px;
    outline: none;
}

.hero-search-input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    background: var(--success-gradient);
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-2px);
}

/* Tracking Card */
.tracking-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hard);
    overflow: hidden;
    margin: 2rem 0;
    scroll-margin-top: 100px;
}

.tracking-header {
    background: var(--primary-gradient);
    padding: 2rem;
    color: white;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.tracking-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.tracking-number-display h2 {
    font-size: 2.5rem;
    margin: 0;
    font-weight: 800;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #f5576c;
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 87, 108, 0.7); }
    50% { opacity: 0.6; transform: scale(0.8); box-shadow: 0 0 0 5px rgba(245, 87, 108, 0); }
}

/* ============================================ */
/* TIMELINE - VERSION PROFESSIONNELLE ÉLÉGANTE  */
/* ============================================ */

.simplified-timeline {
    position: relative;
    padding: 20px 0;
}

/* Barre de progression */
.progress-wrapper {
    margin: 0 30px 30px 30px;
    padding: 15px 0;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.progress-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4facfe, #00f2fe);
    border-radius: 10px;
    transition: width 0.8s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: -2px;
    width: 8px;
    height: 10px;
    background: white;
    border-radius: 50%;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(0); opacity: 1; }
    50% { transform: translateX(3px); opacity: 0.6; }
}

/* Étape complétée */
.status-step.completed .step-icon {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.2);
    position: relative;
}

.status-step.completed .step-icon::after {
    content: '✓';
    position: absolute;
    font-size: 0.6rem;
    bottom: -2px;
    right: -2px;
    background: #28a745;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.status-step.completed .step-connector {
    background: linear-gradient(180deg, #28a745, #20c997);
}

/* ========== ÉTAPE EN COURS - PROFESSIONNELLE ========== */
.status-step.current .step-icon {
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    color: white !important;
    border: 2px solid white !important;
    transform: scale(1.08) !important;
    box-shadow: 0 0 25px rgba(102, 126, 234, 0.2), 0 0 50px rgba(102, 126, 234, 0.08) !important;
    animation: softPulse 2.5s ease-in-out infinite !important;
}

@keyframes softPulse {
    0% { transform: scale(1.08); box-shadow: 0 0 25px rgba(102, 126, 234, 0.2); }
    50% { transform: scale(1.1); box-shadow: 0 0 35px rgba(102, 126, 234, 0.3); }
    100% { transform: scale(1.08); box-shadow: 0 0 25px rgba(102, 126, 234, 0.2); }
}

/* Badge EN COURS - professionnel */
.current-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #be8312, #ff0000) !important;
    color: white !important;
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    padding: 3px 12px !important;
    border-radius: 30px !important;
    margin-left: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
    animation: subtlePulse 3s ease-in-out infinite;
}

@keyframes subtlePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.75; }
}

/* Ligne de connexion */
.status-step.current .step-connector {
    background: linear-gradient(180deg, #667eea, #ff0000) !important;
    animation: connectorFade 2.5s ease-in-out infinite !important;
    width: 3px !important;
}

@keyframes connectorFade {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* Barre latérale décorative */
.status-step.current .step-content {
    position: relative;
    padding: 4px 0;
}

.status-step.current .step-content::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 20%;
    bottom: 20%;
    width: 3px;
    background: linear-gradient(180deg, #c78a0f, #e51717);
    border-radius: 3px;
    opacity: 0.5;
    animation: slideVertical 3s ease-in-out infinite;
}

@keyframes slideVertical {
    0% { opacity: 0.3; top: 30%; bottom: 70%; }
    50% { opacity: 0.7; top: 15%; bottom: 15%; }
    100% { opacity: 0.3; top: 30%; bottom: 70%; }
}

/* Étapes futures */
.status-step.future .step-icon {
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.25);
    filter: grayscale(0.8);
    transform: scale(0.95);
}

.status-step.future .step-content h4 {
    color: rgba(255, 255, 255, 0.25);
}

.status-step.future .step-content .step-description {
    color: rgba(255, 255, 255, 0.18);
}

.status-step.future .step-content .step-time {
    color: rgba(255, 255, 255, 0.12);
}

.status-step.future .step-connector {
    background: rgba(255, 255, 255, 0.06);
}

/* ===== ÉTAPE FINALE ===== */
.status-step.completed:last-child .step-icon {
    animation: finalSoft 0.6s ease-out;
}

@keyframes finalSoft {
    0% { transform: scale(1); }
    30% { transform: scale(1.1); }
    70% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

/* Info Grid */
.info-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.info-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-header i {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.section-header h3 {
    margin: 0;
    color: var(--text-light);
    font-weight: 600;
}

.info-item-modern {
    margin-bottom: 1rem;
}

.info-item-modern label {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.info-item-modern p {
    margin: 0;
    color: var(--text-light);
    font-weight: 500;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #4ade80;
}

.payment-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.payment-badge.paid {
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
}

.payment-badge.pending {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    gap: 1rem;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.action-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.action-btn.primary {
    background: var(--primary-gradient);
    color: white;
}

.action-btn.secondary {
    background: var(--secondary-gradient);
    color: white;
}

.action-btn.outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

.action-btn:hover {
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.step-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-right: 1rem;
    transition: all 0.3s ease;
    z-index: 2;
    flex-shrink: 0;
    position: relative;
}

.step-connector {
    position: absolute;
    left: 27px;
    top: 55px;
    bottom: -1.5rem;
    width: 2px;
    z-index: 1;
}

.status-step {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.status-step .step-content {
    flex: 1;
}

.status-step .step-content h4 {
    color: var(--text-light);
    margin: 0 0 0.25rem 0;
}

.status-step .step-content .step-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0 0 0.25rem 0;
}

.status-step .step-content .step-time {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.status-step:last-child .step-connector {
    display: none;
}

/* Alert styles */
.alert {
    padding: 1rem;
    border-radius: 12px;
    margin: 1rem;
}

.alert-info {
    background: rgba(102, 126, 234, 0.1);
    border: none;
    color: #667eea;
}

.alert-success {
    background: rgba(74, 222, 128, 0.1);
    border: none;
    color: #4ade80;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border: none;
    color: #ef4444;
}

/* No Results */
.no-results-modern {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.no-results-icon {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.no-results-modern h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.retry-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary-gradient);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.retry-btn:hover {
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .header-content { flex-direction: column; text-align: center; }
    .quick-actions { justify-content: center; }
    .status-step { flex-direction: column; text-align: center; }
    .step-icon { margin-right: 0; margin-bottom: 1rem; }
    .step-connector { display: none; }
    .progress-wrapper { margin: 0 15px 20px 15px; }
    .status-step.current .step-content::before { display: none; }
    .status-step.current .step-icon {
        animation: softPulse 2.5s ease-in-out infinite !important;
    }
    .current-badge {
        padding: 2px 10px !important;
        font-size: 0.6rem !important;
    }
}

/* ============================================================ */
/* RÉSULTATS RECHERCHE PAR TÉLÉPHONE                            */
/* ============================================================ */

.telephone-results {
    color: var(--text-light);
}

.telephone-results .tracking-card,
.telephone-results .info-section {
    color: var(--text-light);
}

.telephone-results strong,
.telephone-results h2,
.telephone-results h3,
.telephone-results p {
    color: var(--text-light);
}

.telephone-results small,
.telephone-results .text-muted {
    color: var(--text-muted) !important;
}
