/* ============= Reset & Base ============= */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary-dark: #0c2b5e;
    --primary: #153e7e;
    --primary-light: #1e5ba7;
    --accent: #1976d2;
    --accent-light: #42a5f5;
    --text-dark: #1a1a2e;
    --text-body: #374151;
    --text-light: #6b7280;
    --bg-gray: #f5f7fa;
    --bg-white: #ffffff;
    --border: #e5e7eb;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-lg: 12px;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-body);
    line-height: 1.6;
    background: var(--bg-white);
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--primary-light); }
ul { list-style: none; }
img { max-width: 100%; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ============= Buttons ============= */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--primary-light); color: white; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border: 1px solid var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: white; }
.btn-sm { padding: 6px 16px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-block { display: block; width: 100%; }

/* ============= Header ============= */
.header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 22px;
    font-weight: 700;
}
.logo:hover { color: white; }
.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.nav-list {
    display: flex;
    gap: 8px;
}
.nav-item > a {
    color: rgba(255,255,255,0.9);
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 15px;
    display: block;
}
.nav-item > a:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}
.nav-item.has-dropdown { position: relative; }
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s;
}
.nav-item.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-body);
    font-size: 14px;
}
.dropdown li a:hover {
    background: var(--bg-gray);
    color: var(--accent);
}
.arrow { font-size: 10px; margin-left: 4px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* ============= Hero / Banner ============= */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(25,118,210,0.3) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; max-width: 650px; }
.hero h1 { font-size: 42px; font-weight: 700; margin-bottom: 16px; line-height: 1.2; }
.hero p { font-size: 18px; opacity: 0.9; margin-bottom: 32px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-buttons .btn-outline { border-color: white; color: white; }
.hero-buttons .btn-outline:hover { background: white; color: var(--primary); }

/* ============= Section ============= */
.section { padding: 64px 0; }
.section-gray { background: var(--bg-gray); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 32px; color: var(--text-dark); margin-bottom: 12px; }
.section-header p { color: var(--text-light); font-size: 16px; max-width: 600px; margin: 0 auto; }

/* ============= Category Cards ============= */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.cat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid transparent;
}
.cat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-light);
}
.cat-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    border-radius: 12px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}
.cat-card h3 { font-size: 15px; color: var(--text-dark); margin-bottom: 6px; font-weight: 600; }
.cat-card p { font-size: 13px; color: var(--text-light); }

/* ============= Product Grid ============= */
.products-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    padding: 40px 0;
}
.sidebar {
    position: sticky;
    top: 92px;
    align-self: start;
}
.sidebar-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 20px;
}
.sidebar-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.cat-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 6px;
    color: var(--text-body);
    font-size: 14px;
    transition: all 0.15s;
}
.cat-list li a:hover, .cat-list li a.active {
    background: var(--bg-gray);
    color: var(--accent);
}
.cat-count {
    background: var(--bg-gray);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    color: var(--text-light);
}
.cat-list li a.active .cat-count {
    background: var(--accent);
    color: white;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border: 1px solid var(--border);
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-light);
}
.product-image {
    height: 180px;
    background: linear-gradient(135deg, #f0f4f8, #d9e2ec);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--text-light);
}
.product-info { padding: 20px; }
.product-category {
    font-size: 12px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.product-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
    line-height: 1.4;
    min-height: 42px;
}
.product-model {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}
.product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
}
.price-current {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}
.price-original {
    font-size: 13px;
    color: var(--text-light);
    text-decoration: line-through;
}
.product-card .btn { width: 100%; }

/* ============= Product Detail ============= */
.product-detail {
    display: grid;
    grid-template-columns: 220px 1fr 320px;
    gap: 32px;
    padding: 40px 0;
}
.detail-specs {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    height: fit-content;
    position: sticky;
    top: 92px;
}
.detail-specs h3 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--text-dark);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-gray);
    font-size: 14px;
}
.spec-item:last-child { border-bottom: none; }
.spec-key { color: var(--text-light); }
.spec-value { color: var(--text-dark); font-weight: 500; }
.detail-main { }
.detail-image {
    height: 360px;
    background: linear-gradient(135deg, #f0f4f8, #d9e2ec);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: var(--text-light);
    margin-bottom: 24px;
}
.detail-title { font-size: 28px; color: var(--text-dark); margin-bottom: 8px; }
.detail-model { font-size: 16px; color: var(--text-light); margin-bottom: 20px; }
.detail-desc { color: var(--text-body); line-height: 1.8; margin-bottom: 24px; }
.detail-price-box {
    background: var(--bg-gray);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}
.detail-price-box .price-current { font-size: 28px; }
.discount-tag {
    background: var(--success);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}
.detail-inquiry {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 92px;
}
.detail-inquiry h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-dark);
}
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(25,118,210,0.1);
}
.form-group textarea { resize: vertical; min-height: 80px; }

/* ============= Quote Wizard ============= */
.quote-wizard { padding: 40px 0; max-width: 900px; margin: 0 auto; }
.quote-header { text-align: center; margin-bottom: 40px; }
.quote-header h1 { font-size: 32px; color: var(--text-dark); margin-bottom: 8px; }
.quote-header p { color: var(--text-light); }
.quote-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}
.quote-steps::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}
.step-item {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
}
.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-weight: 600;
    font-size: 14px;
}
.step-item.active .step-num { background: var(--accent); color: white; }
.step-item.done .step-num { background: var(--success); color: white; }
.step-label { font-size: 13px; color: var(--text-light); }
.step-item.active .step-label { color: var(--text-dark); font-weight: 500; }
.quote-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
}
.quote-card h2 { font-size: 22px; margin-bottom: 20px; color: var(--text-dark); }
.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.option-card {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s;
}
.option-card:hover { border-color: var(--accent-light); }
.option-card.selected { border-color: var(--accent); background: rgba(25,118,210,0.03); }
.option-card h4 { font-size: 16px; color: var(--text-dark); margin-bottom: 6px; }
.option-card p { font-size: 13px; color: var(--text-light); }
.dept-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.dept-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.15s;
}
.dept-item:hover { border-color: var(--accent-light); }
.dept-item.selected { border-color: var(--accent); background: rgba(25,118,210,0.03); color: var(--accent); }
.dept-item input { cursor: pointer; }
.product-qty-list { max-height: 500px; overflow-y: auto; }
.product-qty-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--bg-gray);
}
.product-qty-item:last-child { border-bottom: none; }
.qty-product-info { flex: 1; }
.qty-product-name { font-size: 14px; color: var(--text-dark); font-weight: 500; }
.qty-product-price { font-size: 13px; color: var(--text-light); }
.qty-control {
    display: flex;
    align-items: center;
    gap: 8px;
}
.qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border);
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qty-btn:hover { border-color: var(--accent); color: var(--accent); }
.qty-value {
    width: 40px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}
.quote-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.quote-total { font-size: 18px; }
.quote-total strong { color: var(--primary); font-size: 24px; }
.quote-nav { display: flex; gap: 12px; }

/* ============= Page Header ============= */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    padding: 48px 0;
}
.page-header h1 { font-size: 36px; margin-bottom: 8px; }
.page-header p { opacity: 0.85; font-size: 16px; }

/* ============= About / Content Pages ============= */
.content-section { padding: 48px 0; }
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.content-text h2 { font-size: 28px; color: var(--text-dark); margin-bottom: 16px; }
.content-text p { margin-bottom: 16px; line-height: 1.8; }
.feature-list li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
}
.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.stat-item h3 { font-size: 36px; color: var(--primary); margin-bottom: 4px; }
.stat-item p { color: var(--text-light); font-size: 14px; }

/* ============= Contact ============= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    padding: 48px 0;
}
.contact-info-card {
    background: var(--primary-dark);
    color: white;
    border-radius: var(--radius-lg);
    padding: 32px;
}
.contact-info-card h3 { font-size: 22px; margin-bottom: 24px; }
.contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    align-items: flex-start;
}
.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}
.contact-item h4 { font-size: 14px; opacity: 0.8; margin-bottom: 4px; font-weight: normal; }
.contact-item p { font-size: 15px; font-weight: 500; }
.contact-form-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}
.contact-form-card h3 { font-size: 22px; margin-bottom: 24px; color: var(--text-dark); }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ============= Admin ============= */
.admin-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: calc(100vh - 72px - 300px);
}
.admin-sidebar {
    background: var(--primary-dark);
    color: white;
    padding: 24px 0;
}
.admin-sidebar li a {
    display: block;
    padding: 12px 24px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: all 0.15s;
}
.admin-sidebar li a:hover, .admin-sidebar li a.active {
    background: rgba(255,255,255,0.1);
    color: white;
}
.admin-main { padding: 24px; background: var(--bg-gray); }
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.admin-header h1 { font-size: 24px; color: var(--text-dark); }
.admin-card {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
    text-align: left;
    padding: 12px 16px;
    background: var(--bg-gray);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.data-table tr:hover { background: var(--bg-gray); }
.status-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}
.status-pending { background: #fef3c7; color: #92400e; }
.status-new { background: #dbeafe; color: #1e40af; }
.status-active { background: #d1fae5; color: #065f46; }

/* ============= Login ============= */
.login-page {
    min-height: calc(100vh - 72px - 300px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 0;
    background: var(--bg-gray);
}
.login-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 400px;
}
.login-card h1 {
    text-align: center;
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.login-card .subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 32px;
    font-size: 14px;
}

/* ============= Footer ============= */
.footer {
    background: #0a1f44;
    color: rgba(255,255,255,0.7);
    padding: 56px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
}
.footer-col ul li {
    margin-bottom: 10px;
    font-size: 14px;
}
.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--accent-light); }
.footer-about { font-size: 14px; line-height: 1.7; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* ============= Alert / Message ============= */
.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 14px;
}
.alert-success { background: #d1fae5; color: #065f46; }
.alert-error { background: #fee2e2; color: #991b1b; }

/* ============= Responsive ============= */
@media (max-width: 1024px) {
    .cat-grid { grid-template-columns: repeat(4, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .products-layout { grid-template-columns: 220px 1fr; }
    .product-detail { grid-template-columns: 1fr; }
    .detail-specs, .detail-inquiry { position: static; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .content-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .dept-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .nav { display: none; }
    .menu-toggle { display: block; }
    .nav.open {
        display: block;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--primary);
        padding: 16px;
    }
    .nav.open .nav-list { flex-direction: column; gap: 0; }
    .nav.open .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding-left: 20px; }
    .nav.open .dropdown li a { color: rgba(255,255,255,0.8); }
    .hero { padding: 48px 0; }
    .hero h1 { font-size: 28px; }
    .section { padding: 40px 0; }
    .section-header h2 { font-size: 24px; }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .products-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .product-grid { grid-template-columns: 1fr; }
    .options-grid { grid-template-columns: 1fr; }
    .dept-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .quote-steps { flex-wrap: wrap; gap: 12px; }
    .quote-steps::before { display: none; }
    .admin-layout { grid-template-columns: 1fr; }
}


/* ============= Admin Login ============= */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0c2b5e, #153e7e);
    padding: 20px;
}
.login-card {
    background: white;
    border-radius: 12px;
    padding: 40px 32px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.login-card h1 {
    font-size: 24px;
    color: #1a1a2e;
    margin-bottom: 8px;
    text-align: center;
}
.login-card .subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 32px;
    font-size: 14px;
}

/* ============= Admin Layout ============= */
.admin-layout {
    display: flex;
    min-height: calc(100vh - 70px);
}
.admin-sidebar {
    width: 220px;
    background: #0c2b5e;
    color: white;
    padding: 20px 0;
    flex-shrink: 0;
}
.admin-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.admin-sidebar li a {
    display: block;
    padding: 12px 24px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}
.admin-sidebar li a:hover,
.admin-sidebar li a.active {
    background: #153e7e;
    color: white;
}
.admin-main {
    flex: 1;
    padding: 24px;
    background: #f5f7fa;
    overflow-x: auto;
}
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.admin-header h1 {
    font-size: 24px;
    color: #1a1a2e;
    margin: 0;
}
.admin-card {
    background: white;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* ============= Data Table ============= */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.data-table th {
    background: #f8f9fa;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #1a1a2e;
    border-bottom: 2px solid #e5e7eb;
}
.data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
}
.data-table tr:hover td {
    background: #f8f9fa;
}
.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}
.status-active { background: #dcfce7; color: #166534; }
.status-pending { background: #fef3c7; color: #92400e; }
.status-new { background: #dbeafe; color: #1e40af; }

/* ============= Alerts ============= */
.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 16px;
}
.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}



/* ============= Modal ============= */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}
.modal {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}
.modal-lg { max-width: 720px; }
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
}
.modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #1a1a2e;
}
.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #9ca3af;
    line-height: 1;
}
.modal-close:hover { color: #374151; }
.modal-body {
    padding: 24px;
}

/* ============= Buttons ============= */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-primary { background: #1976d2; color: white; }
.btn-primary:hover { background: #1565c0; }
.btn-outline {
    background: white;
    color: #374151;
    border: 1px solid #d1d5db;
}
.btn-outline:hover { background: #f9fafb; }
.btn-danger { background: #dc2626; color: white; }
.btn-danger:hover { background: #b91c1c; }

/* ============= Quote Detail ============= */
.quote-detail-section {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f3f4f6;
}
.quote-detail-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.quote-detail-section h4 {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    font-size: 14px;
    color: #374151;
}
.detail-grid strong { color: #6b7280; font-weight: 500; }



/* ============= Quote Product List ============= */
.product-qty-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: border-color 0.2s;
}
.product-qty-item:hover {
    border-color: #1976d2;
}
.qty-product-thumb {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qty-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.qty-thumb-placeholder {
    font-size: 28px;
}
.qty-product-info {
    flex: 1;
    min-width: 0;
}
.qty-product-name {
    font-weight: 600;
    color: #1a1a2e;
    font-size: 14px;
    margin-bottom: 4px;
}
.qty-product-meta {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}
.qty-product-meta span {
    margin-right: 6px;
}
.qty-product-price {
    font-size: 14px;
    color: #1976d2;
    font-weight: 500;
}
.qty-control {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    color: #374151;
}
.qty-btn:hover {
    background: #f9fafb;
    border-color: #1976d2;
    color: #1976d2;
}
.qty-value {
    min-width: 32px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
}



/* ============= WhatsApp Float Button ============= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

