:root {
    --primary: #1e40af;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    --secondary: #0f172a;
    --accent: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #06b6d4;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --radius: 12px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.5;
    padding-bottom: 50px;
}

/* Header */
.app-header {
    background: #0f172a;
    color: #fff;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.header-left .logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 28px;
    background: rgba(255,255,255,0.1);
    padding: 6px;
    border-radius: 8px;
}

.logo-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
}

.logo-title span {
    color: #38bdf8;
}

.logo-subtitle {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Role Navigation */
.role-nav {
    display: flex;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    padding: 4px;
    border-radius: 10px;
}

.nav-tab {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.nav-tab:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
}

.nav-tab.active {
    background: var(--primary-light);
    color: #fff;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

/* User Badge */
.header-right .current-user-badge {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
}

.user-meta {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 13px;
    font-weight: 700;
    color: #f8fafc;
}

.user-role {
    font-size: 10px;
    color: #38bdf8;
    font-weight: 600;
}

.user-switch-dropdown {
    background: #1e293b;
    border: 1px solid #334155;
    color: #e2e8f0;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
}

/* Main Container */
.main-container {
    max-width: 1400px;
    margin: 24px auto;
    padding: 0 20px;
}

.portal-section {
    display: none;
}

.portal-section.active {
    display: block;
    animation: fadeIn 0.25s ease-in-out;
}

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

/* Portal Header */
.portal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.portal-header h2 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
}

.portal-header p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Metric Cards */
.metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.metric-card {
    background: #fff;
    padding: 18px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 16px;
}

.metric-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.bg-blue { background: #eff6ff; color: #1d4ed8; }
.bg-emerald { background: #ecfdf5; color: #047857; }
.bg-amber { background: #fffbeb; color: #b45309; }
.bg-purple { background: #faf5ff; color: #6b21a8; }

.metric-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.metric-value {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
}

/* Sub Navigation */
.sub-nav {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
    overflow-x: auto;
}

.sub-tab {
    background: none;
    border: none;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
}

.sub-tab:hover {
    color: var(--primary);
}

.sub-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.sub-content {
    display: none;
}

.sub-content.active {
    display: block;
}

/* Card */
.card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    padding: 20px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.card-header h3 {
    font-size: 16px;
    font-weight: 700;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.data-table th {
    background: #f8fafc;
    padding: 10px 14px;
    font-weight: 600;
    color: #475569;
    border-bottom: 1px solid var(--border);
}

.data-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.data-table tbody tr:hover {
    background: #f1f5f9;
}

/* Badges */
.badge {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    display: inline-block;
}

.badge-success { background: #dcfce7; color: #166534; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-info { background: #e0f2fe; color: #075985; }
.badge-purple { background: #f3e8ff; color: #6b21a8; }

/* Buttons */
.btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: #e2e8f0; color: #334155; }
.btn-secondary:hover { background: #cbd5e1; }
.btn-success { background: #10b981; color: #fff; }
.btn-success:hover { background: #059669; }
.btn-danger { background: #ef4444; color: #fff; }
.btn-danger:hover { background: #dc2626; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: #334155; }
.btn-outline:hover { background: #f1f5f9; }
.btn-sm { padding: 4px 10px; font-size: 11px; border-radius: 6px; }
.btn-lg { padding: 12px 20px; font-size: 15px; }
.btn-block { width: 100%; justify-content: center; }

/* Grids & Forms */
.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 4px;
}

.form-control, input[type="text"], input[type="number"], select, textarea {
    width: 100%;
    padding: 9px 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: 13px;
    background: #fff;
    color: #0f172a;
    outline: none;
}

.form-control:focus, input:focus, select:focus, textarea:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.form-row {
    display: flex;
    gap: 12px;
}

.form-row .col {
    flex: 1;
}

/* POS Layout */
.pos-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 20px;
}

.barcode-quick-input {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    background: #f8fafc;
    padding: 6px;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.barcode-quick-input input {
    border: none;
    background: transparent;
    flex: 1;
}

.barcode-quick-input input:focus {
    box-shadow: none;
}

.service-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.service-btn {
    background: #f1f5f9;
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.service-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.pos-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    max-height: 380px;
    overflow-y: auto;
    margin-top: 8px;
    padding-right: 4px;
}

.pos-prod-card {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.pos-prod-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.pos-prod-title {
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.pos-prod-meta {
    font-size: 11px;
    color: var(--text-muted);
}

.pos-prod-price {
    font-size: 13px;
    font-weight: 800;
    color: var(--primary);
    margin-top: 4px;
}

/* POS Cart */
.pos-cart-table-wrapper {
    max-height: 220px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin: 12px 0;
}

.pos-cart-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.pos-cart-table th {
    background: #f8fafc;
    padding: 8px;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
}

.pos-cart-table td {
    padding: 8px;
    border-bottom: 1px solid var(--border);
}

.pos-totals-box {
    background: #f8fafc;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 14px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 4px;
}

.total-row.grand-total {
    font-size: 16px;
    color: var(--primary-dark);
    border-top: 1px solid var(--border);
    padding-top: 6px;
    margin-top: 6px;
}

.payment-method-selector {
    display: flex;
    gap: 14px;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 600;
}

/* B2B Catalog Grid */
.b2b-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.b2b-item-card {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.b2b-checkout-card {
    background: #0f172a;
    color: #fff;
    padding: 16px 20px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.checkout-payment-opts {
    display: flex;
    gap: 16px;
    font-size: 12px;
}

/* ==================== MANUAL B2B ORDER MATRIX & NUMBER BUTTONS ==================== */

.manual-order-table th {
    background: #f1f5f9;
    color: #1e293b;
    font-size: 12px;
    font-weight: 700;
}

.manual-order-row.selected {
    background: #f0fdf4 !important;
}

.manual-tick-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #2563eb;
}

.qty-stepper-box {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.qty-step-btn {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    font-size: 16px;
    font-weight: 800;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.qty-step-btn:hover {
    background: #e2e8f0;
    color: #2563eb;
}

.qty-number-input {
    width: 55px;
    height: 32px;
    border: none;
    border-left: 1px solid #cbd5e1;
    border-right: 1px solid #cbd5e1;
    text-align: center;
    font-weight: 800;
    font-size: 14px;
    color: #0f172a;
}

.qty-preset-btn-group {
    display: inline-flex;
    gap: 4px;
    margin-left: 8px;
}

.qty-preset-chip {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.qty-preset-chip:hover {
    background: #2563eb;
    color: #fff;
}

/* B2C Layout */
.b2c-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 20px;
}

.active-gps-coords-bar {
    background: #0f172a;
    color: #f8fafc;
    padding: 12px 18px;
    border-radius: 10px;
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.station-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.station-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 6px 16px -2px rgba(59, 130, 246, 0.12);
    transform: translateY(-1px);
}

.station-services-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.service-tag {
    background: #e2e8f0;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
}

/* SOS Live Tracker */
.sos-tracker-box {
    background: #fff;
    border: 2px solid var(--danger);
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.15);
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background: var(--danger);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.4); opacity: 1; box-shadow: 0 0 12px rgba(239,68,68,0.8); }
    100% { transform: scale(0.9); opacity: 0.8; }
}

.tracker-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    background: #f8fafc;
    padding: 10px;
    border-radius: 8px;
}

.tracker-step {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
}

.tracker-step.done { color: var(--success); font-weight: 700; }
.tracker-step.active { color: var(--danger); font-weight: 800; text-decoration: underline; }

/* Floating Action Emergency SOS Button */
.floating-sos-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    padding: 14px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.5), 0 0 0 0 rgba(239, 68, 68, 0.7);
    cursor: pointer;
    z-index: 999;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fabPulse 2s infinite;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-sos-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 30px rgba(239, 68, 68, 0.7);
}

@keyframes fabPulse {
    0% { box-shadow: 0 8px 25px rgba(239, 68, 68, 0.5), 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 8px 25px rgba(239, 68, 68, 0.5), 0 0 0 18px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 8px 25px rgba(239, 68, 68, 0.5), 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Quick Issue Selector Chips */
.quick-issue-chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 6px;
}

.issue-chip {
    background: #f8fafc;
    border: 1px solid var(--border);
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.issue-chip:hover, .issue-chip.active {
    background: #fee2e2;
    border-color: #ef4444;
    color: #991b1b;
}

.mechanic-live-card {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    padding: 14px;
    border-radius: 10px;
    margin-top: 12px;
}

.mechanic-action-btns {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

/* Sticker Preview */
.sticker-preview-box {
    display: flex;
    justify-content: center;
    padding: 20px;
    background: #f1f5f9;
    border-radius: 10px;
}

.sticker-tag {
    background: #fff;
    border: 2px solid #000;
    width: 320px;
    padding: 16px;
    border-radius: 6px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.sticker-brand {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    border-bottom: 1px solid #000;
    padding-bottom: 4px;
    margin-bottom: 8px;
}

.sticker-title {
    font-size: 13px;
    font-weight: 800;
}

.sticker-meta {
    font-size: 9px;
    color: #475569;
    margin-bottom: 10px;
}

.sticker-barcode-img img {
    max-width: 100%;
    height: 70px;
    object-fit: contain;
}

.sticker-code-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 4px 0;
}

.sticker-footer {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    border-top: 1px solid #000;
    padding-top: 4px;
    margin-top: 6px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: var(--radius);
    width: 100%;
    max-width: 550px;
    max-height: 90vh;
    padding: 22px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    animation: fadeIn 0.2s ease-out;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
    margin-bottom: 14px;
    flex-shrink: 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 16px;
    color: #0f172a;
}

.close-modal {
    font-size: 26px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
    color: #64748b;
    transition: color 0.15s;
}

.close-modal:hover {
    color: #ef4444;
}

.modal-body {
    overflow-y: auto;
    padding-right: 6px;
    flex: 1;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid var(--border);
    padding-top: 14px;
    margin-top: 14px;
    flex-shrink: 0;
    background: #fff;
}

/* ========================================================
   GLOBAL APP FOOTER & DISCLAIMER STYLING
   ======================================================== */
.app-footer {
    background: #090d16;
    border-top: 1px solid #1e293b;
    padding: 30px 24px 20px 24px;
    margin-top: 40px;
    color: #94a3b8;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #38bdf8;
}

.footer-bottom {
    max-width: 1200px;
    margin: 16px auto 0 auto;
    text-align: center;
    font-size: 12px;
    color: #64748b;
}

.legal-highlight-box {
    background: rgba(2, 132, 199, 0.08);
    border-left: 4px solid #38bdf8;
    border-radius: 0 8px 8px 0;
    padding: 12px 16px;
    margin: 16px 0;
    font-size: 13.5px;
    line-height: 1.6;
    color: #0f172a;
}

/* ========================================================
   REGISTRATION PHOTO UPLOAD & PREVIEW STYLES
   ======================================================== */
.photo-upload-container {
    margin: 10px 0;
}

.photo-dropzone {
    border: 2px dashed #93c5fd;
    background: #f0f9ff;
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 120px;
}

.photo-dropzone:hover {
    border-color: #0284c7;
    background: #e0f2fe;
    transform: translateY(-1px);
}

.photo-dropzone-compact {
    border: 2px dashed #cbd5e1;
    background: #f8fafc;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.photo-dropzone-compact:hover {
    border-color: #38bdf8;
    background: #f0f9ff;
}

.photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #0369a1;
}

.photo-placeholder-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #475569;
}

.photo-preview-wrap {
    width: 100%;
    max-height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo-preview-wrap-compact {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo-preview-img {
    max-height: 160px;
    max-width: 100%;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.photo-preview-img-compact {
    max-height: 80px;
    max-width: 100%;
    border-radius: 6px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* GSTR Styles */
.gstr-summary-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    background: #f8fafc;
    padding: 14px;
    border-radius: 8px;
}

.gstr-3b-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.gstr-card-item {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
}

.gstr-card-item strong {
    display: block;
    font-size: 18px;
    color: var(--primary);
    margin-top: 4px;
}

/* Telemetry & Auto-Replenish Grid */
.telemetry-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 16px;
    margin-top: 10px;
}

.telemetry-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.telemetry-card.needs-replenish {
    border-color: #fca5a5;
    background: #fffafa;
}

.telemetry-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.telemetry-stock-table {
    width: 100%;
    font-size: 11px;
    border-collapse: collapse;
    margin: 10px 0;
}

.telemetry-stock-table th, .telemetry-stock-table td {
    padding: 5px 8px;
    border-bottom: 1px solid #f1f5f9;
    text-align: left;
}

.telemetry-stock-table th {
    background: #f8fafc;
    color: #64748b;
    font-weight: 700;
}

.telemetry-replenish-box {
    background: #fef2f2;
    border: 1px solid #fecaca;
    padding: 10px;
    border-radius: 6px;
    font-size: 11px;
    color: #991b1b;
    margin-top: 10px;
}

/* Rate Card Styles */
.b2c-rate-filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.b2c-rate-filter-tabs .btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.b2c-rate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
    padding: 16px;
}

.b2c-rate-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.b2c-rate-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.b2c-rate-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
}

.b2c-rate-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.b2c-rate-card-spec {
    font-size: 11px;
    color: #64748b;
    margin: 2px 0 8px 0;
}

.b2c-rate-card-price-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    background: #f8fafc;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #f1f5f9;
    margin-top: 8px;
}

.b2c-rate-price {
    font-size: 18px;
    font-weight: 800;
    color: #059669;
}

.b2c-rate-unit {
    font-size: 11px;
    color: #64748b;
}

/* ==================== VEHICLE REGISTRATION GATE STYLES ==================== */

.vehicle-reg-container {
    max-width: 780px;
    margin: 20px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 2px solid #e0e7ff;
    overflow: hidden;
}

.vehicle-reg-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #fff;
    padding: 24px;
    text-align: center;
}

.vehicle-reg-hero h3 {
    font-size: 20px;
    margin: 0 0 6px 0;
    font-weight: 800;
}

.vehicle-reg-hero p {
    font-size: 13px;
    opacity: 0.9;
    margin: 0;
    line-height: 1.5;
}

.plate-preview-box {
    display: inline-flex;
    align-items: center;
    background: #fef08a;
    border: 2px solid #000;
    border-radius: 6px;
    padding: 6px 14px;
    font-family: monospace;
    font-weight: 900;
    font-size: 18px;
    color: #000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    margin: 10px 0;
    letter-spacing: 2px;
}

.plate-ind {
    background: #1e40af;
    color: #fff;
    font-size: 10px;
    padding: 2px 4px;
    border-radius: 2px;
    margin-right: 8px;
}

.verified-vehicle-bar {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 12px 18px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.vehicle-info-pill {
    display: flex;
    align-items: center;
    gap: 14px;
}

.plate-badge {
    background: #fef08a;
    color: #000;
    font-family: monospace;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1.5px solid #000;
    font-size: 14px;
    letter-spacing: 1px;
}

.quick-vehicle-pill {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.quick-vehicle-pill:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
}

/* ==================== RATING & REVIEW STYLES ==================== */

.star-rating-box {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
}

.star-rating-selector {
    display: flex;
    gap: 6px;
    font-size: 28px;
    cursor: pointer;
}

.star-item {
    color: #cbd5e1;
    transition: transform 0.15s ease, color 0.15s ease;
}

.star-item:hover, .star-item.active {
    color: #f59e0b;
    transform: scale(1.15);
}

.rating-tag-badge {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.review-feedback-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.review-chip {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.review-chip:hover, .review-chip.active {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #1d4ed8;
    font-weight: 700;
}

@media (max-width: 900px) {
    .pos-layout, .b2c-layout, .grid-2col {
        grid-template-columns: 1fr;
    }
    .app-header {
        flex-direction: column;
        gap: 12px;
    }
}

/* ========================================================
   LUCRATIVE AUTOMOTIVE SHOWCASE & HERO STYLES
   ======================================================== */
.lucrative-hero-container {
    margin-bottom: 28px;
}

.lucrative-hero-banner {
    background: linear-gradient(135deg, #090d16 0%, #111827 50%, #1e1b4b 100%);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 32px;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.lucrative-hero-banner::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.25) 0%, rgba(234, 88, 12, 0) 70%);
    pointer-events: none;
    border-radius: 50%;
}

.lucrative-hero-content {
    position: relative;
    z-index: 2;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(234, 88, 12, 0.15);
    border: 1px solid rgba(234, 88, 12, 0.4);
    color: #fb923c;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    box-shadow: 0 0 15px rgba(234, 88, 12, 0.2);
}

.hero-pill-badge .dot-live {
    width: 8px;
    height: 8px;
    background: #f97316;
    border-radius: 50%;
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 8px #f97316; }
    50% { transform: scale(1.3); opacity: 0.6; box-shadow: 0 0 16px #f97316; }
}

.hero-title-gradient {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.8px;
}

.hero-title-gradient span {
    background: linear-gradient(135deg, #f97316 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.hero-highlights-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.hero-highlight-tag {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f1f5f9;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(8px);
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    color: #ffffff;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px -5px rgba(234, 88, 12, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -5px rgba(234, 88, 12, 0.7);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.hero-visual-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transform: perspective(1000px) rotateY(-3deg) rotateX(2deg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-visual-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
    box-shadow: 0 30px 60px -12px rgba(234, 88, 12, 0.3);
}

.hero-showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 16/9;
}

.hero-floating-glass-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-floating-glass-badge h4 {
    margin: 0;
    color: #f8fafc;
    font-size: 14px;
    font-weight: 700;
}

.hero-floating-glass-badge p {
    margin: 2px 0 0 0;
    color: #94a3b8;
    font-size: 11px;
}

/* 4-Pillar Visual Category Showcase Grid */
.lucrative-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.lucrative-pillar-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
}

.lucrative-pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.12);
    border-color: #f97316;
}

.pillar-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #0f172a;
}

.pillar-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.lucrative-pillar-card:hover .pillar-img-wrapper img {
    transform: scale(1.08);
}

.pillar-top-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 5px;
}

.pillar-hsn-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(234, 88, 12, 0.9);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.pillar-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.pillar-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pillar-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 14px;
}

.pillar-specs-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pillar-specs-list li {
    font-size: 11px;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.pillar-specs-list li span {
    color: #10b981;
}

.pillar-action-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
}

.pillar-tax-label {
    font-size: 11px;
    font-weight: 700;
    color: #ea580c;
}

.b2c-rate-unit {
    font-size: 11px;
    color: #64748b;
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 600;
}

/* ========================================================
   GPS RADAR MAPPING & SATELLITE TELEMETRY STYLES
   ======================================================== */
.gps-mapping-container {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 14px;
    margin-top: 14px;
    color: #f8fafc;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.4);
}

.gps-telemetry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.gps-radar-canvas {
    width: 100%;
    height: 220px;
    border-radius: 8px;
    background: #0b1120;
    border: 1px solid #1e293b;
    cursor: crosshair;
    display: block;
}

.gps-coords-badge {
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid #0284c7;
    color: #38bdf8;
    padding: 4px 10px;
    border-radius: 6px;
    font-family: monospace;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ========================================================
   BRAND LOGO STYLES (TYRE + TUBE + VALVE + SUPPORT)
   ======================================================== */
.logo-icon-wrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient(circle, #0f172a 60%, #020617 100%);
    box-shadow: 0 0 18px rgba(14, 165, 233, 0.55), inset 0 0 10px rgba(56, 189, 248, 0.2);
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid #38bdf8;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    cursor: pointer;
}

.logo-icon-wrap:hover {
    transform: rotate(20deg) scale(1.1);
    box-shadow: 0 0 28px rgba(14, 165, 233, 0.85), inset 0 0 14px rgba(253, 224, 71, 0.4);
    border-color: #fde047;
}

.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6));
}

.pillar-btn-link {
    font-size: 12px;
    font-weight: 700;
    color: #1e40af;
    background: #eff6ff;
    padding: 5px 12px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.15s ease;
}

.pillar-btn-link:hover {
    background: #1e40af;
    color: #ffffff;
}

@media (max-width: 1100px) {
    .lucrative-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .lucrative-hero-banner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .lucrative-category-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================================
   ISOLATED ROLE LOGIN SCREENS & STYLES
   ======================================================== */
.auth-role-screen {
    display: none;
    animation: fadeIn 0.25s ease-out;
}
.auth-role-screen.active {
    display: block;
}

.role-banner-hero {
    width: 100%;
    height: 170px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.role-banner-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.role-banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.4) 70%, rgba(15, 23, 42, 0) 100%);
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.role-login-box {
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 14px;
    border: 1px solid #e2e8f0;
}

.box-admin {
    background: #f8faff;
    border-color: #bfdbfe;
}
.box-shop {
    background: #fffaf5;
    border-color: #fed7aa;
}
.box-emergency {
    background: #f4fbf7;
    border-color: #a7f3d0;
}
.box-driver {
    background: #f0f9ff;
    border-color: #bae6fd;
}

/* 4 DISTINCT LOOK LOGIN CARDS & ROLE SELECTION STYLES */
.login-roles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.login-role-card {
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.login-role-card:hover {
    transform: translateY(-4px) scale(1.01);
}

.login-role-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #0f172a;
}

.login-role-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.login-role-card:hover .login-role-img-wrap img {
    transform: scale(1.08);
}

.login-role-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    color: #ffffff;
    backdrop-filter: blur(6px);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.login-role-content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.login-role-title {
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.login-role-desc {
    font-size: 11px;
    color: #64748b;
    line-height: 1.4;
    margin-bottom: 10px;
}

.login-role-btn {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

/* Distinct Role 1: Super Admin (HQ) - Sapphire Blue & Gold */
.role-admin {
    border-color: rgba(30, 64, 175, 0.3);
}
.role-admin:hover {
    border-color: #1e40af;
    box-shadow: 0 10px 24px -6px rgba(30, 64, 175, 0.25);
}
.role-admin .login-role-badge {
    background: linear-gradient(135deg, #1e3a8a, #1d4ed8);
}
.role-admin .login-role-title {
    color: #1e3a8a;
}
.role-admin .login-role-btn {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}
.role-admin .login-role-btn:hover {
    background: #1e40af;
    color: #ffffff;
}

/* Distinct Role 2: Ramesh Tyres (POS Hub) - Amber Orange Industrial */
.role-shop {
    border-color: rgba(234, 88, 12, 0.3);
}
.role-shop:hover {
    border-color: #ea580c;
    box-shadow: 0 10px 24px -6px rgba(234, 88, 12, 0.25);
}
.role-shop .login-role-badge {
    background: linear-gradient(135deg, #c2410c, #ea580c);
}
.role-shop .login-role-title {
    color: #9a3412;
}
.role-shop .login-role-btn {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
}
.role-shop .login-role-btn:hover {
    background: #ea580c;
    color: #ffffff;
}

/* Distinct Role 3: Sharma Puncture (24x7 SOS Partner) - Emerald Green Emergency */
.role-emergency {
    border-color: rgba(16, 185, 129, 0.3);
}
.role-emergency:hover {
    border-color: #059669;
    box-shadow: 0 10px 24px -6px rgba(16, 185, 129, 0.25);
}
.role-emergency .login-role-badge {
    background: linear-gradient(135deg, #047857, #10b981);
}
.role-emergency .login-role-title {
    color: #065f46;
}
.role-emergency .login-role-btn {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}
.role-emergency .login-role-btn:hover {
    background: #059669;
    color: #ffffff;
}

/* Distinct Role 4: Vehicle Owner / Driver - Cyan & Sunset Highway */
.role-driver {
    border-color: rgba(2, 132, 199, 0.3);
}
.role-driver:hover {
    border-color: #0284c7;
    box-shadow: 0 10px 24px -6px rgba(2, 132, 199, 0.25);
}
.role-driver .login-role-badge {
    background: linear-gradient(135deg, #0369a1, #0284c7);
}
.role-driver .login-role-title {
    color: #075985;
}
.role-driver .login-role-btn {
    background: #f0f9ff;
    color: #0284c7;
    border: 1px solid #bae6fd;
}
.role-driver .login-role-btn:hover {
    background: #0284c7;
    color: #ffffff;
}

@media (max-width: 650px) {
    .login-roles-grid {
        grid-template-columns: 1fr;
    }
}


