/* Qorner.id Premium Styles */
*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --primary-color: #1a4d2e; /* Deep Forest Green for Qurban vibe */
    --secondary-color: #4f6f52; /* Sage Green */
    --accent-color: #d4af37; /* Metallic Gold for premium feel */
    --dark-bg: #fdfbf7; /* Slightly warmer off-white */
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(26, 77, 46, 0.08);
    --shadow-lg: 0 15px 30px rgba(26, 77, 46, 0.12);
    --radius-md: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: 'Outfit', 'Inter', sans-serif;
    background-color: #f3f4f6;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    padding-top: 80px; /* Compensate for fixed navbar */
}

/* Navbar */
.q-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 0.8rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.q-navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.q-navbar-nav {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.q-nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.q-nav-link:hover, .q-nav-link.active {
    color: var(--primary-color);
}

.auth-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2c6e43 100%);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(26, 77, 46, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 77, 46, 0.3);
    filter: brightness(1.1);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-color) 0%, #b8860b 100%);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 4px 6px rgba(212, 175, 55, 0.3));
}
.btn-accent:hover {
    transform: translateY(-2px);
    filter: brightness(1.1) drop-shadow(0 6px 12px rgba(212, 175, 55, 0.4));
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.btn-nav-admin {
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
    background-color: #f1f5f9;
    color: #475569;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}
.btn-nav-admin:hover {
    background-color: #e2e8f0;
    color: #1e293b;
}

.nav-logout {
    background: none;
    border: none;
    cursor: pointer;
    color: #ef4444;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e0f2fe 0%, #ffffff 100%);
    padding: 5rem 2rem;
    text-align: center;
    border-radius: 0 0 30px 30px;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #0f172a;
    background: linear-gradient(to right, #0d6efd, #0099ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Product Card */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #eee;
}

.card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.card-text {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: #f0fdf4;
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border: 1px solid rgba(26, 77, 46, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: white;
    padding: 2rem;
    text-align: center;
    color: var(--text-light);
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-top: auto;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-center { text-align: center; }
.text-end { text-align: right; }
.d-flex { display: flex; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.w-100 { width: 100%; }

.mt-1 { margin-top: 0.5rem; } .mb-1 { margin-bottom: 0.5rem; }
.mt-2 { margin-top: 1rem; } .mb-2 { margin-bottom: 1rem; }
.mt-3 { margin-top: 1.5rem; } .mb-3 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 2rem; } .mb-4 { margin-bottom: 2rem; }
.mt-5 { margin-top: 3rem; } .mb-5 { margin-bottom: 3rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    border: 1px solid transparent;
}
.alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
    border-color: #badbcc;
}
.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border-color: #ffeeba;
}
.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

/* Badges */
.badge-pill {
    padding: 0.35em 0.8em;
    font-size: 0.75em;
    font-weight: 700;
    border-radius: 50rem;
    display: inline-block;
}
.bg-warning { background-color: #ffc107; color: #000; }
.bg-success { background-color: #198754; color: #fff; }
.bg-secondary { background-color: #6c757d; color: #fff; }
.bg-primary { background-color: #0d6efd; color: #fff; }

/* Custom Components */
.shadow-box {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 2rem;
    border: 1px solid rgba(0,0,0,0.03);
}

.order-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid rgba(0,0,0,0.03);
}
.order-header {
    background: var(--dark-bg);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.order-body { padding: 1.5rem; }

.item-row {
    display: flex;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
}
.item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

/* Table */
.custom-table {
    width: 100%;
    border-collapse: collapse;
}
.custom-table th, .custom-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}
.custom-table th {
    font-weight: 600;
    color: var(--text-light);
}

/* Forms */
.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.15s ease-in-out;
}
.form-control:focus {
    outline: 0;
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Navbar & Navigation Grouping */
.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    margin-left: 2rem;
}

.admin-nav-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.q-navbar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.q-navbar.active .q-navbar-overlay {
    opacity: 1;
    visibility: visible;
}

/* Mobile Toggle Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    transition: var(--transition);
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

.q-navbar.active .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.q-navbar.active .menu-toggle span:nth-child(2) { opacity: 0; }
.q-navbar.active .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile Responsiveness */
@media screen and (max-width: 992px) {
    .nav-content { margin-left: 1rem; }
}

/* Landing Page Styles */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    color: white;
    padding: 180px 0 100px; /* More top padding for fixed navbar */
    margin-top: -80px; /* Counteract body padding */
    border-radius: 0 0 50px 50px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 77, 64, 0.9), rgba(0, 150, 136, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.section-title p {
    color: #64748b;
    font-size: 1.1rem;
}

/* Feature/Benefit Cards */
.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.03);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: #e0f2f1;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
}

/* Process Flow Premium Redesign */
.process-step {
    position: relative;
    padding: 2rem 1.5rem;
    text-align: center;
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    height: 100%;
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(26, 77, 46, 0.08); /* Colored shadow */
    border-color: rgba(26, 77, 46, 0.1);
}

.process-number {
    font-size: 5rem;
    font-weight: 900;
    /* Gradient Stroke Effect */
    background: linear-gradient(180deg, rgba(26, 77, 46, 0.15) 0%, rgba(26, 77, 46, 0.05) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    
    position: absolute;
    top: -10px;
    right: 10px; /* Positioned corner for style */
    z-index: 1;
    line-height: 1;
    font-family: 'Outfit', sans-serif;
    left: auto; /* Reset left from previous style */
    transform: none; /* Reset transform */
}

/* Alternative centered number style if corner isn't desired, but corner looks more 'tech/pro' */
/* Uncomment below to center */
/*
.process-number {
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    opacity: 0.1;
    color: var(--primary-color);
    background: none;
    -webkit-text-fill-color: initial;
}
*/

.process-content {
    position: relative;
    z-index: 2;
    padding-top: 1rem;
}

.process-content h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    position: relative;
    display: inline-block;
}

.process-content p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
}

/* Connecting lines for desktop (optional but pro) */
.process-container {
    position: relative;
}

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
}

.testimonial-rating {
    color: #fbbf24;
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #64748b;
}

/* FAQ Accordion */
.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
    overflow: hidden;
}

.faq-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #1e293b;
}

.faq-body {
    padding: 0 1.5rem 1.5rem;
    display: none;
    color: #64748b;
    line-height: 1.6;
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
}

.faq-item.active .faq-body {
    display: block;
}

.faq-toggle {
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

/* CTA Section */
.cta-section {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 5rem 0;
    border-radius: 20px;
    margin: 4rem 0;
}

@media screen and (max-width: 768px) {
    .q-navbar {
        justify-content: space-between;
        padding: 0.8rem 1.2rem;
    }

    .menu-toggle { display: flex; }

    .nav-content {
        position: fixed;
        top: 0;
        right: 0;
        width: 75%;
        max-width: 280px;
        height: 100vh;
        background: white;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 5rem 1.5rem 2rem;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }

    .q-navbar.active .nav-content {
        transform: translateX(0);
    }

    .q-navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .auth-links {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 1rem;
    }

    .admin-nav-group {
        flex-direction: column;
        width: 100%;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
        padding: 1.2rem 0;
        margin: 0.5rem 0;
        gap: 0.8rem;
    }

    .btn-nav-admin, .btn-primary, .btn-accent, .nav-logout {
        width: 100% !important;
        justify-content: center;
        text-align: center;
    }

    .hero h1 { font-size: 2.2rem; }
}
/* Pro Timeline Component */
.timeline {
    position: relative;
    padding-left: 2.5rem;
    margin: 2rem 0;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 10px;
    bottom: 10px;
    width: 3px;
    background: linear-gradient(to bottom, #e2e8f0, #cbd5e1);
    border-radius: 10px;
}
.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-dot {
    position: absolute;
    left: -2.5rem;
    top: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #cbd5e1;
    z-index: 10;
    box-shadow: 0 0 0 4px rgba(255,255,255,1);
    transition: var(--transition);
}

/* Status-aware dots */
.timeline-item[data-status="paid"] .timeline-dot { border-color: #10b981; background: #ecfdf5; }
.timeline-item[data-status="pending"] .timeline-dot { border-color: #f59e0b; background: #fffbeb; }
.timeline-item[data-status="completed"] .timeline-dot { border-color: var(--primary-color); background: #f0fdf4; }
.timeline-item[data-status="cancelled"] .timeline-dot { border-color: #ef4444; background: #fef2f2; }
.timeline-item[data-status="ready"] .timeline-dot { border-color: #3b82f6; background: #eff6ff; }

.timeline-content {
    background: #ffffff;
    padding: 1.25rem;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    transition: var(--transition);
}
.timeline-item:first-child .timeline-content {
    background: linear-gradient(to right, #ffffff, #f8fafc);
    border-left: 4px solid var(--secondary-color);
}

.timeline-time {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.4rem;
    display: block;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.timeline-status {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
    display: block;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.timeline-desc {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}
.timeline-evidence {
    margin-top: 1rem;
    border-radius: 12px;
    max-width: 200px;
    display: block;
    border: 4px solid white;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}
.timeline-evidence:hover {
    transform: scale(1.05);
}

/* =============================================
   CHECKOUT & ORDER PAGE COMPONENTS
   ============================================= */

/* Card container with white bg, shadow, rounded corners */
.checkout-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.checkout-card--sticky {
    position: sticky;
    top: 100px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Section header with border-bottom */
.checkout-section-title {
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

/* Flex container with gap and wrap */
.checkout-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.checkout-row--between {
    justify-content: space-between;
    align-items: center;
}

/* Flexible layout containers */
.checkout-layout {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.checkout-main { flex: 2; min-width: 350px; }
.checkout-sidebar { flex: 1; min-width: 300px; }

/* Form field group */
.checkout-field {
    flex: 1;
    min-width: 200px;
}

.checkout-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Grid for qurban names */
.checkout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

/* Cart item block */
.checkout-item {
    margin-bottom: 1.5rem;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
}

.checkout-item__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.checkout-item__title {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Price rows */
.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.price-row--muted {
    color: #666;
}

.price-row--total {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* Radio option styling */
.checkout-radio-option {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    margin-bottom: 1.5rem;
}

.checkout-radio-option input[type="radio"] {
    margin-top: 4px;
    width: 1.2rem;
    height: 1.2rem;
    accent-color: var(--primary-color);
}

/* Enhanced Touch Targets for Mobile Accessibility (WCAG 44x44px minimum) */
.touch-target {
    position: relative;
    display: inline-flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    padding: 0.75rem;
    margin: -0.75rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.touch-target:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.touch-target:active {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Radio and Checkbox wrapper with larger touch area */
.form-check-touch {
    position: relative;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.form-check-touch input[type="radio"],
.form-check-touch input[type="checkbox"] {
    position: relative;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

/* Invisible touch extend area */
.form-check-touch input[type="radio"]::before,
.form-check-touch input[type="checkbox"]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.form-check-touch label {
    padding: 0.5rem 0;
    padding-left: 0.75rem;
    cursor: pointer;
    flex: 1;
}

/* Radio option card style with improved touch target */
.radio-option-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 1rem;
}

.radio-option-card:hover {
    background: #f0fdf4;
    border-color: var(--secondary-color);
}

.radio-option-card:has(input:checked) {
    background: #f0fdf4;
    border-color: var(--primary-color);
}

.radio-option-card input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--primary-color);
    flex-shrink: 0;
}

.radio-option-card__content {
    flex: 1;
}

.radio-option-card__title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.radio-option-card__desc {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.checkout-radio-title {
    font-size: 1.05rem;
    font-weight: 600;
}

/* Helper text */
.text-hint {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.2rem;
}

.text-desc {
    margin: 0.2rem 0 0.5rem;
    font-size: 0.85rem;
    color: #666;
}

/* Order summary badge */
.order-category-badge {
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
    font-size: 0.95rem;
}

/* Page title */
.page-title {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
}

/* Page container with padding */
.page-container {
    padding-top: 3rem;
    padding-bottom: 5rem;
}

/* Full-width button */
.btn-block {
    width: 100%;
}

/* Responsive adjustments for checkout */
@media screen and (max-width: 768px) {
    .checkout-main,
    .checkout-sidebar {
        min-width: 100%;
    }
    
    .checkout-card--sticky {
        position: static;
    }
}

/* =============================================
   TAILWIND-LIKE UTILITY CLASSES
   Centralized from inline styles
   ============================================= */

/* Background Colors */
.bg-white { background-color: white; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-blue-100 { background-color: #dbeafe; }
.bg-green-100 { background-color: #dcfce7; }
.bg-purple-100 { background-color: #f3e8ff; }
.bg-orange-100 { background-color: #ffedd5; }
.bg-red-100 { background-color: #fee2e2; }
.bg-yellow-100 { background-color: #fef9c3; }

/* Text Colors */
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-green-600 { color: #16a34a; }
.text-green-700 { color: #15803d; }
.text-orange-600 { color: #ea580c; }
.text-orange-700 { color: #c2410c; }
.text-blue-600 { color: #2563eb; }
.text-purple-600 { color: #9333ea; }
.text-red-600 { color: #dc2626; }

/* Font Sizes */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }

/* Font Weights */
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* Text Transforms & Alignment */
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Spacing - Padding */
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }

/* Spacing - Margin */
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }

/* Borders */
.border { border-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-gray-100 { border-color: #f3f4f6; }
.border-gray-200 { border-color: #e5e7eb; }

/* Border Radius */
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* Layout */
.w-full { width: 100%; }
.overflow-hidden { overflow: hidden; }

/* Dividers */
.divide-y > * + * { border-top-width: 1px; border-top-style: solid; }
.divide-gray-100 > * + * { border-color: #f3f4f6; }

/* =============================================
   DASHBOARD COMPONENTS
   ============================================= */

/* Dashboard link card */
.dashboard-link-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--secondary-color);
    transition: transform 0.2s, box-shadow 0.2s;
}

.dashboard-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    color: var(--primary-color);
}

.dashboard-link-card .icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-link-card span {
    font-weight: 600;
    font-size: 0.95rem;
}

