/* Customer portal + shop + auth — modern UX */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.customer-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #ecfdf5 0%, #f1f5f9 28%, #f8fafc 100%);
    font-family: 'Inter', system-ui, sans-serif;
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
}

.customer-body .navbar {
    background: linear-gradient(90deg, #059669 0%, #0d9488 100%) !important;
    box-shadow: 0 4px 20px rgba(5,150,105,.25);
    padding: 0.65rem 0;
}
.customer-body .navbar-brand {
    font-weight: 700;
    letter-spacing: -0.02em;
}
.customer-body .nav-link {
    font-weight: 500;
    border-radius: 8px;
    padding: 0.4rem 0.75rem !important;
    margin: 0 0.15rem;
    transition: background .15s;
}
.customer-body .nav-link:hover,
.customer-body .nav-link.active {
    background: rgba(255,255,255,.18);
}

.customer-body .container {
    max-width: 960px;
}

.customer-body main,
.customer-body > .container {
    flex: 1;
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

.customer-body .card {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(15,23,42,.05);
    transition: box-shadow .2s, transform .2s;
}
.customer-body .card:hover {
    box-shadow: 0 8px 24px rgba(15,23,42,.07);
}
.customer-body .card-header {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 600;
    border-radius: 16px 16px 0 0 !important;
}

.customer-body .btn {
    border-radius: 10px;
    font-weight: 500;
}
.customer-body .btn-success {
    background: #059669;
    border-color: #059669;
    box-shadow: 0 2px 10px rgba(5,150,105,.25);
}
.customer-body .btn-success:hover {
    background: #047857;
    border-color: #047857;
}

.customer-body .accordion-item {
    border-radius: 14px !important;
    border: 1px solid #e2e8f0 !important;
    margin-bottom: 0.75rem !important;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15,23,42,.04);
}
.customer-body .accordion-button {
    font-weight: 500;
    font-size: 0.9rem;
    padding: 1rem 1.1rem;
}
.customer-body .accordion-button:not(.collapsed) {
    background: #f0fdf4 !important;
    color: #065f46;
}
.customer-body .badge {
    font-weight: 600;
    border-radius: 6px;
}

/* Auth */
.auth-page {
    min-height: 100vh;
    background: linear-gradient(145deg, #064e3b 0%, #059669 45%, #0ea5e9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    font-family: 'Inter', system-ui, sans-serif;
}
.auth-card {
    max-width: 440px;
    width: 100%;
    border-radius: 20px;
    border: none;
    box-shadow: 0 25px 50px rgba(0,0,0,.2);
}
.auth-card .card-body {
    padding: 2rem !important;
}
.auth-card .form-control {
    border-radius: 10px;
    padding: 0.65rem 0.9rem;
    border-color: #e2e8f0;
}
.auth-card .form-control:focus {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5,150,105,.2);
}
.auth-card .btn-success {
    border-radius: 10px;
    padding: 0.65rem;
    font-weight: 600;
}

.google-btn {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    color: #334155;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 10px;
    transition: background .15s, box-shadow .15s;
}
.google-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.google-btn img { width: 20px; height: 20px; }

/* Shop */
.shop-hero {
    background: linear-gradient(135deg, #059669 0%, #0ea5e9 100%) !important;
    border-radius: 0 0 28px 28px !important;
    padding: 2.5rem 0 !important;
    box-shadow: 0 12px 40px rgba(5,150,105,.2);
}
.shop-hero h1 {
    letter-spacing: -0.03em;
}
.service-card {
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    height: 100%;
    transition: transform .2s, box-shadow .2s !important;
    overflow: hidden;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15,23,42,.1) !important;
}
.price-tag {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #059669 !important;
}
.cart-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(5,150,105,.4) !important;
    border: none !important;
    padding: 0.75rem 1.25rem !important;
}

/* Quick action tiles on customer dashboard */
.quick-tile {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.25rem;
    height: 100%;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.quick-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(15,23,42,.08);
    border-color: #a7f3d0;
    color: inherit;
}
.quick-tile .qi {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}
.quick-tile h6 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.quick-tile p {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
}

.customer-footer {
    text-align: center;
    padding: 1.25rem;
    color: #94a3b8;
    font-size: 0.8rem;
    border-top: 1px solid #e2e8f0;
    background: rgba(255,255,255,.6);
}
