﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* :root {
            --primary-color: #4361ee;
            --secondary-color: #3a0ca3;
            --accent-color: #f72585;
            --light-color: #f8f9fa;
            --dark-color: #212529;
            --gray-color: #6c757d;
            --success-color: #4cc9f0;
        }

:root {
    --primary-color: #02a51c;
    --secondary-color: #025d11;
    --accent-color: #ff4500;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-color: #6c757d;
    --success-color: #4cc9f0;
}*/
:root {
    /* SHIPPCOST Design Tokens — palette alignée sur ShippingFiles */
    --bg: #0B1F3A;
    --panel: #0F2849;
    --panel2: #1A3E6E;
    --card: #ffffff;
    --text: #0C1B2E;
    --muted: #4A5168;
    --brand: #0B1F3A;
    --brand2: #1A3E6E;
    --ocean: #1E5F8E;
    --cream: #DED9CA;
    --accent: #F07800;
    --accent2: #FF9520;
    --line: #DDE2E8;
    --shadow: 0 4px 16px rgba(11, 31, 58, .10), 0 1px 4px rgba(11, 31, 58, .06);
    --radius: 16px;

    /* Legacy Compatibility Mappings */
    --primary-color: var(--brand);
    --secondary-color: var(--brand2);
    --accent-color: var(--accent);
    --light-color: #f8f9fa;
    --dark-color: var(--text);
    --gray-color: var(--muted);
    --success-color: #4cc9f0;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: normal;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 0;
    /* Removing fixed padding for SHIPPCOST */
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.logo a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.btn a,
.btn .btn-primary a,
.auth-buttons a {
    color: var(--light-color);
}

.btn a:hover,
.btn .btn-primary a:hover,
.auth-buttons a:hover {
    color: var(--light-color);
    text-decoration: none;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0px;
}

.menu-et-btn-connexion {
    display: flex;
    column-gap: 50px;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/*.auth-buttons {
    display: flex;
    gap: 5px;
}*/

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .8rem 1.1rem;
    border-radius: 14px;
    border: 1px solid transparent;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: .15s transform, .15s filter;
    text-decoration: none;
}

.btn.accent {
    background: var(--accent);
    color: #fff;
}

.btn.accent:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-accent {
    background-color: var(--accent-color);
    color: white;
}

.btn-accent:hover {
    background-color: #f1951dff;
    transform: translateY(-3px);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
    margin-bottom: 80px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.slides {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

.slide {
    width: 33.333%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 0 20px;
    max-width: 800px;
}

.slide-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.slide-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(to right, rgba(67, 97, 238, 0.8), rgba(58, 12, 163, 0.7));*/
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7));
    z-index: 2;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background-color: white;
    transform: scale(1.2);
}

.slider-nav {
    display: flex;
    gap: 15px;
}

.slider-nav-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.slider-nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

/* How it works */
.section {
    padding: 80px 0;
}

/* Alternating section backgrounds */
.section:nth-of-type(even) {
    background-color: #f8f9fa;
}

.section:nth-of-type(odd) {
    background-color: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto 50px;
}

.steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.step {
    flex: 1;
    background-color: white;
    padding: 40px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.step:hover {
    transform: translateY(-10px);
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 20px;
}

.step-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.step-description {
    color: var(--gray-color);
}

/* Pricing Section */
.pricing {
    background-color: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.pricing-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--dark-color);
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.pricing-card {
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.pricing-card.featured {
    /*border-color: var(--accent-color);*/
    border-color: var(--primary-color);
    transform: scale(1.05);
    position: relative;
}

.pricing-card.featured::before {
    content: "POPULAIRE";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.price span {
    font-size: 1rem;
    color: var(--gray-color);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.pricing-features li i {
    color: var(--success-color);
    margin-right: 10px;
}

/* CTA Section with Parallax Effect */
.cta {
    text-align: center;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.parallax-section {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 165, 28, 0.9), rgba(2, 93, 17, 0.85)),
        url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?ixlib=rb-4.0.3&auto=format&fit=crop&w=2015&q=80');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
    transform: translateZ(0);
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.contact-details p {
    color: var(--gray-color);
    margin: 0;
}

.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form .form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark-color);
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(2, 165, 28, 0.1);
}

.contact-form .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #adb5bd;
}

/* Mobile menu */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Modal de connexion */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--gray-color);
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 992px) {
    .slide-title {
        font-size: 2.8rem;
    }

    .steps {
        flex-direction: column;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Disable parallax on tablets and mobile */
    .parallax-bg {
        background-attachment: scroll;
    }
}

@media (max-width: 768px) {
    /* Commenting out legacy nav responsive to avoid conflicts with SHIPPCOST
    .navbar {
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .auth-buttons {
        width: 100%;
        justify-content: center;
    }

    .menu-toggle {
        display: block;
    } */

    .slide-title {
        font-size: 2.2rem;
    }

    .slide-subtitle {
        font-size: 1.1rem;
    }

    .hero-slider {
        height: 500px;
    }

    .section-title {
        font-size: 2rem;
    }

    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 450px;
    }

    .slide-title {
        font-size: 1.8rem;
    }

    .slider-controls {
        bottom: 15px;
    }
}

/* User Profile Dropdown */
.user-profile-container {
    position: relative;
}

.user-profile-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 25px;
    transition: background-color 0.3s;
}

.user-profile-trigger:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.profile-arrow {
    color: var(--light-color);
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.user-profile-trigger:hover .profile-arrow {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, rgba(2, 165, 28, 0.05), rgba(2, 93, 17, 0.05));
    border-radius: 12px 12px 0 0;
}

.user-avatar-large {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.user-info {
    flex: 1;
}

.user-name {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1rem;
    margin-bottom: 5px;
}

.user-credits {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.user-credits i {
    color: #ffd700;
}

.user-dropdown-divider {
    height: 1px;
    background-color: #e9ecef;
    margin: 0;
}

.user-dropdown-menu {
    padding: 10px 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.dropdown-item:hover {
    background-color: rgba(2, 165, 28, 0.05);
    color: var(--primary-color);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--gray-color);
    transition: color 0.2s;
}

.dropdown-item:hover i {
    color: var(--primary-color);
}

.dropdown-item.logout-btn {
    color: #dc3545;
}

.dropdown-item.logout-btn:hover {
    background-color: rgba(220, 53, 69, 0.05);
    color: #dc3545;
}

.dropdown-item.logout-btn i {
    color: #dc3545;
}

.dropdown-item.logout-btn:hover i {
    color: #dc3545;
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays for multiple items */
.scroll-animate:nth-child(1) {
    transition-delay: 0.1s;
}

.scroll-animate:nth-child(2) {
    transition-delay: 0.2s;
}

.scroll-animate:nth-child(3) {
    transition-delay: 0.3s;
}

.scroll-animate:nth-child(4) {
    transition-delay: 0.4s;
}

/* Fade in from left */
.scroll-animate-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Fade in from right */
.scroll-animate-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Scale animation */
.scroll-animate-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate-scale.animate-in {
    opacity: 1;
    transform: scale(1);
}

/* Responsive styles for user profile dropdown */
@media (max-width: 768px) {
    .user-profile-container {
        width: 100%;
        margin-top: 20px;
    }

    .user-dropdown {
        left: 0;
        right: 0;
        min-width: auto;
        width: calc(100% - 40px);
        margin: 0 20px;
    }
}

/* ============================================
   NEW LOGISTICS TRACKING STYLES
   ============================================ */

/* SHIPPCOST Header */
.logisti-header {
    background-color: #1e3a8a;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logisti-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.logisti-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 1.3rem;
}

.logisti-logo a {
    color: white;
    text-decoration: none;
}

.logisti-logo a:hover {
    color: white;
    text-decoration: none;
}

.logisti-logo i {
    font-size: 1.8rem;
    color: #60a5fa;
}

.logisti-logo span {
    font-weight: 400;
}

.logisti-logo strong {
    font-weight: 700;
    color: #60a5fa;
}

.logisti-auth-buttons {
    display: flex;
    gap: 15px;
}

.btn-logisti {
    padding: 8px 20px;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-connect {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.btn-connect:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-register {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.btn-register:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Premium Advertising Banner */
.premium-banner {
    margin-bottom: 0;
}

.premium-banner-top {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    padding: 15px 0;
}

.premium-label {
    text-align: center;
    color: white;
}

.premium-label h2 {
    font-size: 1.5rem;
    margin: 0 0 5px 0;
    font-weight: 700;
    letter-spacing: 1px;
}

.premium-label p {
    margin: 0;
    font-size: 1.1rem;
    color: #fb923c;
    font-weight: 600;
}

.banner-image-section {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.banner-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

/* Express Tracking Overlay on Banner */
.express-tracking-overlay {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 2;
}

.tracking-title-overlay {
    color: white;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.tracking-form-overlay {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto 15px;
}

.tracking-input-overlay {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tracking-btn-overlay {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    white-space: nowrap;
}

.tracking-compatibility-overlay {
    text-align: center;
    color: white;
    font-size: 0.95rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Express Tracking Section */
.express-tracking {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    padding: 60px 0;
    margin-bottom: 40px;
}

.tracking-title {
    color: white;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.tracking-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 700px;
    margin: 0 auto 20px;
}

.tracking-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.tracking-btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    white-space: nowrap;
}

.tracking-compatibility {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

/* Feature Cards Section */
.feature-cards {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-card.card-orange {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
}

.feature-card.card-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.feature-card i {
    font-size: 2.5rem;
}

.card-text h3 {
    font-size: 1.3rem;
    margin: 0;
    font-weight: 700;
}

.card-text p {
    margin: 0;
    font-size: 1rem;
}

/* Main Content Section */
.main-content {
    padding: 60px 0;
    background-color: white;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 30px;
}

/* Section Headers */
.section-header {
    background-color: #1e3a8a;
    color: white;
    padding: 15px 20px;
    margin: 0 0 25px 0;
    border-radius: 8px 8px 0 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.subsection-title {
    color: #1e3a8a;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e5e7eb;
}

/* Calculator Section */
.calculator-section {
    background-color: #f8f9fa;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.calculator-form {
    padding: 25px;
}

.calculator-form .form-group {
    margin-bottom: 20px;
}

.calculator-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

.calculator-form .form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.calculator-form .form-control:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn-block {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
}

.unlock-section {
    margin-top: 30px;
    padding: 20px;
    background-color: #fff7ed;
    border-radius: 8px;
    border: 2px dashed #f97316;
}

.unlock-section h4 {
    color: #ea580c;
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

.unlock-section p {
    color: #6b7280;
    margin: 0 0 15px 0;
    font-size: 0.9rem;
}

.payment-buttons {
    display: flex;
    gap: 10px;
}

.btn-warning {
    background-color: #f97316;
    color: white;
    flex: 1;
}

.btn-warning:hover {
    background-color: #ea580c;
}

.btn-success {
    background-color: #10b981;
    color: white;
    flex: 1;
}

.btn-success:hover {
    background-color: #059669;
}

/* Expedition Section */
.expedition-section {
    background-color: #f8f9fa;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.expedition-content {
    padding: 25px;
}

.expedition-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.expedition-item {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.expedition-code {
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.expedition-status,
.expedition-company {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 5px;
}

.expedition-status i,
.expedition-company i {
    margin-right: 8px;
    color: #3b82f6;
}

/* Directory Section */
.directory-section {
    background-color: #f8f9fa;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.directory-content {
    padding: 25px;
}

.transporter-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.transporter-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.transporter-item i {
    font-size: 1.8rem;
    color: #3b82f6;
    margin-top: 5px;
}

.transporter-info {
    flex: 1;
}

.transporter-info strong {
    display: block;
    color: #1e3a8a;
    margin-bottom: 5px;
    font-size: 1.05rem;
}

.rating {
    margin: 5px 0;
}

.rating i {
    color: #fbbf24;
    font-size: 0.85rem;
}

.transporter-info small {
    color: #6b7280;
    font-size: 0.85rem;
}

/* Partners Section */
.partners-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.partners-title {
    text-align: center;
    color: #1e3a8a;
    font-size: 1.8rem;
    margin-bottom: 40px;
    font-weight: 700;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.partner-card {
    background-color: white;
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.partner-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #f97316;
}

.partner-badge i {
    font-size: 2.5rem;
}

.partner-badge span {
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.3;
}

.partner-main {
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    color: white;
}

.partner-main h2 {
    margin: 0;
    font-size: 1.8rem;
    text-align: center;
}

/* Advertising Section */
.advertising-section {
    padding: 40px 0;
    background-color: white;
}

.ad-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ad-banner h3 {
    font-size: 2rem;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.ad-banner p {
    margin: 0;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive Design for New Sections */
@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .tracking-form {
        flex-direction: column;
    }

    .tracking-btn {
        width: 100%;
    }

    .tracking-form-overlay {
        flex-direction: column;
        padding: 0 20px;
    }

    .tracking-btn-overlay {
        width: 100%;
    }

    .banner-image-section {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .tracking-title {
        font-size: 2rem;
    }

    .payment-buttons {
        flex-direction: column;
    }

    .ad-banner {
        padding: 40px 20px;
    }

    .ad-banner h3 {
        font-size: 1.5rem;
    }

    /* Header responsive */
    .logisti-navbar {
        flex-wrap: wrap;
        gap: 15px;
    }

    .logisti-auth-buttons {
        width: 100%;
        justify-content: center;
    }

    .btn-logisti {
        flex: 1;
        justify-content: center;
    }

    /* Banner responsive */
    .tracking-title-overlay {
        font-size: 2rem;
    }

    .banner-image-section {
        height: 300px;
    }

    .premium-label h2 {
        font-size: 1.2rem;
    }

    .premium-label p {
        font-size: 0.95rem;
    }
}

/* --- SHIPPCOST Template Styles --- */

.grid3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.panel {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.panel__head {
    background: #f8fafc;
    padding: 18px 25px;
    font-weight: 700;
    color: var(--secondary-color);
    border-bottom: 1px solid #edf2f7;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel__sub {
    font-size: 0.8rem;
    color: var(--gray-color);
    font-weight: 400;
}

.panel__body {
    padding: 25px;
    flex-grow: 1;
}

/* Hero Section */
.hero {
    /*background-image: linear-gradient(135deg, rgba(11, 45, 107, 0.75), rgba(10, 61, 145, 0.75)), url('img/banniere.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 80px 0;
    position: relative;
    text-align: left;*/
}

.hero__inner {
    position: relative;
    z-index: 2;
}

.hero__ad {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px dashed rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.hero__adTitle {
    font-size: 0.7rem;
    font-weight: 800;
    opacity: 0.8;
}

.hero__adSub {
    font-size: 1.1rem;
    font-weight: 700;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.hero__search {
    max-width: 600px;
    margin: 0 auto 25px;
    display: flex;
    gap: 10px;
    background: white;
    padding: 8px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero__search input {
    flex-grow: 1;
    border: none;
    padding: 0 25px;
    font-size: 1rem;
    border-radius: 50px;
    outline: none;
}

.btn--track {
    background: var(--accent-color);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn--track:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.hero__compat {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 50px;
}

/* Quick Actions */
.quick {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.quick__card {
    background: white;
    color: var(--dark-color);
    padding: 15px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quick__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.quick__card--orange .quick__icon {
    color: #f6ad55;
}

.quick__card--blue .quick__icon {
    color: #4299e1;
}

.quick__icon {
    font-size: 1.2rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Forms in Panels */
.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.field span {
    font-size: 0.85rem;
    font-weight: 700;
    color: #4a5568;
}

.field select,
.field input {
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.field select:focus,
.field input:focus {
    border-color: var(--primary-color);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

.btn--calc {
    background: var(--secondary-color);
    color: white;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn--unlock {
    background: #edf2f7;
    color: #2d3748;
    font-size: 0.9rem;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
}

.helpText {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-color);
    margin-bottom: 20px;
}

.rowBtns {
    display: flex;
    gap: 10px;
}

.btn--half {
    flex: 1;
    padding: 10px;
}

.btn--pay {
    background: #f6ad55;
    color: white;
}

.btn--green {
    background: #48bb78;
    color: white;
}

/* Tracking List */
.trackList {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.trackItem {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #edf2f7;
}

.trackItem__left {
    font-weight: 700;
    font-size: 0.9rem;
}

.trackItem__btn {
    background: white;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 6px 15px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.trackItem__btn:hover {
    background: var(--primary-color);
    color: white;
}

.panel__placeholder {
    margin-top: 20px;
}

.placeholderCard {
    background: #fffaf0;
    border: 1px dashed #fbd38d;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.placeholderTitle {
    font-weight: 800;
    color: #c05621;
    margin-bottom: 8px;
}

.placeholderText {
    font-size: 0.85rem;
    color: #744210;
    line-height: 1.5;
}

/* Directory */
.directory {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dirItem {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    transition: background 0.2s;
    cursor: pointer;
}

.dirItem:hover {
    background: #f7fafc;
}

.dirIcon {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    background: #edf2f7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dirName {
    font-weight: 700;
    color: var(--dark-color);
}

.dirMeta {
    font-size: 0.8rem;
    color: var(--gray-color);
}

.stars {
    color: #ed8936;
    font-size: 0.8rem;
}

.note {
    background: #ebf8ff;
    border: 1px solid #bee3f8;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #2c5282;
    margin-top: 25px;
}

/* --- Global Logic Styles (Toasts, Modals, Dynamic Forms) --- */

#dynamicFormFields .field {
    margin-bottom: 20px;
}

#dynamicFormFields .field span {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 14px;
}

#dynamicFormFields .field .required {
    color: #dc3545;
    margin-left: 4px;
}

.toast {
    position: fixed;
    top: 100px;
    right: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease-out;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast.success {
    border-left: 4px solid var(--primary-color);
}

.toast.error {
    border-left: 4px solid #dc3545;
}

.toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    background-color: rgba(2, 165, 28, 0.1);
    color: var(--primary-color);
}

.toast.error .toast-icon {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 4px;
    font-size: 14px;
}

.toast-message {
    color: var(--gray-color);
    font-size: 13px;
    line-height: 1.4;
}

.toast-close {
    cursor: pointer;
    color: var(--gray-color);
    font-size: 18px;
    padding: 0 5px;
    transition: color 0.2s;
}

.toast-close:hover {
    color: var(--dark-color);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10001;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

.purchase-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10002;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
}

.purchase-modal.show {
    display: flex;
}

.purchase-modal-content {
    background-color: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

.purchase-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 2px solid #f0f0f0;
    background-color: #f8f9fa;
}

.purchase-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.purchase-modal-header h2 i {
    color: var(--primary-color);
}

.close-purchase-modal {
    cursor: pointer;
    font-size: 28px;
    color: #999;
    transition: color 0.2s;
    line-height: 1;
}

.close-purchase-modal:hover {
    color: #333;
}

.purchase-modal-body {
    padding: 25px;
}

.packs-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.pack-option {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    background-color: #f8f9fa;
}

.pack-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.pack-option.active {
    border-color: var(--primary-color);
    background-color: rgba(2, 165, 28, 0.05);
}

.pack-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.pack-credits {
    font-size: 13px;
    color: #666;
}

.pack-credits i {
    color: #ffd700;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}

.divider span {
    padding: 0 15px;
    color: #999;
    font-size: 13px;
    font-weight: 500;
}

.info-message-purchase {
    background-color: #e7f5ff;
    border-left: 4px solid #339af0;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #1864ab;
}

.info-message-purchase i {
    margin-right: 8px;
}

.order-summary {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.order-summary h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #333;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.summary-row:last-child {
    margin-bottom: 0;
    padding-top: 10px;
    border-top: 2px solid #dee2e6;
    font-weight: 700;
    color: var(--primary-color);
}

.summary-label {
    color: #666;
}

.summary-value {
    font-weight: 600;
    color: #333;
}

.purchase-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 25px;
    border-top: 2px solid #f0f0f0;
    background-color: #f8f9fa;
}

.error-message {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* --- SHIPPCOST New Components --- */

/* Header & Nav adaptation */
.logisti-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(90deg, #061233, #0a2b66 55%, #0b4b92);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
}

.logisti-header .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .65rem 0;
}

.logisti-logo a {
    display: flex;
    align-items: center;
    gap: .7rem;
    color: #fff;
    font-weight: 900;
    letter-spacing: .3px;
    text-decoration: none;
}

.logisti-logo .logo-box {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff, #cfe0ff);
    display: grid;
    place-items: center;
    color: #0b2d6b;
    font-weight: 900;
    box-shadow: 0 10px 18px rgba(0, 0, 0, .18);
}

/* Header Topbar */
.header-topbar {
    background: rgba(2, 6, 23, 0.4);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.82rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2000;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-link {
    color: rgba(234, 242, 255, 0.85);
    margin-left: 18px;
    font-weight: 600;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.topbar-link:hover {
    color: #fff;
    transform: translateY(-1px);
}

.user-credits-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    padding: 3px 10px;
    border-radius: 20px;
    margin-right: 15px;
    font-weight: 700;
    color: #fff;
}

/* Nav links */
.nav-container {
    margin-left: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.8rem;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: rgba(234, 242, 255, 0.9);
    font-weight: 700;
    font-size: 0.90rem;
    padding: 0.5rem 0;
    position: relative;
    text-decoration: none;
    transition: color 0.25s;
}

.nav-links li a.active,
.nav-links li a:hover {
    color: #fff;
}

.nav-links li a.active::after,
.nav-links li a:hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.menu-toggle {
    display: none;
}

/* Utility & Global */
main {
    display: block;
    overflow: hidden;
    min-height: 100vh;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: .3rem .7rem;
    border-radius: 99px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .14);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .2px;
    color: rgba(234, 242, 255, .9);
}

/* Hero Section */
.hero {
    display: block;
    background-image: linear-gradient(180deg, rgba(2, 6, 23, .80), rgba(2, 6, 23, .65) 40%, rgba(244, 247, 255, 1) 100%), url('img/banniere.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 48px 0 32px;
    color: #fff;
    min-height: 200px;
}

.hero .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.hero h1 {
    margin: 6px 0 8px;
    color: #fff;
    font-size: clamp(1.6rem, 3.2vw, 2.6rem);
    letter-spacing: .4px;
}

.hero p {
    margin: 0;
    color: rgba(234, 242, 255, .9);
    max-width: 70ch;
}

.kicker {
    color: rgba(255, 255, 255, .8);
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .78rem;
}

.search-bar {
    margin-top: 16px;
    display: flex;
    gap: .8rem;
    align-items: stretch;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 18px;
    padding: .8rem;
    backdrop-filter: blur(10px);
}

.search-bar input {
    flex: 1;
    min-width: 220px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .18);
    padding: .9rem 1rem;
    font-size: 1rem;
    outline: none;
}

.search-bar input:focus {
    border-color: rgba(255, 255, 255, .45);
}

.search-meta {
    margin-top: 8px;
    color: rgba(234, 242, 255, .85);
    font-weight: 600;
    font-size: .92rem;
}

.section {
    padding: 28px 0;
}

/* Grid & Cards */
.grid {
    display: grid;
    gap: 16px;
}

.grid.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    background: #fff;
    border: 1px solid #e6eeff;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(2, 6, 23, .05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card .head {
    padding: 14px 16px;
    background: linear-gradient(90deg, #0a2b66, #0b4b92);
    color: #fff;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.card .head .badge {
    background: rgba(255, 255, 255, .15);
    border-color: rgba(255, 255, 255, .20);
    color: #fff;
}

.card .body {
    padding: 16px;
}

.card .body .muted {
    color: var(--muted);
    font-size: 0.92rem;
}

.card.icon {
    border-top: 4px solid var(--accent);
}

.iconbox {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(240, 138, 28, .16);
    display: grid;
    place-items: center;
    color: var(--accent);
    font-weight: 900;
    border: 1px solid rgba(240, 138, 28, .30);
}

.card .actions {
    display: flex;
    gap: .7rem;
    flex-wrap: wrap;
    margin-top: 14px;
}

/* Utility */
hr.sep {
    border: none;
    border-top: 1px solid #e8efff;
    margin: 16px 0;
}

.notice {
    background: linear-gradient(90deg, rgba(240, 138, 28, .14), rgba(11, 75, 146, .12));
    border: 1px solid rgba(240, 138, 28, .25);
    border-radius: 18px;
    padding: 14px 16px;
}

.notice b {
    color: #0a2b66;
}

@media (max-width: 980px) {
    .grid.cols-3 {
        grid-template-columns: 1fr;
    }

    .hero .topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        color: #fff;
        cursor: pointer;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #061233;
        padding: 20px;
        gap: 10px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1000;
    }

    .logisti-header .nav-links.active {
        display: flex !important;
    }

    .nav-links li a {
        padding: 12px 15px;
        width: 100%;
        display: block;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
    }

    .nav-container {
        position: relative;
    }

    .header-topbar .topbar-inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .topbar-left,
    .topbar-right {
        justify-content: center;
        width: 100%;
    }

    .topbar-link {
        margin: 0 10px;
    }
}