/* ==========================================
MyCarMarket
Version: v1.4.1
File: static/css/dealer_packages.css
Dealer Packages Page + Mobile Polish
========================================== */


/* --------------------------------------------------
SECTION 01 : GLOBAL PAGE BASE
START
-------------------------------------------------- */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f3f4f6;
    color: #111827;
}

.wrapper {
    width: 92%;
    max-width: 1250px;
    margin: 40px auto;
}

/* --------------------------------------------------
SECTION 01 : GLOBAL PAGE BASE
END
-------------------------------------------------- */



/* --------------------------------------------------
SECTION 02 : HERO SECTION
START
-------------------------------------------------- */

.hero {
    background: linear-gradient(135deg, #111827, #1f2937);
    color: white;
    padding: 45px 30px;
    border-radius: 24px;
    text-align: center;
    margin-bottom: 35px;
}

.hero h1 {
    margin: 0;
    font-size: 40px;
}

.hero p {
    color: #d1d5db;
    font-size: 18px;
    margin-top: 12px;
    line-height: 1.5;
}

/* --------------------------------------------------
SECTION 02 : HERO SECTION
END
-------------------------------------------------- */



/* --------------------------------------------------
SECTION 03 : BENEFITS SECTION
START
-------------------------------------------------- */

.benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 35px;
}

.benefit-card {
    background: white;
    padding: 22px;
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
    text-align: center;
}

.benefit-card h3 {
    margin-top: 0;
    color: #2563eb;
}

.benefit-card p {
    color: #374151;
    line-height: 1.5;
}

/* --------------------------------------------------
SECTION 03 : BENEFITS SECTION
END
-------------------------------------------------- */



/* --------------------------------------------------
SECTION 04 : PACKAGE GRID
START
-------------------------------------------------- */

.package-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.package-card {
    background: white;
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
    text-align: center;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    min-height: 360px;
    transition: 0.25s;
}

.package-card:hover {
    border-color: #2563eb;
    transform: translateY(-5px);
}

.package-card h2 {
    margin: 0;
    font-size: 24px;
}

/* --------------------------------------------------
SECTION 04 : PACKAGE GRID
END
-------------------------------------------------- */



/* --------------------------------------------------
SECTION 05 : PRICE + FEATURES
START
-------------------------------------------------- */

.price {
    font-size: 34px;
    font-weight: bold;
    color: #2563eb;
    margin: 18px 0;
}

.price span {
    font-size: 14px;
    color: #6b7280;
}

ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
    flex-grow: 1;
}

li {
    margin: 10px 0;
    font-size: 14px;
    line-height: 1.5;
}

/* --------------------------------------------------
SECTION 05 : PRICE + FEATURES
END
-------------------------------------------------- */



/* --------------------------------------------------
SECTION 06 : BUTTONS
START
-------------------------------------------------- */

.btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: auto;
    background: #2563eb;
    color: white;
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: 0.2s;
}

.btn:hover {
    background: #1d4ed8;
}

/* --------------------------------------------------
SECTION 06 : BUTTONS
END
-------------------------------------------------- */



/* --------------------------------------------------
SECTION 07 : POPULAR PACKAGE
START
-------------------------------------------------- */

.popular {
    border-color: #f59e0b;
    position: relative;
}

.popular-label {
    background: #f59e0b;
    color: white;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    display: inline-block;
    margin-bottom: 12px;
    font-weight: bold;
}

/* --------------------------------------------------
SECTION 07 : POPULAR PACKAGE
END
-------------------------------------------------- */



/* --------------------------------------------------
SECTION 08 : NOTE BOX
START
-------------------------------------------------- */

.note {
    margin-top: 35px;
    background: #ecfdf5;
    border-left: 5px solid #16a34a;
    padding: 20px;
    border-radius: 14px;
    color: #065f46;
    line-height: 1.6;
}

/* --------------------------------------------------
SECTION 08 : NOTE BOX
END
-------------------------------------------------- */



/* --------------------------------------------------
SECTION 09 : TABLET RESPONSIVE
START
max-width: 1000px
-------------------------------------------------- */

@media (max-width: 1000px) {
    .package-grid,
    .benefits {
        grid-template-columns: repeat(2, 1fr);
    }

    .package-card {
        min-height: auto;
    }
}

/* --------------------------------------------------
SECTION 09 : TABLET RESPONSIVE
END
-------------------------------------------------- */



/* --------------------------------------------------
SECTION 10 : MOBILE RESPONSIVE
START
max-width: 600px
-------------------------------------------------- */

@media (max-width: 600px) {
    .wrapper {
        width: 94%;
        margin: 22px auto;
    }

    .hero {
        padding: 28px 18px;
        border-radius: 18px;
        margin-bottom: 24px;
    }

    .hero h1 {
        font-size: 28px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 14px;
    }

    .package-grid,
    .benefits {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .benefit-card,
    .package-card {
        padding: 20px;
        border-radius: 18px;
    }

    .package-card h2 {
        font-size: 22px;
    }

    .price {
        font-size: 30px;
        margin: 14px 0;
    }

    li {
        font-size: 13px;
    }

    .btn {
        padding: 12px;
    }

    .note {
        padding: 16px;
        font-size: 14px;
    }
}

/* --------------------------------------------------
SECTION 10 : MOBILE RESPONSIVE
END
-------------------------------------------------- */



/* --------------------------------------------------
SECTION 11 : SMALL MOBILE RESPONSIVE
START
max-width: 420px
-------------------------------------------------- */

@media (max-width: 420px) {
    .hero h1 {
        font-size: 24px;
    }

    .price {
        font-size: 27px;
    }

    .benefit-card,
    .package-card {
        padding: 18px;
    }
}

/* --------------------------------------------------
SECTION 11 : SMALL MOBILE RESPONSIVE
END
-------------------------------------------------- */