:root {
    --primary-color: #00a36c;
    --text-dark: #1a1a1a;
    --text-gray: #757575;
    --bg-light: #f8faf9;
    --white: #ffffff;
    --border-color: #eee;
}

/* --- Hero Section & Form --- */
.hero-banner {
    height: 350px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/images/slider1.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    color: var(--white);
}

.track-form-modern {
    width: 100%;
    max-width: 550px;
    margin-top: 25px;
}

.input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 6px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--white);
    padding: 12px 20px;
    outline: none;
}

.input-group button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.input-group button:hover {
    background: #008f5d;
    transform: scale(1.02);
}

/* --- Progress Section --- */
.progress-section {
    background-color: var(--bg-light);
    padding: 60px 20px;
}

.order-summary-box {
    max-width: 800px;
    margin: 0 auto 50px;
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    justify-content: space-around;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border-bottom: 3px solid var(--primary-color);
}

.summary-item { text-align: center; }
.summary-item p { margin: 0; font-size: 12px; color: var(--text-gray); text-transform: uppercase; }
.summary-item strong { font-size: 16px; color: var(--text-dark); display: block; margin-top: 5px; }

/* --- Modern Timeline --- */
.modern-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.timeline-step {
    display: flex;
    gap: 30px;
    position: relative;
    padding-bottom: 30px;
}

/* Vertical Line */
.timeline-step::after {
    content: '';
    position: absolute;
    left: 21px;
    top: 45px;
    width: 2px;
    height: calc(100% - 40px);
    background: #e0e0e0;
    z-index: 1;
}

.timeline-step.completed::after {
    background: var(--primary-color);
}

.timeline-step:last-child::after { display: none; }

/* Marker Style */
.step-marker {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: 0.4s;
    flex-shrink: 0;
    font-weight: bold;
    color: #ccc;
}

.active .step-marker {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 15px rgba(0, 163, 108, 0.4);
}

.completed .step-marker {
    background: #2c2c2c;
    border-color: #2c2c2c;
    color: var(--primary-color);
}

/* Card Style */
.step-details {
    flex: 1;
    background: var(--white);
    padding: 20px 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: 0.3s;
}

.active .step-details {
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-left: 5px solid var(--primary-color);
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.step-header h3 { font-size: 18px; font-weight: 700; color: var(--text-dark); margin: 0; }
.step-date { font-size: 13px; color: var(--text-gray); }

.step-body p { margin: 0; font-size: 14px; color: var(--text-gray); }
.address-text { color: var(--primary-color) !important; font-weight: 600; margin-top: 8px !important; display: block; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .timeline-step { gap: 15px; }
    .order-summary-box { flex-direction: column; gap: 20px; text-align: center; }
    .hero-banner { height: 300px; }
}/* تغيير لون علامة الصح والخلفية عند الاكتمال */
.completed .step-marker, 
.active .step-marker {
    background: var(--primary-color) !important; /* الأخضر الخاص بك */
    border-color: var(--primary-color) !important;
    color: #ffffff !important; /* لون علامة الصح أبيض ليكون واضحاً */
}

/* إذا أردت أن يكون لون الصح أسود والمدار أخضر (اختياري) */
/*
.completed .step-marker i {
    color: #1a1a1a !important; 
}
*/

/* تحسين شكل شريط البحث (Search Bar) */
.input-group {
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 163, 108, 0.3);
}

.input-group button {
    background-color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}:root {
    --primary-color: #00a36c;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.2);
}

.track-hero {
    position: relative;
    min-height: 100vh;
    background: url('/images/track.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 163, 108, 0.3) 100%);
    z-index: 1;
}

.track-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    width: 100%;
}

/* بطاقة البحث - Search Card */
.search-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 50px 40px;
    text-align: center;
    margin-bottom: 60px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.card-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
}

.card-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* فورم البحث - Search Form */
.input-wrapper {
    display: flex;
    background: var(--white);
    padding: 8px;
    border-radius: 60px;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.input-wrapper i {
    padding: 0 20px;
    color: #999;
    font-size: 1.2rem;
}

.input-wrapper input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 10px 0;
}

.input-wrapper button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.input-wrapper button:hover {
    background: #008a5b;
    transform: scale(1.02);
}

.search-footer {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* شبكة المعلومات - Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: 0.3s;
}

.info-item:hover {
    background: rgba(0, 163, 108, 0.2);
    transform: translateY(-10px);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--white);
}

.info-item h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.info-item p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .card-header h1 { font-size: 2rem; }
    .input-wrapper { flex-direction: column; border-radius: 20px; gap: 10px; padding: 20px; }
    .input-wrapper button { width: 100%; }
}
/* --- Results Hero Section --- */
.track-results-hero {
    position: relative;
    width: 100%;
    height: 400px; /* طول متناسق */
    background: url('/images/slider1.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.results-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7); /* تغميق الخلفية لإبراز النص */
    z-index: 1;
}

.results-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
    text-align: center;
}

.results-hero-text h2 {
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.results-hero-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin-bottom: 30px;
}

/* --- Results Search Box (Fixing the Search problem) --- */
.results-search-form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 40px;
}

.results-search-box {
    display: flex;
    background: rgba(255, 255, 255, 0.15); /* تأثير Glassmorphism */
    backdrop-filter: blur(10px);
    padding: 6px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    align-items: center;
    transition: 0.3s ease;
}

.results-search-box:focus-within {
    background: rgba(255, 255, 255, 0.25);
    border-color: #00a36c;
}

.results-icon {
    padding: 0 15px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
}

.results-search-box input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 15px;
    padding: 12px 10px;
    outline: none;
}

.results-search-box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.results-search-box button {
    background: #00a36c; /* اللون الأخضر الخاص بك */
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 40px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.results-search-box button:hover {
    background: #008f5d;
    transform: translateY(-1px);
}

/* --- Breadcrumb Style --- */
.results-breadcrumb {
    margin-top: 20px;
}

.results-breadcrumb-inner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.results-breadcrumb-inner a {
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s;
}

.results-breadcrumb-inner a:hover {
    color: #00a36c;
}

.results-divider {
    color: rgba(255, 255, 255, 0.4);
}

.results-current {
    color: #00a36c;
    font-weight: 600;
}

/* --- Mobile Fix --- */
@media (max-width: 768px) {
    .track-results-hero { height: 350px; }
    .results-hero-text h2 { font-size: 28px; }
    .results-search-box { flex-direction: column; border-radius: 20px; padding: 15px; gap: 10px; }
    .results-search-box button { width: 100%; }
    .results-icon { display: none; }
}