
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;600&family=Inter:wght@400;500;600&display=swap');

*,*::before,*::after{box-sizing:border-box;}
html,body{width:100%;max-width:100%;overflow-x:hidden;}
img,video{max-width:100%;height:auto;display:block;}
:root{--container:1120px;--pad:16px;}
.container{width:100%;max-width:var(--container);margin:0 auto;padding-left:var(--pad);padding-right:var(--pad);}
@media (min-width:768px){:root{--pad:24px;}}
@media (min-width:1200px){:root{--pad:28px;}}

/* CSS variables for easy color theming - MVP Design */
:root {
    --primary-color: #1f2937;  /* dark blue-gray */
    --secondary-color: #eab308; /* golden accent */
    --light-color: #ffffff;
    --text-color: #374151;
    --muted-color: #6b7280;
    /* Elegant whitish button theme */
    --button-bg: #f8fafc; /* subtle off-white */
    --button-text: var(--primary-color);
    --button-border: #e5e7eb;
    --button-hover-bg: #ffffff;
    --button-hover-border: #d1d5db;
    --brand-accent-start: #ffffff;
    --brand-accent-end: #dbeafe;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-color);
    background-color: var(--light-color);
    line-height: 1.7;
    font-size: 16px; /* Base font size increased */
}

header {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header .logo {
    font-size: 1.8rem; /* Increased from 1.5rem */
    font-weight: bold;
}
nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}
nav ul li {
    margin-left: 1.5rem;
}
nav ul li a {
    color: var(--light-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem; /* Added larger font size for navigation */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: 0.02em;
}
nav ul li a:hover {
    text-decoration: underline;
}

/* ===== LUXURY NAVBAR ===== */
.lux-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(
        180deg,
        rgba(25, 35, 50, 0.96),
        rgba(18, 28, 45, 0.92)
    );
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.lux-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    height: 55px;
    padding: 0 40px;
    display: flex;
    align-items: center;
}

/* Logo */
.lux-logo {
    display: flex;
    align-items: center;
    align-self: center;
    margin-top: 3px;
}

.lux-logo img {
    height: 38px;
    width: auto;
    display: block;
    max-height: 40px;
    object-fit: contain;
}

.lux-logo {
    display: flex;
    align-items: center;
}

/* Menu */
.lux-menu {
    display: flex;
    gap: 36px;
    margin-left: 96px;
    align-items: center;
    padding-bottom: 0;
}

.lux-menu a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    line-height: 1;
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 6px 0;
    transition: color 0.25s ease;
}

.lux-menu a:hover {
    color: #ffffff;
}

/* Underline hover animation */
.lux-menu a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: rgba(255,255,255,0.9);
    transition: width 0.25s ease, left 0.25s ease;
}

.lux-menu a:hover::after {
    width: 100%;
    left: 0;
}

.lux-menu a:last-child {
    margin-right: 20px;
}

.lux-menu a svg,
.lux-menu a img,
.lux-verify svg,
.lux-verify img {
    width: 14px;
    height: 14px;
    display: block;
}

/* Right actions */
.lux-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 6px;
}

.lux-verify {
    transform: translateY(1px);
}

/* Language */
.lang-btn {
    font-family: inherit;
    font-size: 12.5px;
    letter-spacing: 0.06em;
    padding: 6px 14px;
    border-radius: 20px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.85);
    cursor: pointer;
    transition: all 0.25s ease;
}

.lang-btn:hover {
    border-color: rgba(255,255,255,0.6);
    color: #ffffff;
}

/* Account icon */
.account-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.account-icon::before {
    content: "👤";
    font-size: 15px;
    opacity: 0.85;
}

.account-icon:hover {
    border-color: rgba(255,255,255,0.6);
}

.lux-verify {
    position: relative;
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 999px;
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.lux-verify:hover {
    color: #ffffff;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.25);
}

.lux-verify-tooltip {
    position: absolute;
    left: 50%;
    bottom: -34px;
    transform: translateX(-50%);
    background: rgba(15,23,42,0.95);
    color: #e2e8f0;
    font-size: 12px;
    letter-spacing: 0.02em;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.12);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.lux-verify:hover .lux-verify-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(2px);
}

/* ===== NAV RESET (CRITICAL) ===== */
header nav,
header ul,
header li {
    all: unset;
}

/* ===== SERVICE EXPERIENCE PAGE ===== */
.service-page h1,
.service-page h2,
.service-page h3 {
    font-family: "Playfair Display", "Libre Baskerville", Georgia, serif;
    letter-spacing: 0.02em;
    color: #0f172a;
}

.service-page h1 {
    font-size: 42px;
    margin-bottom: 12px;
}

.service-page h2 {
    font-size: 30px;
    margin-bottom: 8px;
}

.service-page h3 {
    font-size: 20px;
    margin-bottom: 6px;
}

.service-page p,
.service-page li,
.service-page label,
.service-page input,
.service-page textarea,
.service-page select {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    color: #334155;
    line-height: 1.65;
}

/* ===== SERVICE OVERVIEW SECTION ===== */
.service-overview {
    background: #ffffff;
    padding: 72px 0;
}

.service-overview ul {
    list-style: none;
    padding-left: 0;
}

.service-overview li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
}

.service-overview li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #64748b;
}

/* ===== TRUST BADGES ===== */
.service-trust-badges {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 28px;
}

.service-trust-badges span {
    padding: 8px 16px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 13px;
    color: #334155;
}

/* ===== BOOKING FORM ===== */
.service-form {
    background: #ffffff;
    border-radius: 14px;
    padding: 40px;
    max-width: 760px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(15,23,42,0.06);
}

.service-form section {
    margin-bottom: 28px;
}

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

.service-form input,
.service-form select,
.service-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #fafafa;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.service-form input:focus,
.service-form select:focus,
.service-form textarea:focus {
    outline: none;
    border-color: #475569;
    background: #ffffff;
}

/* ===== TRUST PANEL NEAR CTA ===== */
.service-trust-panel {
    background: #f1f5f9;
    border-radius: 10px;
    padding: 18px;
    margin: 28px 0;
    font-size: 14px;
}

.service-trust-panel li {
    margin-bottom: 6px;
}

/* ===== SUBMIT BUTTON ===== */
.service-submit {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

.service-submit button {
    padding: 12px 26px;
    border-radius: 999px;
    background: #0f172a;
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    transition: background 0.25s ease;
}

.service-submit button:hover {
    background: #020617;
}
.service-microcopy {
    margin-top: 10px;
    font-size: 13.5px;
    line-height: 1.6;
    color: #64748b;
    font-style: italic;
    max-width: 520px;
}

@media (max-width: 768px) {
    .service-microcopy {
        margin-top: 14px;
        font-size: 14.5px;
    }
}
.service-experience {
    --service-navy: #0b1220;
    --service-muted: #94a3b8;
    --service-accent: #9fb3d1;
}

.service-hero {
    background: linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
    color: #f8fafc;
    padding: 5.5rem 24px 5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.service-hero-inner {
    max-width: 960px;
    margin: 0 auto;
    margin-bottom: 1rem;
}

.service-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: rgba(248,250,252,0.7);
    margin: 0 0 0.6rem;
}

.service-hero h1 {
    font-family: "Playfair Display", "Libre Baskerville", Georgia, serif;
    font-size: 2.8rem;
    font-weight: 600;
    margin: 0 0 1rem;
    color: #f8fafc;
    letter-spacing: 0.4px;
}

.service-subtext {
    color: #ccd4e1;
    font-size: 1.1rem;
    margin: 0 auto 1.8rem;
    line-height: 1.8;
    max-width: 640px;
}

.service-hero-micro {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(248,250,252,0.75);
}

.service-trust {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 1.8rem;
}

.service-trust span {
    border: 1px solid rgba(255,255,255,0.18);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    color: rgba(248,250,252,0.85);
}

.service-cta {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.service-btn {
    padding: 0.65rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.service-btn-primary {
    background: #f8fafc;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

.service-btn-secondary {
    background: transparent;
    color: #e2e8f0;
    border: 1px solid rgba(255,255,255,0.25);
}

.service-section {
    padding: 4rem 24px;
}

/* ===== AUCTION SHEET PAGE STYLING ===== */
.auction-page {
    background: #f8fafc;
    min-height: 100vh;
    color: #0f172a;
}

.auction-hero {
    background: linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
    color: #f8fafc;
    padding: 4.5rem 24px 3.5rem;
    text-align: center;
}

.auction-hero h1 {
    font-size: 2.3rem;
    font-family: "Playfair Display", "Libre Baskerville", Georgia, serif;
    margin-bottom: 0.8rem;
    letter-spacing: 0.2px;
}

.auction-hero span,
.auction-hero p {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto;
}

.hero-eyebrow {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 12px;
    display: block;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    max-width: 560px;
    margin: 16px auto 24px;
}

.hero-trust-points {
    list-style: none;
    display: flex;
    gap: 24px;
    justify-content: center;
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
}

.hero-trust-points li::before {
    content: "✓";
    margin-right: 8px;
    color: #9fd3ff;
}

.auction-hero {
    text-align: center;
}

.auction-shell {
    padding: 0 24px 5rem;
}

.auction-card {
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 30px;
    padding: 32px;
    box-shadow: 0 35px 70px rgba(15,23,42,0.08);
    border: 1px solid #e5e7eb;
}

.auction-form label {
    font-weight: 600;
    color: #0f172a;
    display: block;
    margin-bottom: 8px;
}

.auction-form input {
    width: 100%;
    border: 1px solid #cbd5f5;
    border-radius: 20px;
    padding: 14px 18px;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #f8fafc;
}

.verify-input-row {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.input-hint {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #6b7280;
}

.verify-input-row input {
    flex: 1;
}

.verify-input-row button {
    border-radius: 20px;
    border: none;
    padding: 12px 26px;
    background: #0f172a;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.input-microcopy {
    margin-top: 8px;
    font-size: 13px;
    color: #6b7280;
}

.soft-disclaimer {
    margin-top: 16px;
    font-size: 13px;
    color: #6b7280;
    text-align: center;
}

.auction-form button {
    border:none;
    border-radius:20px;
    background:#0f172a;
    color:#fff;
    font-weight:600;
    padding:12px 28px;
    box-shadow:0 10px 25px rgba(15,23,42,0.35);
    cursor:pointer;
}

.auction-row {
    display:flex;
    flex-wrap:wrap;
    gap:32px;
    margin-bottom:32px;
}

.auction-details {
    flex:1;
    min-width:260px;
}

.auction-details h2 {
    margin:0 0 12px;
    font-size:1.8rem;
    color:#0f172a;
}

.auction-preview {
    width:260px;
    background:#f8fafc;
    border-radius:20px;
    border:1px solid #e2e8f0;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
}

.auction-price {
    background:#0f172a;
    color:#fff;
    border-radius:24px;
    padding:24px;
    margin-bottom:16px;
}

.auction-price strong {
    font-size:2rem;
    display:block;
}

.auction-purchase {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:16px;
    margin-top:20px;
}

.auction-purchase label span {
    display:block;
    font-size:.85rem;
    font-weight:600;
    margin-bottom:4px;
    color:rgba(255,255,255,.8);
}

.auction-purchase input {
    border-radius:16px;
    border:1px solid rgba(255,255,255,.35);
    padding:10px 14px;
    background:rgba(255,255,255,.15);
    color:#fff;
    width:100%;
}

.auction-purchase button {
    width:100%;
    background:#fff;
    color:#0f172a;
    border:none;
    border-radius:16px;
    padding:12px 20px;
    font-weight:600;
    box-shadow:0 10px 25px rgba(255,255,255,.2);
    cursor:pointer;
}

.auction-price-row {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
    gap:16px;
}

.auction-price-note {
    flex:1;
    color:rgba(255,255,255,0.75);
    margin:0;
}

.auction-purchase-actions {
    display:flex;
    align-items:flex-end;
}

.verify-info {
    background: #f3f6f8;
    padding: 1.5rem 0;
}
.verify-info-panel {
    max-width: 820px;
    margin: 0 auto;
    padding: 16px 20px;
    background: #fff4cc;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #0f172a;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    border: 1px solid rgba(15,23,42,0.08);
}
.verify-info-panel span {
    font-size: 1.6rem;
    line-height: 1;
}
}
.auction-empty-title {
    margin:0 0 12px;
    font-weight:600;
}
.auction-meta {
    background:#fdf9f2;
    border:1px solid #f5e5ce;
    border-radius:20px;
    padding:16px 20px;
    margin-bottom:16px;
    font-family:'Oswald','Segoe UI',sans-serif;
    color:#3f2f1c;
}

.auction-meta .meta-item {
    display:flex;
    flex-wrap:wrap;
    font-size:1rem;
    letter-spacing:.05em;
    margin-bottom:6px;
}

.auction-meta .meta-item span.label {
    width:120px;
    font-weight:600;
    color:#a35c13;
    text-transform:lowercase;
}

.auction-meta .meta-item span.value {
    flex:1;
    font-weight:500;
    color:#1f2937;
    text-transform:uppercase;
}

.auction-meta .meta-item:last-child {
    margin-bottom:0;
}

.auction-results table.RR {
    width:100%;
    border-collapse:collapse;
    font-size:.95rem;
}

.auction-results table.RR td,
.auction-results table.RR th {
    border:1px solid #cbd5f5;
    padding:6px 10px;
    text-align:left;
}

.auction-results table.RR th {
    background:#e2e8f0;
    font-weight:600;
}

.auction-collection {
    margin-top:32px;
}

.auction-collection header {
    margin-bottom:24px;
}

.auction-collection header h3 {
    margin:0;
    font-size:1.1rem;
}

.auction-empty,
.auction-error {
    border-radius:20px;
    padding:16px 20px;
    margin-bottom:24px;
}

.auction-empty {
    background:#ecfdf5;
    border:1px solid #6ee7b7;
    color:#065f46;
}

.auction-error {
    background:#fef2f2;
    border:1px solid #fecaca;
    color:#b91c1c;
}

.auction-empty p,
.auction-error p {
    margin: 0;
}

.auction-error-title {
    font-weight: 600;
    margin-bottom: 8px;
}

.auction-details-card {
    border:1px solid #e2e8f0;
    border-radius:28px;
    padding:24px;
    margin-top:32px;
    background:#ffffff;
    box-shadow:0 12px 30px rgba(15,23,42,0.08);
}

.auction-details-note {
    color:#475569;
    line-height:1.6;
}

@media (max-width:768px) {
    .auction-hero {
        padding: 3.5rem 16px 3rem;
    }

    .auction-card {
        padding: 24px;
    }
}

.service-trust-layer {
    background: #f1f5f9;
    padding: 3.2rem 24px;
}

.service-trust-layer h2 {
    text-align: center;
    margin: 0 0 1.6rem;
    font-size: 1.7rem;
    color: #0f172a;
    font-family: "Playfair Display", "Libre Baskerville", Georgia, serif;
}

.service-trust-subtext {
    text-align: center;
    color: #64748b;
    margin: 0 0 1.2rem;
}

.service-trust-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.service-trust-row {
    justify-content: center;
    flex-wrap: wrap;
}

.service-trust-badges span {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.85rem;
    color: #334155;
    letter-spacing: 0.02em;
}

.service-section-muted {
    background: #f8fafc;
}

.service-section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.service-overview-heading {
    text-align: center;
    margin-bottom: 2.2rem;
}

.service-overview-heading h2 {
    margin: 0 0 0.6rem;
    font-size: 1.8rem;
    color: #0f172a;
    font-family: "Playfair Display", "Times New Roman", serif;
}

.service-overview-heading p {
    margin: 0;
    color: #64748b;
}

.service-overview a {
    color: #0f172a;
    text-decoration: underline;
}

.service-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem 2rem;
}

.service-block {
    display: block;
    padding: 0.6rem 0 0.6rem 1rem;
    border-left: 1px solid #e2e8f0;
    background: transparent;
}

.service-block-content h3 {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
    color: #0f172a;
    font-family: "Playfair Display", "Times New Roman", serif;
}

.service-block-content ul {
    margin: 0;
    padding-left: 1.1rem;
    color: #475569;
    line-height: 1.6;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.6rem;
    box-shadow: none;
}

.service-card h2 {
    margin: 0 0 0.6rem;
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: "Playfair Display", "Times New Roman", serif;
}

.service-card p {
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

.service-card-form {
    max-width: 980px;
    margin: 0 auto;
}

.service-title {
    margin: 0 0 1rem;
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f172a;
    font-family: "Playfair Display", "Times New Roman", serif;
}

.service-intro {
    margin: -0.2rem 0 1.6rem;
    color: #475569;
}

.service-form-sections {
    display: grid;
    gap: 1.4rem;
}

.service-form-panel {
    background: #f8fafc;
    padding: 1rem 1.25rem;
    border-radius: 16px;
}

.service-form-panel h3 {
    margin: 0 0 0.8rem;
    font-size: 1rem;
    color: #0f172a;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.panel-micro {
    margin: 0 0 0.8rem;
    font-size: 0.9rem;
    color: #64748b;
    letter-spacing: 0.04em;
}

.service-reassurance-block {
    margin: 1.4rem 0 1rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: #f1f5f9;
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.6;
}

.service-work-in-progress {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #e0e7ff;
    padding: 12px 16px;
    border-radius: 12px;
    color: #1e1f2a;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
    border: 1px solid #c7d2fe;
}
.service-work-in-progress span {
    font-size: 1.25rem;
    margin-top: 2px;
}
.service-work-in-progress p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #1f2937;
}

.service-card-form {
    position: relative;
}

.service-card-form form {
    filter: blur(1.5px);
    opacity: 0.9;
    pointer-events: none;
}

.service-card-form::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 1px solid rgba(15,23,42,0.07);
    pointer-events: none;
}

.service-reassurance-block p {
    margin: 0;
}

.service-work-in-progress {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #e0e7ff;
    padding: 12px 16px;
    border-radius: 12px;
    color: #1e1f2a;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
    border: 1px solid #c7d2fe;
}
.service-work-in-progress span {
    font-size: 1.25rem;
    margin-top: 2px;
}

.service-confirmation-note {
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(15, 23, 42, 0.72);
    max-width: 520px;
    margin-left: 20px;
}

@media (max-width: 768px) {
    .service-confirmation-note {
        margin-left: 0;
        margin-top: 14px;
        font-size: 14.5px;
    }
}

.service-form { display:block; }
.form-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.form-group { display:flex; flex-direction:column; gap:.35rem; }
.form-group label {
    font-weight:500;
    color:#1f2937;
    line-height:1.6;
}
.form-group.full-row { grid-column: 1 / -1; }
.input { width:100%; height:44px; padding:0 .75rem; border:1px solid #e5e7eb; border-radius:10px; background:#f8fafc; font-size:.95rem; color:#0f172a; outline:none; transition: box-shadow .15s ease, border-color .15s ease; }
.input:focus { border-color:#93c5fd; box-shadow: 0 0 0 3px rgba(59,130,246,.2); background:#fff; }
.textarea { min-height: 90px; padding-top: .75rem; }
.input::placeholder,
.textarea::placeholder { color:#94a3b8; }
.actions { display:flex; justify-content:flex-end; margin-top:1rem; }
.service-note { margin-top: .9rem; text-align:center; color:#64748b; }
.service-trust-note { margin-top: 1rem; text-align:center; color:#475569; }
.service-gentle-close { margin-top: 1.2rem; text-align:center; color:#475569; }
.service-footer-disclaimer {
    margin-top: 1.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(15,23,42,0.12);
    border-radius: 12px;
    background: #ffffff;
}

.service-footer-disclaimer p {
    margin: 0.3rem 0;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    color: #0f172a;
}
.service-reassurance { padding-top: 0; }
.alert-success { background:#dcfce7; border:1px solid #86efac; color:#166534; padding:.75rem 1rem; border-radius:10px; margin-bottom:1rem; }
.alert-error { background:#fee2e2; border:1px solid #fecaca; color:#991b1b; padding:.75rem 1rem; border-radius:10px; margin-bottom:1rem; }
.alert-error ul { margin:0; padding-left:1.25rem; }

@media (max-width: 900px) {
    .service-grid { grid-template-columns: 1fr; }
    .service-overview-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .form-grid { grid-template-columns: 1fr; }
    .actions { justify-content:center; }
}

.hero {
    position: relative;
    background: linear-gradient(to right, #0a1f44, #07265b);
    min-height: 50vh;
    color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/banner_image.jpg'), image-set(url('../images/hero-bg.webp') type('image/webp'), url('../images/hero-bg.png') type('image/png'));
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: 0;
}
.hero-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(6, 12, 24, 0.28) 0%,
        rgba(6, 12, 24, 0.42) 45%,
        rgba(6, 12, 24, 0.58) 100%
    );
    z-index: 1;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.45) 0%, rgba(2, 6, 23, 0.85) 100%);
    z-index: 0;
}

/* Inventory hero */
.inventory-hero {
    height: 28vh;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: saturate(0.85);
}
.inventory-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.45) 0%, rgba(2, 6, 23, 0.8) 100%);
}
.inventory-hero .inventory-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: #ffffff;
}
.inventory-hero-title {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-size: 2.6rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.1;
    margin: 0 0 0.75rem;
}
.inventory-hero-subtitle {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #e2e8f0;
    max-width: 56ch;
    margin: 0 auto 0.75rem;
    line-height: 1.7;
}
.inventory-hero-subtitle {
    opacity: 1;
}
@media (prefers-reduced-motion: no-preference) {
    .inventory-hero-subtitle {
        animation: inventorySubtitleFade 1.4s ease forwards;
        opacity: 0;
    }
}
@keyframes inventorySubtitleFade {
    to { opacity: 1; }
}
.inventory-hero-trust {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #cbd5f5;
}
.hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 110px;
    padding-bottom: 100px;
    text-align: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 88px;
    padding-bottom: 40px;
    max-width: 720px;
    margin: 0 auto;
    font-family: "Inter", system-ui, -apple-system, sans-serif;
}
.hero-kicker {
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    text-rendering: optimizeLegibility;
}

.hero-title {
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: 52px;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.12;
    color: rgba(255,255,255,0.96);
    margin-bottom: 16px;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.hero-brand {
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: clamp(40px, 4vw, 54px);
    font-weight: 700;
    letter-spacing: -0.005em;
    line-height: 1.1;
    color: rgba(255,255,255,0.98);
    margin-bottom: 16px;
    font-variant-ligatures: common-ligatures;
    opacity: 0;
    transform: translateY(14px);
    animation: brandReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-subtitle {
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    font-size: 13.5px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1.6;
    color: rgba(255,255,255,0.55);
    max-width: none;
    margin: 18px auto 34px;
    text-align: center;
    opacity: 0;
    transform: translateY(4px);
    animation: subtitleUp 0.7s ease-out forwards;
    animation-delay: 1.1s;
}
.hero-subtext {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.78;
    margin-top: 16px;
}
.hero-cta,
.hero .cta-button {
    background-color: var(--button-bg);
    color: var(--button-text);
    padding: 1rem 2rem; /* Increased padding */
    text-decoration: none;
    border-radius: 6px; /* Slightly larger border radius */
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    border: 1px solid var(--button-border);
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 26px;
}

.hero-microcopy {
    display: block;
    margin-top: 12px;
    font-size: 12.5px;
    font-family: "Inter", system-ui, sans-serif;
    color: rgba(255,255,255,0.6);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
        line-height: 1.18;
    }

    .hero-subtitle {
        font-size: 12.5px;
        letter-spacing: 0.12em;
        margin-bottom: 28px;
        animation: none;
        transform: none;
        opacity: 0.85;
    }

    .hero-kicker {
        font-size: 11px;
        letter-spacing: 0.3em;
    }

    .hero-text {
        padding-top: 48px;
        padding-bottom: 24px;
    }

    .hero-brand {
        font-size: 34px;
        animation: none;
        opacity: 1;
        transform: none;
    }
}
.hero .cta-button:hover {
    background-color: var(--button-hover-bg);
    border-color: var(--button-hover-border);
}

@media (prefers-reduced-motion: reduce) {
    .hero-brand {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

@keyframes brandReveal {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes subtitleUp {
    to {
        opacity: 0.85;
        transform: translateY(0);
    }
}

.section {
    padding: 2.6rem 2rem 3.5rem;
}
.section h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.15rem;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.01em;
    font-family: 'Playfair Display', 'Times New Roman', serif;
}
.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1rem;
}
.section-subtitle {
    margin: 0;
    font-size: 0.95rem;
    color: #6b7280;
    font-weight: 500;
    max-width: 60ch;
    text-align: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.65;
}
.filters-heading {
    max-width: 62ch;
    margin: 0 auto;
}
.filters-heading .section-title,
.filters-heading .section-subtitle {
    text-align: center;
}
.section-divider {
    width: 56px;
    height: 1px;
    background: #e5e7eb;
    margin-top: 0.4rem;
}
.inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: auto;
}

.ready-stock .inventory-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.ready-stock .inventory-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* ================================
   INVENTORY SEARCH & FILTER BAR
   Stable, Premium, Non-Breaking
   ================================ */

.inventory-filters {
  display: grid;
  grid-template-columns:
    160px
    180px
    160px
    200px
    220px
    140px
    140px;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #eef0f3;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.inventory-filters input,
.inventory-filters select {
  height: 46px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  outline: none;
}

.inventory-filters input::placeholder {
  color: #9ca3af;
}

.inventory-filters input:focus,
.inventory-filters select:focus {
  border-color: #0f172a;
}

.inventory-filters button {
  height: 46px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.inventory-filters .btn-primary {
  background: #0f172a;
  color: #ffffff;
  border: none;
}

.inventory-filters .btn-primary:hover {
  background: #020617;
}

.inventory-filters .btn-secondary {
  background: transparent;
  color: #0f172a;
  border: 1px solid #e5e7eb;
}

.inventory-filters .btn-secondary:hover {
  background: #f8fafc;
}

@media (max-width: 1280px) {
  .inventory-filters {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 12px;
  }
}
.filters-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    row-gap: 0.75rem;
    padding: 0.9rem 1.1rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}
.filters-row {
    flex-wrap: wrap;
}
.filters-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.filters-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-left: auto;
}
.filters-card .field {
    display: flex;
    align-items: center;
}
.filters-card .input {
    height: 46px;
    min-height: 46px;
    padding: 0 0.95rem;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    font-size: 0.9rem;
    color: #111827;
    outline: none;
    line-height: 1.2;
}
.filters-card .input:focus {
    border-color: #cbd5e1;
    background: #ffffff;
}
.filters-card .input-select {
    min-width: 150px;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #64748b 50%),
        linear-gradient(135deg, #64748b 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 2rem;
}
.filters-card .input-text {
    min-width: 170px;
}
.filters-card .input-price {
    min-width: 180px;
}
.filters-card .field-sort {
    margin-left: 0.8rem;
}
.filters-card .btn {
    height: 46px;
    min-height: 46px;
    padding: 0 1.25rem;
    border-radius: 10px;
    font-size: 0.9rem;
    letter-spacing: normal;
    font-weight: 500;
    border: 1px solid transparent;
    white-space: nowrap;
    line-height: 1.2;
}
.filters-card .btn.btn-primary {
    background: #1f2937;
    color: #fff;
}
.filters-card .btn.btn-secondary {
    background: transparent;
    color: #475569;
    border-color: #e2e8f0;
}
.filters-card .btn.btn-primary:hover { background: #293241; }
.filters-card .btn.btn-secondary:hover { background: #f8fafc; }
.filters-trust {
    margin: 0.75rem 0 0;
    font-size: 0.9rem;
    color: #6b7280;
}
@media (max-width: 900px) {
    .filters-actions { width: 100%; margin-left: 0; }
    .filters-card .btn { flex: 1; justify-content: center; }
}
.car-card {
    background-color: var(--light-color);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.car-card:hover {
    transform: translateY(-4px);
}
.car-image {
    background-color: #f9fafb;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--muted-color);
}

/* Enhanced car image styling */
.car-image-container {
    position: relative;
    height: 180px;
    overflow: hidden;
    background-color: #f9fafb;
}

.car-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.car-card:hover .car-card-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.car-card:hover .image-overlay {
    opacity: 1;
}

.view-details {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--button-border);
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.car-details {
    padding: 1.25rem;
}
.car-details h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.4rem; /* Increased from 1.25rem */
    font-weight: 600;
}
.car-details p {
    margin: 0.25rem 0;
    color: var(--muted-color);
    font-size: 1rem; /* Added explicit font size */
    line-height: 1.6;
}
.car-details .price {
    color: var(--primary-color);
    font-weight: bold;
    margin-top: 0.5rem;
    font-size: 1.2rem; /* Added larger font size for price */
}
.car-details .reserve-btn {
    display: inline-block;
    margin-top: 1rem;
    background-color: var(--button-bg);
    color: var(--button-text);
    padding: 0.75rem 1.5rem; /* Increased padding */
    border-radius: 6px; /* Increased border radius */
    font-size: 1.1rem; /* Increased from 0.9rem */
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid var(--button-border);
}
.car-details .reserve-btn:hover {
    background-color: var(--button-hover-bg);
    border-color: var(--button-hover-border);
}
.about {
    background-color: #f3f4f6;
}
.about-content {
    max-width: 65ch;
    margin: 0 auto;
    text-align: left;
    color: #374151;
    font-size: 1rem;
    line-height: 1.85;
}
.contact {
    background-color: var(--primary-color);
    color: var(--light-color);
}
.contact-form {
    max-width: 600px;
    margin: auto;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem; /* Increased from 0.75rem */
    border: none;
    border-radius: 6px; /* Increased border radius */
    margin-bottom: 1rem;
    font-size: 1rem; /* Added explicit font size */
    font-family: inherit;
}
.contact-form button {
    background-color: var(--button-bg);
    color: var(--button-text);
    padding: 1rem 2rem; /* Increased padding */
    border: none;
    border-radius: 6px; /* Increased border radius */
    font-size: 1.1rem; /* Increased from 1rem */
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--button-border);
}
.contact-form button:hover {
    background-color: var(--button-hover-bg);
    border-color: var(--button-hover-border);
}
footer {
    background-color: #111827;
    color: var(--muted-color);
    text-align: center;
    padding: 2rem 1rem; /* Increased padding */
    font-size: 1rem; /* Added explicit font size */
}

/* Authentication styles */
.auth-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.auth-links a {
    color: var(--light-color);
    text-decoration: none;
    font-weight: 600;
}
.auth-links a:hover {
    text-decoration: underline;
}
.auth-links form {
    margin: 0;
}
.auth-links button {
    background: none;
    border: none;
    color: #ef4444;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

/* General Typography Improvements */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, Arial, sans-serif;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p, li, span {
    font-size: 1rem;
    line-height: 1.7;
}

/* Card content typography */
.card {
    font-size: 1rem;
    line-height: 1.6;
}

.card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

/* Button improvements */
.btn, button, .cta-button, .reserve-btn {
    font-family: inherit;
    letter-spacing: 0.025em;
    transition: all 0.3s ease;
}

/* Base button style for generic .btn */
.btn {
    background-color: var(--button-bg);
    color: var(--button-text);
    border: 1px solid var(--button-border);
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}
.btn:hover {
    background-color: var(--button-hover-bg);
    border-color: var(--button-hover-border);
}

@media (max-width: 640px) {
    body {
        font-size: 15px; /* Slightly smaller but still readable on mobile */
    }
    .hero .hero-subtitle {
        font-size: 1.05rem;
    }
    .section h2 {
        font-size: 2rem; /* Added responsive heading size */
    }
    header {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem; /* Increased padding */
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    nav ul li a {
        font-size: 1rem; /* Responsive navigation font size */
    }
}

@media (prefers-reduced-motion: no-preference) {
    .hero .hero-title {
        opacity: 1;
    }
}

/* Highlights Section */
.highlights {
    background-color: #f8fafc;
    padding: 4rem 0;
}

/* About section trust + CTA */
.about-content {
    max-width: 62ch;
    margin: 0 auto;
    text-align: left;
}
.about-wrap {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}
.about-label {
    margin: 0 0 0.75rem;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 500;
}
.about-title {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-weight: 600;
    letter-spacing: -0.015em;
}
.about-subheadline {
    font-size: 1.05rem;
    color: #374151;
    font-weight: 500;
    margin: 0;
    line-height: 1.8;
}
.about-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 0.2rem 0 0.4rem;
}
.trust-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 500;
}
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}
.about-block h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    color: #111827;
    font-weight: 500;
}
.about-list {
    margin: 0;
    padding-left: 0;
    color: #374151;
    line-height: 1.7;
    font-size: 0.95rem;
    font-weight: 400;
    list-style: none;
}
.about-list li {
    position: relative;
    padding-left: 1.1rem;
    margin-bottom: 0.7rem;
}
.about-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #94a3b8;
}
.about-cta {
    padding-top: 1.3rem;
    margin-top: 0.3rem;
    border-top: 1px solid #eef2f7;
}
.about-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}
.about-cta-primary {
    background: #1f2937;
    color: #ffffff;
    border: 1px solid #1f2937;
    padding: 0.6rem 1.5rem;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    line-height: 1;
    min-height: auto;
    display: inline-flex;
    align-items: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.about-cta-secondary {
    background: transparent;
    color: #111827;
    border: 1px solid #cbd5e1;
    padding: 0.6rem 1.5rem;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    line-height: 1;
    min-height: auto;
    display: inline-flex;
    align-items: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.about-cta-whatsapp {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.about-cta-whatsapp .wa-icon {
    width: 18px;
    height: 18px;
    color: #16a34a;
}
.about-cta-primary:hover { background: #293241; }
.about-cta-secondary:hover { border-color: #bfc9d6; color: #0f172a; }
.about-cta-whatsapp:hover { color: #374151; text-decoration: underline; }
.about-cta-note {
    margin: 0.65rem 0 0;
    color: #6b7280;
    font-size: 0.8125rem;
    font-weight: 400;
}

.highlights h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #1f2937;
    font-size: 2.5rem;
    font-weight: 700;
}

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

.highlight-card .btn:hover {
    background: var(--button-hover-bg);
    border-color: var(--button-hover-border);
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .highlights h2 {
        font-size: 2rem;
    }
    .card-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    .highlight-card {
        padding: 1.5rem;
    }
}

/* Brand Section */
.brand-section {
    background-color: #efefec; /* elegant warm gray background like the reference */
    padding: 3rem 0; /* vertical breathing space */
}
.brand-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
.brand-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-color);
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}
.brand-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #ffffff;
    border: 1px solid #ebecee;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
    min-height: 55px; /* ensure consistent tile height */
}
.brand-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    border-color: #e3e5e8;
}
.brand-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    flex: 0 0 56px;
}
.brand-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
}

@media (max-width: 640px) {
    .brand-grid {
        grid-template-columns: 1fr;
    }
    .brand-card {
        min-height: 76px;
    }
    .brand-logo {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }
}

/* ==============================
   Admin Dashboard Styles
   ============================== */
.admin-body {
    background: #f5f6f7;
    color: var(--text-color);
}

.admin-container {
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* Sidebar */
.admin-sidebar {
    width: 260px;
    background: #111827; /* dark slate */
    color: #e5e7eb;
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    height: 100vh;
    transition: width 0.25s ease;
    z-index: 30;
    overflow-y: auto;
}
.admin-sidebar.collapsed { width: 76px; }
.admin-sidebar .admin-brand {
    display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem 1rem;
}
.admin-sidebar .admin-brand .brand-logo { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; background: #0b1220; }
.admin-sidebar .admin-brand h2 { font-size: 1.125rem; color: #fff; margin: 0; white-space: nowrap; }
.admin-sidebar .nav-list { list-style: none; padding: 0.5rem 0; margin: 0; display: flex; flex-direction: column; }
.admin-sidebar .nav-item { margin: 0.25rem 0; }
.admin-sidebar .nav-link { 
    display: flex; align-items: center; gap: 0.75rem; 
    color: #e2e8f0; 
    text-decoration: none; padding: 0.625rem 1rem; border-left: 3px solid transparent;
    background: transparent; border: none; width: 100%; text-align: left; }
.admin-sidebar .nav-link span { white-space: nowrap; }
.admin-sidebar .nav-link i { width: 20px; text-align: center; }
.admin-sidebar .nav-link:hover { background: #0f172a; color: #fff; }
.admin-sidebar .nav-item.active .nav-link { background: #0f172a; border-left-color: #2563eb; color: #fff; }
.admin-sidebar.collapsed .nav-link span { display: none; }

/* Sidebar backdrop (mobile) */
.sidebar-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.45); opacity: 0; pointer-events: none; transition: opacity 0.2s ease; z-index: 25; }
.sidebar-backdrop.show { opacity: 1; pointer-events: auto; }
.admin-sidebar.show { position: fixed; left: 0; top: 0; bottom: 0; transform: translateX(0); }

/* Main */
.admin-main { flex: 1; min-width: 0; display: flex; flex-direction: column; overflow-x: hidden; }

/* Header */
.admin-header { position: sticky; top: 0; z-index: 20; background: #0f172a; color: #e5e7eb; display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1rem; box-shadow: 0 1px 0 rgba(255,255,255,0.05); }
.admin-header, .admin-sidebar, .admin-sidebar .nav-link, .admin-sidebar .admin-brand h2 { font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; }
.admin-header .header-left { display: flex; align-items: center; gap: 0.75rem; }
.admin-header .sidebar-toggle { background: transparent; border: 1px solid #334155; color: #e5e7eb; padding: 0.5rem; border-radius: 6px; cursor: pointer; }
.admin-header .sidebar-toggle:hover { background: #111827; }
.admin-header .header-right { display: flex; align-items: center; gap: 1rem; }
.notifications { position: relative; cursor: pointer; color: #cbd5e1; }
.notification-badge { position: absolute; top: -6px; right: -6px; background: #ef4444; color: #fff; border-radius: 999px; font-size: 10px; padding: 2px 6px; }
.admin-profile { display: flex; align-items: center; gap: 0.5rem; position: relative; }
.profile-avatar { width: 36px; height: 36px; border-radius: 999px; background: #1f2937; display: grid; place-items: center; color: #e5e7eb; }
.profile-info { display: flex; flex-direction: column; line-height: 1.1; }
.profile-name { font-weight: 600; color: #fff; }
.profile-role { font-size: 0.8rem; color: #94a3b8; }
.profile-dropdown { display: flex; align-items: center; gap: 0.25rem; cursor: pointer; }
.profile-dropdown .dropdown-menu { position: absolute; top: 120%; right: 0; background: #ffffff; color: var(--text-color); border: 1px solid #e5e7eb; border-radius: 8px; min-width: 180px; box-shadow: 0 10px 30px rgba(0,0,0,0.12); padding: 0.5rem; display: none; z-index: 40; }
.profile-dropdown.active .dropdown-menu { display: block; }
.dropdown-item { display: block; padding: 0.5rem 0.75rem; border-radius: 6px; color: inherit; text-decoration: none; }
.dropdown-item:hover { background: #f3f4f6; }
.dropdown-item.logout { color: #ef4444; width: 100%; text-align: left; }

/* Content Area */
.admin-content { padding: 1.25rem; }

/* Admin shared controls */
.admin-content .btn-pill {
  border: none;
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-weight: 600;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}
.admin-content .btn-pill.primary {
  background: var(--primary, #1d4ed8);
  color: #fff;
  box-shadow: 0 18px 30px rgba(29, 78, 216, 0.25);
}
.admin-content .btn-pill.secondary {
  background: #fff;
  color: var(--text, #0f172a);
  border: 1px solid #d6deea;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
}
.admin-content .btn-pill.danger {
  background: #fff;
  color: var(--danger, #b91c1c);
  box-shadow: 0 6px 12px rgba(248, 113, 113, 0.15);
}
.admin-content .btn-pill:hover { transform: translateY(-1px); }
.admin-content .btn-pill.disabled,
.admin-content .btn-pill:disabled { opacity: 0.45; cursor: not-allowed; }
.admin-content .pill-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  border: 1px solid #c7d2fe;
  background: #eef2ff;
  color: #312e81;
  font-weight: 600;
  font-size: 0.78rem;
  text-decoration: none;
  box-shadow: 0 10px 18px rgba(99, 102, 241, 0.15);
}
.admin-content .pill-link:hover { background: #e0e7ff; color: #1e1b4b; }
.admin-content .accessory-shell .btn-pill {
  padding: 0.42rem 1.05rem;
  font-size: 0.8rem;
  gap: 0.28rem;
}
.admin-content .accessory-table .action-stack {
  width: 100%;
  max-width: 240px;
  min-width: 0;
  margin: 0 auto;
}
.admin-content .team-shell .btn-pill.secondary {
  border-color: #dbe3f4;
  background: #fff;
  color: #0f172a;
}
.admin-content .team-shell .btn-pill.danger {
  border-color: #fecdd3;
  color: #b91c1c;
  background: #fff1f2;
}
.admin-content .team-shell .action-stack {
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
}
.admin-content .action-stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #fff;
  padding: 0.75rem;
  border-radius: 22px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
  box-sizing: border-box;
}
.admin-content .action-stack form { margin: 0; }
.admin-content .action-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-weight: 600;
  font-size: 0.85rem;
  background: linear-gradient(120deg, #2563eb, #1d4ed8);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 32px rgba(37, 99, 235, 0.25);
}
.admin-content .action-primary:hover { transform: translateY(-1px); }
.admin-content .action-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.admin-content .action-icons form { margin: 0; }
.admin-content .icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #dbe3f3;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 12px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  transition: all 0.18s ease;
}
.admin-content .icon-btn:hover { transform: translateY(-1px); }
.admin-content .icon-btn.danger { border-color: #fecdd3; background: #fff5f5; }
.admin-content .action-chip {
  border-radius: 999px;
  border: 1px solid #d7e0f5;
  background: #fff;
  padding: 0.35rem 0.85rem;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  box-shadow: 0 6px 12px rgba(15, 23, 42, 0.06);
}
.admin-content .action-chip.disabled { opacity: 0.45; cursor: not-allowed; }
.admin-content .toggle-modern {
  --height: 23px;
  --width: 36px;
  width: var(--width);
  height: var(--height);
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: linear-gradient(145deg, #f8fafc, #e2e8f0);
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: inset 3px 3px 6px rgba(148, 163, 184, 0.18),
    inset -3px -3px 6px rgba(255, 255, 255, 0.7);
}
.admin-content .toggle-modern input { display: none; }
.admin-content .toggle-modern .knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(var(--height) - 4px);
  height: calc(var(--height) - 4px);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 12px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(148, 163, 184, 0.35);
  transition: all 0.2s ease;
}
.admin-content .toggle-modern.active {
  background: linear-gradient(120deg, #34d399, #14b8a6);
  border-color: #0d9488;
  box-shadow: 0 12px 20px rgba(45, 212, 191, 0.3);
}
.admin-content .toggle-modern.active .knob { left: calc(var(--width) - var(--height) + 3px); }

/* Lubricant admin table */
.admin-content .lube-table-wrap { width: 100%; overflow-x: auto; border-radius: 18px; background: #fff; }
.admin-content .lube-table { width: 100%; min-width: 100%; display: flex; flex-direction: column; }
.admin-content .lube-head,
.admin-content .lube-row {
  display: grid;
  grid-template-columns:
    minmax(45px, 55px)
    60px
    minmax(240px, 2fr)
    minmax(90px, 0.7fr)
    minmax(120px, 0.8fr)
    minmax(120px, 0.8fr)
    minmax(200px, 1fr);
  column-gap: 10px;
  align-items: center;
  width: 100%;
}
.admin-content .lube-head {
  padding: 0.8rem 1rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  background: #f8fafc;
  position: sticky;
  top: 0;
  z-index: 5;
}
.admin-content .lube-row {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.18s ease;
  background-clip: padding-box;
}
.admin-content .lube-row:nth-child(even) { background: #fcfdff; }
.admin-content .lube-row:hover { background: #f5f7fb; }
.admin-content .lube-row .cell {
  font-size: 0.88rem;
  color: #0f172a;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.admin-content .lube-row .cell:last-child { align-items: stretch; }
.admin-content .lube-table .action-stack {
  width: 100%;
  max-width: 240px;
  min-width: 0;
  margin: 0 auto;
}

/* Shared admin grid tables */
.admin-content .admin-table { width: 100%; --col-gap: 12px; }
.admin-content .admin-table .table-header,
.admin-content .admin-table .table-row {
  display: grid;
  grid-template-columns: var(--table-cols, repeat(6, minmax(0, 1fr)));
  align-items: center;
  column-gap: var(--col-gap);
}
.admin-content .admin-table .table-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  color: #0f172a;
  font-weight: 800;
}
.admin-content .admin-table .table-header .col {
  padding: 0.7rem 0.9rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.admin-content .admin-table .table-row {
  border-top: 1px solid #eef2f7;
  transition: background 0.18s ease;
}
.admin-content .admin-table .table-row .col {
  padding: 0.7rem 0.9rem;
  color: #0f172a;
  min-width: 0;
}
.admin-content .admin-table .table-row:nth-child(even) { background: #fbfdff; }
.admin-content .admin-table .table-row:hover { background: #f5faff; }
.admin-content .admin-table .table-header .col:first-child,
.admin-content .admin-table .table-row .col:first-child { text-align: center; }
.admin-content .admin-table .col--id {
  text-align: center;
  color: #64748b;
  font-variant-numeric: tabular-nums;
}
.admin-content .admin-table .col--name,
.admin-content .admin-table .col--email {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-content .admin-table .table-row .col a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  max-width: 100%;
}

/* Shared admin table typography */
.admin-content .inventory-table,
.admin-content .lube-table,
.admin-content .accessory-table,
.admin-content .team-table,
.admin-content .admin-table {
  --table-header-size: 0.68rem;
  --table-body-size: 0.82rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, Arial, sans-serif;
}
.admin-content .admin-table .table-header .col { font-size: var(--table-header-size); }
.admin-content .admin-table .table-row .col { font-size: var(--table-body-size); }
.admin-content .inventory-head,
.admin-content .lube-head,
.admin-content .accessory-head,
.admin-content .team-head {
  font-size: var(--table-header-size);
}
.admin-content .inventory-row .col,
.admin-content .lube-row .cell,
.admin-content .accessory-row .cell,
.admin-content .team-row {
  font-size: var(--table-body-size);
}
.admin-content .lube-table .badge-soft,
.admin-content .accessory-table .badge-soft {
  font-size: 0.7rem;
  font-weight: 500;
}

/* Inventory page headers */
.admin-content .inventory-header-title,
.admin-content .inventory-header-subtitle {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, Arial, sans-serif;
}

/* Registered users table */
.admin-content .users-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.08);
  padding: 0;
}
.admin-content .users-card .section-header {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 0;
}
.admin-content .users-table {
  --table-cols: minmax(60px, 0.45fr) minmax(160px, 1.1fr) minmax(220px, 1.4fr)
    minmax(140px, 0.8fr) minmax(130px, 0.75fr) minmax(230px, 1fr);
  --col-gap: 10px;
}
.admin-content .users-table .col--name { font-weight: 600; color: #1d4ed8; }
.admin-content .users-table .status-badge {
  border: 1px solid #e5e7eb;
  background: #f1f5f9;
  color: #0f172a;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}
.admin-content .users-table .role-admin {
  background: #eef2ff;
  color: #1e3a8a;
  border-color: #c7d2fe;
}
.admin-content .users-table .actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.admin-content .users-table .action-form {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
}
.admin-content .users-table .role-select {
  min-width: 140px;
  max-width: 100%;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #dbe3f3;
  background: #fff;
  box-shadow: 0 6px 12px rgba(15, 23, 42, 0.08);
}
.admin-content .users-table .action-btn {
  border-radius: 999px;
  border: 1px solid #dbe3f3;
  background: #fff;
  padding: 0.32rem 0.9rem;
  font-weight: 600;
  font-size: 0.78rem;
  color: #0f172a;
  box-shadow: 0 6px 12px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.admin-content .users-table .action-btn:hover { transform: translateY(-1px); }
.admin-content .users-table .action-btn.danger {
  border-color: #fecdd3;
  background: #fff5f5;
  color: #b91c1c;
}

/* Executive members table */
.admin-content .team-table { font-size: var(--table-body-size); }
.admin-content .team-table .team-head { font-size: var(--table-header-size); }
.admin-content .team-row > div { min-width: 0; }
.admin-content .team-name strong {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-content .team-contact .value,
.admin-content .team-contact a {
  font-size: 0.72rem;
  font-weight: 500;
  color: #475569;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 1024px) {
  .admin-content .users-table { --table-cols: repeat(5, minmax(0, 1fr)); }
  .admin-content .users-table .table-header .col:nth-child(4),
  .admin-content .users-table .table-row .col:nth-child(4) { display: none; }
}
.dashboard-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; gap: 0.75rem; flex-wrap: wrap; }
.dashboard-header h1 { margin: 0; font-size: 1.5rem; color: #111827; }
.dashboard-actions { display: flex; gap: 0.5rem; }
.dashboard-warning {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: #fff7ed;
    color: #b45309;
    border: 1px solid #fed7aa;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* Buttons in Admin */
.btn-primary { background: #111827; color: #ffffff; border: 1px solid #111827; }
.btn-primary:hover { background: #0b1220; border-color: #0b1220; }
.btn-secondary { background: var(--button-bg); color: var(--button-text); border: 1px solid var(--button-border); }
.btn-secondary:hover { background: var(--button-hover-bg); border-color: var(--button-hover-border); }
/* Small button utility */
.btn-sm { padding: 0.35rem 0.6rem; font-size: 0.9rem; border-radius: 6px; }

/* Forms (Admin) */
.form-card { background:#ffffff; border:1px solid #e5e7eb; border-radius:12px; padding:1rem; box-shadow:0 1px 2px rgba(0,0,0,0.04); }
.form-grid-2 { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:0.75rem; }
.form-grid-3 { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:0.75rem; }
.form-group { display:flex; flex-direction:column; gap:0.35rem; }
.form-label { font-weight:600; color:#111827; }
.input-base, .select-base, .textarea-base { background:#ffffff; border:1px solid #e5e7eb; border-radius:8px; padding:0.6rem 0.75rem; font-size:0.95rem; color:#111827; outline:none; transition:border-color .15s ease, box-shadow .15s ease; }
.textarea-base { min-height: 120px; resize: vertical; }
.input-base:focus, .select-base:focus, .textarea-base:focus { border-color:#2563eb; box-shadow:0 0 0 3px rgba(37,99,235,0.15); }
.form-actions { display:flex; justify-content:flex-end; gap:0.5rem; margin-top:0.75rem; }
.form-hint { color:#64748b; font-size:0.85rem; }

@media (max-width: 768px) {
    .form-grid-2, .form-grid-3 { grid-template-columns: 1fr; }
}

/* Stats Grid */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.stat-card { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 1rem; display: flex; gap: 0.75rem; align-items: center; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.stat-card .stat-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.stat-icon.cars { background: linear-gradient(135deg,#3b82f6,#1d4ed8); }
.stat-icon.sold { background: linear-gradient(135deg,#10b981,#059669); }
.stat-icon.users { background: linear-gradient(135deg,#a855f7,#7c3aed); }
.stat-icon.revenue { background: linear-gradient(135deg,#06b6d4,#0e7490); }
.stat-content .stat-number { font-size: 1.6rem; font-weight: 700; color: #111827; }
.stat-content .stat-label { color: #334155; font-size: 0.9rem; }
.stat-trend { display: flex; gap: 0.75rem; margin-top: 0.25rem; color: #475569; font-size: 0.8rem; }
.stat-trend .trend-text { background: #f1f5f9; padding: 0.2rem 0.5rem; border-radius: 999px; }
.stat-trend .trend-period { background: #f8fafc; padding: 0.2rem 0.5rem; border-radius: 999px; }

/* Dashboard Rows */
.dashboard-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1rem; margin-bottom: 1.25rem;}
.dashboard-section { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 1rem; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.dashboard-section.small { padding: 1rem; }
.chart-wrapper { min-height: 360px; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.section-header h3 { margin: 0; color: #111827; font-size: 1.1rem; }
.section-header h3, .dashboard-header h1 { font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; }
.chart-header { gap: 1rem; flex-wrap: wrap; }
.chart-header .chart-subtitle { margin: .15rem 0 0; color: #6b7280; font-size: .85rem; }
.chart-filter { display: flex; align-items: center; gap: .35rem; padding: .35rem .65rem; background: #f9fafb; border-radius: 999px; border: 1px solid #e5e7eb; font-size: .85rem; color: #374151; }
.chart-filter select { border: none; background: transparent; font-weight: 600; color: #111827; outline: none; }
.chart-filter select option { color: #111827; }
.btn-link { background: none; border: none; color: #2563eb; font-weight: 600; cursor: pointer; padding: 0; }
.btn-link:hover { text-decoration: underline; }

/* User inventory activities */
.admin-content .activities-table {
    --table-cols: minmax(120px, 1fr) minmax(220px, 2.2fr) minmax(120px, 1fr) minmax(120px, 1fr) minmax(110px, 0.9fr) minmax(140px, 1fr);
    --table-body-size: 0.74rem;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    background: #ffffff;
}
.admin-content .activities-table .table-header {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    color: #0f172a;
}
.admin-content .activities-table .table-row { border-bottom: 1px solid #eef2f7; }
.admin-content .activities-table .table-row:last-child { border-bottom: none; }
.admin-content .activities-table .table-row:hover { background: #f8fafc; }
.admin-content .activities-table .table-row .col {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    color: #1f2937;
    font-weight: 500;
}
.admin-content .activities-table .table-row .col:nth-child(2) {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
}
.admin-content .activities-table .table-row .col:last-child { justify-content: flex-end; font-weight: 500; }
.admin-content .activities-table .table-row .col:nth-child(3),
.admin-content .activities-table .table-row .col:nth-child(4),
.admin-content .activities-table .table-row .col:nth-child(5) { justify-content: center; }
.admin-content .activities-table .table-header .col:nth-child(2) { text-align: left; }

.admin-content .activity-user { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
.admin-content .user-avatar { width: 36px; height: 36px; border-radius: 10px; background: #eceffd; display: grid; place-items: center; color: #4f46e5; font-size: 0.9rem; }
.admin-content .booking-id { font-weight: 500; color: #111827; white-space: nowrap; }
.admin-content .item-title { font-weight: 500; font-size: 0.72rem; color: #0f172a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-content .item-meta { font-size: 0.68rem; color: #6b7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-content .type-pill {
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}
.admin-content .type-pill.type-car { background: rgba(99, 102, 241, 0.12); color: #4c1d95; }
.admin-content .type-pill.type-accessory { background: rgba(249, 115, 22, 0.13); color: #7c2d12; }
.admin-content .type-pill.type-lubricant { background: rgba(14, 165, 233, 0.15); color: #0c4a6e; }
.admin-content .status-badge { display: inline-flex; padding: 0.24rem 0.6rem; border-radius: 999px; font-size: 0.68rem; font-weight: 600; text-transform: capitalize; }
.admin-content .status-badge.done { background: #dcfce7; color: #166534; }
.admin-content .status-badge.progress { background: #fff7ed; color: #c2410c; }
.admin-content .status-badge.neutral { background: #e0f2fe; color: #0c4a6e; }
.admin-content .status-badge.status-available { background: #dbeafe; color: #1e40af; }
.admin-content .status-badge.status-reserved { background: #fff7ed; color: #9a3412; }
.admin-content .status-badge.status-sold { background: #dcfce7; color: #166534; }

/* Responsive tweaks for smaller screens */
@media (max-width: 640px) {
    .admin-content .activities-table {
        --table-cols: 1fr 1.6fr 1fr;
    }
    .admin-content .activities-table .table-row .col:last-child,
    .admin-content .activities-table .table-row .col:nth-child(5),
    .admin-content .activities-table .table-row .col:nth-child(4) {
        justify-content: flex-start;
    }
}

/* Quick Stats */
.quick-stats { display: grid; gap: 0.75rem; }
.quick-stat { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem; border: 1px solid #e5e7eb; border-radius: 10px; background: #ffffff; }
.stat-icon-small { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.stat-icon-small.email { background: linear-gradient(135deg,#3b82f6,#1d4ed8); }
.stat-icon-small.facebook { background: linear-gradient(135deg,#2563eb,#1d4ed8); }
.stat-icon-small.linkedin { background: linear-gradient(135deg,#0ea5e9,#0369a1); }
.stat-info .stat-percentage { font-size: 1.1rem; font-weight: 700; color: #111827; }
.stat-info .stat-description { color: #64748b; font-size: 0.9rem; }

/* Site Footer */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 1.25rem 2rem;
}
.site-footer .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}
.site-footer .footer-left,
.site-footer .footer-right {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.site-footer .footer-brand {
    font-weight: 500;
    color: #cbd5e1;
}
.site-footer .footer-center {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}
.site-footer .footer-center a {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
}
.site-footer .footer-center a:hover { color: #e2e8f0; }
.site-footer .footer-micro {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    color: #cbd5e1;
}

@media (max-width: 768px) {
    .site-footer { padding: 1.1rem 1.5rem; }
    .site-footer .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .site-footer .footer-center {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .dashboard-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .admin-sidebar { transform: translateX(-100%); position: fixed; left: 0; }
    .admin-sidebar.show { transform: translateX(0); }
    .admin-header { position: sticky; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
    .stats-grid { grid-template-columns: 1fr; }
    
}

/* ==============================
   Pagination Normalization
   Ensures consistent sizing/styling for Laravel's default paginator
   and prevents oversized chevron icons in some environments.
   ============================== */
.pagination-wrap nav[role="navigation"] {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    flex-wrap: wrap;
}
.pagination-wrap nav[role="navigation"] a,
.pagination-wrap nav[role="navigation"] span {
    padding: .45rem .75rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
}
.pagination-wrap nav[role="navigation"] span[aria-current="page"] {
    background: #1d4ed8;
    color: #ffffff;
    border-color: #1d4ed8;
}
.pagination-wrap nav[role="navigation"] span[aria-disabled="true"] {
    opacity: .45;
    cursor: not-allowed;
}
.pagination-wrap nav[role="navigation"] a:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}
.pagination-wrap nav[role="navigation"] svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    vertical-align: middle;
}
/* Hide the small-screen summary block that can duplicate controls */
.pagination-wrap nav[role="navigation"] .hidden { display: none !important; }
.pagination-wrap .pagination-summary {
    margin-top: .35rem;
    font-size: .9rem;
    color: #64748b;
}
.pagination-wrap .pagination-summary strong { color: #0f172a; }

/* ==============================
   Auth Pages (Login & Register)
   Scoped to .auth to avoid conflicts with admin and site styles
   ============================== */
.auth {
    min-height: 100dvh;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    position: relative;
}
.auth__art {
    background: #f4d2d2;
    position: relative;
    display: grid;
    place-items: center;
    padding: 40px;
    z-index: 0;
    overflow: hidden;
}
.auth__art .logo-wrap { width: 100%; max-width: 520px; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.auth__art img { width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(0,0,0,.45)); }

.auth__panel { display: flex; align-items: center; justify-content: center; padding: 48px 40px; background: #fff; position: relative; z-index: 1; }
.auth .card { width: min(520px, 100%); background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; box-shadow: 0 10px 25px rgba(17,17,20,.08), 0 2px 8px rgba(17,17,20,.06); padding: 40px 36px; }

/* Typography */
.auth .title { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; letter-spacing: .2px; margin: 0 0 6px; }
.auth .subtitle { margin: 0 0 28px; color: #6b7280; }
.auth label { display: block; font-weight: 600; margin: 18px 0 10px; }

/* Inputs */
.auth .input { width: 100%; display: block; padding: 14px 16px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; outline: none; transition: box-shadow .15s, border-color .15s; }
.auth .input::placeholder { color: #9ca3af; }
.auth .input:focus { border-color: #d1d5db; box-shadow: 0 0 0 6px #11111422; }

/* Row / Utilities */
.auth .row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 12px 0 18px; }
.auth .checkbox { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; color: #374151; }
.auth .checkbox input { appearance: none; width: 18px; height: 18px; border: 1px solid #e5e7eb; border-radius: 6px; display: inline-grid; place-content: center; transition: border-color .15s, box-shadow .15s, background .15s; }
.auth .checkbox input:focus { box-shadow: 0 0 0 6px #11111422; }
.auth .checkbox input:checked { background: #ef4444; border-color: #ef4444; }
.auth .checkbox input:checked::after { content: ""; width: 10px; height: 10px; border-radius: 3px; background: #fff; display: block; }

.auth .link { color: #ef4444; text-decoration: none; font-weight: 600; }
.auth .link:hover { text-decoration: underline; }

/* Buttons (scoped overrides) */
.auth .btn { width: 100%; border: 0; border-radius: 12px; padding: 14px 18px; font-weight: 700; cursor: pointer; transition: transform .03s ease, box-shadow .15s, background .15s; display: inline-flex; align-items: center; justify-content: center; gap: 12px; text-decoration: none; line-height: 1; appearance: none; -webkit-appearance: none; }
.auth .btn:active { transform: translateY(1px); }
.auth .btn + .btn { margin-top: 14px; }
.auth .btn-primary { border-radius: 14px; background: linear-gradient(180deg, #ef4444, #dc2626); color: #fff; box-shadow: 0 8px 18px rgba(239,68,68,.22); }
.auth .btn-primary:focus-visible { outline: 0; box-shadow: 0 0 0 4px #ef444422, 0 8px 18px rgba(239,68,68,.22); }
.auth .btn-ghost { border-radius: 12px; background: #fff; border: 1px solid #e5e7eb; color: #111114; }
.auth .btn-ghost:hover { box-shadow: 0 10px 25px rgba(17,17,20,.08), 0 2px 8px rgba(17,17,20,.06); }
.auth .btn__content { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 22px; }
.auth .g-badge { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1px solid #e5e7eb; }

.auth .muted { color: #6b7280; margin-top: 18px; text-align: center; }
.auth .error { color: #dc2626; font-size: 14px; margin-top: 8px; }

/* Responsive */
@media (max-width: 980px) {
    .auth { grid-template-columns: 1fr; }
    .auth__art { display: none; }
    .auth__panel { padding: 28px 20px; }
    .auth .card { padding: 28px 22px; border: none; box-shadow: none; }
}

/* Back link row inside auth card */
.auth .back-row { display:flex; align-items:center; margin: -6px 0 10px; }
.auth .back-link {
    display:inline-flex; align-items:center; gap:8px;
    padding:8px 10px; border:1px solid #e5e7eb; border-radius:10px;
    background:#fff; color:#374151; text-decoration:none; font-weight:600;
    box-shadow: 0 1px 2px rgba(17,17,20,.04);
}
.auth .back-link:hover { background:#f9fafb; border-color:#d1d5db; }
.auth .back-link svg { width:16px; height:16px; stroke:currentColor; fill:none; }



/* =========================
   RS TEAM — Accordion (namespaced)
   ========================= */

.rs-team-wrap{
  background: #ffffff;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.05);
}

/* max 3 per row */
.rs-team-grid{
  --gap: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}

/* matches your existing breakpoints */
@media (max-width: 1024px){
  .rs-team-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .rs-team-grid{ grid-template-columns: 1fr; }
}

.rs-team-card{
  position: relative;
  border: 0;
  padding: 0;
  width: 100%;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: left;
  aspect-ratio: 1 / 1;
}

.rs-team-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
}

.rs-team-card:focus-visible{
  outline: 3px solid #3b82f6;
  outline-offset: 2px;
}

.rs-team-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hover overlay (name + role) */
.rs-team-meta{
  position: absolute;
  inset: auto 0 0 0;
  padding: 10px 10px 12px;
  color: #fff;
  background: linear-gradient(to top, rgba(15,23,42,.80), rgba(15,23,42,0));
  transform: translateY(35%);
  opacity: 0;
  transition: opacity .16s ease, transform .16s ease;
  pointer-events: none;
}

.rs-team-card:hover .rs-team-meta,
.rs-team-card:focus-visible .rs-team-meta{
  opacity: 1;
  transform: translateY(0);
}

.rs-team-meta-name{
  font-weight: 750;
  font-size: 14px;
  line-height: 1.1;
  font-family: "Inter", system-ui, sans-serif;
}

.rs-team-meta-role{
  margin-top: 3px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
  font-family: "Inter", system-ui, sans-serif;
}

/* Expanded “contact card” panel */
.rs-team-panel{
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #0f172a;
  color: #f8fafc;
  min-height: 240px;
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.35);
}

.rs-team-panel-inner{
  display: flex;
  min-height: 240px;
}

.rs-team-panel-left{
  width: 220px;
  background: rgba(2,6,23,.75);
  border-right: 1px solid rgba(255,255,255,.10);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rs-team-panel-photo{
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
}

.rs-team-panel-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

.rs-team-panel-name{
  font-weight: 800;
  font-size: 14px;
  line-height: 1.15;
  font-family: "Inter", system-ui, sans-serif;
}

.rs-team-panel-role{
  margin-top: 4px;
  font-size: 12px;
  color: rgba(248,250,252,.78);
  font-family: "Inter", system-ui, sans-serif;
}

.rs-team-panel-center{
  flex: 1 1 auto;
  padding: 16px 16px 18px;
}

.rs-team-panel-center p{
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(248,250,252,.92);
  font-family: "Inter", system-ui, sans-serif;
}

.rs-team-panel-right{
  width: 260px;
  padding: 16px 14px 18px;
  background: rgba(255,255,255,.06);
  border-left: 1px solid rgba(255,255,255,.10);
}

.rs-team-panel-right h4{
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(248,250,252,.90);
  font-family: "Inter", system-ui, sans-serif;
  letter-spacing: .01em;
}

.rs-team-panel-right ul{
  margin: 0 0 14px;
  padding-left: 16px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(248,250,252,.82);
  font-family: "Inter", system-ui, sans-serif;
}

.rs-team-panel-right a{
  color: #f8fafc;
  text-decoration: none;
  border-bottom: 1px solid rgba(248,250,252,.25);
}

.rs-team-panel-right a:hover{
  border-bottom-color: rgba(248,250,252,.65);
}

.rs-team-panel-close{
  position: absolute;
  right: 12px;
  top: 12px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(2,6,23,.45);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 16px;
  line-height: 1;
}

.rs-team-panel-close:hover{
  background: rgba(2,6,23,.65);
}

/* Hide cards under same-row panel */
.rs-team-covered{ visibility: hidden; }

/* Stack panel on small screens */
@media (max-width: 700px){
  .rs-team-panel-inner{ flex-direction: column; }
  .rs-team-panel-left{ width: 100%; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.10); }
  .rs-team-panel-right{ width: 100%; border-left: 0; border-top: 1px solid rgba(255,255,255,.10); }
}


/* =========================
   COMPACT TEAM SECTION OVERRIDES
   Paste this at the very END of your <style>
   ========================= */

/* 1) Reduce left/right padding of the team contact card */
.contact-card.contact-team-card{
  padding: 28px 24px; /* was 44px 46px */
}

/* 2) Make team header match your contact card look (left aligned + compact) */
.contact-card.contact-team-card .section-header{
  text-align: left;          /* was visually centered */
  margin-bottom: 18px;       /* reduce big header gap */
}

.contact-card.contact-team-card .section-header .title{
  margin: 0 0 8px;
  font-size: 32px;           /* similar to "Contact RS Empire & Imports" */
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.contact-card.contact-team-card .section-header .sub{
  margin: 0;
  max-width: 680px;
  font-size: 16px;
  line-height: 1.65;
  color: #334155;            /* matches your contact intro tone */
}

/* 3) Remove redundant inner “white box” spacing (double container look) */
.rs-team-wrap{
  background: transparent;   /* remove inner card feel */
  border: 0;
  box-shadow: none;
  padding: 0;                /* key: removes extra left/right space */
  border-radius: 0;
}

/* 4) Slightly tighten the grid spacing */
.rs-team-grid{
  gap: 16px;                 /* was 18px */
}

/* 5) Keep cards clean and consistent with your page */
.rs-team-card{
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

/* 6) Optional: if your H2/H3 font stack differs, enforce consistent heading font */
.contact-card.contact-team-card .section-header .title{
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 600;
  color: #0f172a;
}
