﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #e8eaed;
    color: #1a1a2e;
}

/* ===== NAVBAR ===== */
.navbar {
    background: #0f2042;
    padding: 0 40px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none;
}

.brand-icon {
    width: 32px;
    height: 32px;
    background: #1a73e8;
    border-radius: 6px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

    .nav-links a {
        color: #a8bbd4;
        text-decoration: none;
        font-size: 14px;
        padding: 8px 14px;
        border-radius: 6px;
        transition: all 0.2s;
    }

        .nav-links a:hover {
            color: #fff;
            background: rgba(255, 255, 255, 0.08);
        }

.btn-nav {
    background: #1a73e8;
    color: #fff !important;
    padding: 8px 18px !important;
    border-radius: 6px;
    font-weight: 500;
}

    .btn-nav:hover {
        background: #1558b0 !important;
    }

/* ===== HERO ===== */
.hero {
    background: #0f2042;
    padding: 80px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 420px;
}

.hero-text {
    max-width: 520px;
}

.hero-badge {
    display: inline-block;
    background: rgba(26, 115, 232, 0.25);
    color: #7ab3f5;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(26, 115, 232, 0.3);
}

.hero h1 {
    font-size: 42px;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
    font-weight: 600;
}

    .hero h1 em {
        color: #7ab3f5;
        font-style: normal;
    }

.hero p {
    color: #a8bbd4;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-btns {
    display: flex;
    gap: 12px;
}

.btn-primary {
    background: #1a73e8;
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    display: inline-block;
    transition: background 0.2s;
}

    .btn-primary:hover {
        background: #1558b0;
    }

.btn-outline {
    background: transparent;
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    display: inline-block;
    transition: all 0.2s;
}

    .btn-outline:hover {
        background: rgba(255, 255, 255, 0.08);
    }

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 18px 24px;
    min-width: 180px;
}

.stat-num {
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: #7ab3f5;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* ===== SECTIONS ===== */
.section {
    padding: 60px 40px;
    background: #e0e2e6;
}

.section-title {
    font-size: 13px;
    font-weight: 600;
    color: #1a73e8;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
}

.section-heading {
    font-size: 28px;
    font-weight: 600;
    color: #0f2042;
    margin-bottom: 40px;
}

/* ===== FEATURE CARDS ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: #d4d6db;
    border-radius: 12px;
    padding: 28px;
    border: 1px solid #c2c5cc;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .feature-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 24px rgba(15, 32, 66, 0.12);
    }

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    margin-bottom: 16px;
}

.icon-blue {
    background: #c2d4f0;
}

.icon-green {
    background: #c2dcc8;
}

.icon-amber {
    background: #e8dcc0;
}

.feature-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: #0f2042;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 13px;
    color: #4a5568;
    line-height: 1.6;
}

/* ===== PRODUCT TABLE ===== */
.products-section {
    background: #e0e2e6;
    padding: 60px 40px;
}

.table-wrap {
    border: 1px solid #c2c5cc;
    border-radius: 12px;
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: #d4d6db;
}

th {
    padding: 14px 20px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

td {
    padding: 16px 20px;
    font-size: 14px;
    color: #1a1a2e;
    border-top: 1px solid #c8cad0;
    background: #dcdee3;
}

tr:hover td {
    background: #cbcdd2;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.badge-blue {
    background: #c2d4f0;
    color: #1a73e8;
}

/* ===== CTA ===== */
.cta {
    background: #0f2042;
    padding: 60px 40px;
    text-align: center;
}

    .cta h2 {
        font-size: 30px;
        font-weight: 600;
        color: #fff;
        margin-bottom: 12px;
    }

    .cta p {
        color: #a8bbd4;
        font-size: 14px;
        margin-bottom: 28px;
    }

/* ===== FOOTER ===== */
.footer {
    background: #0a1628;
    padding: 24px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .footer p {
        color: #4a6080;
        font-size: 13px;
    }

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

    .footer-links a {
        color: #4a6080;
        text-decoration: none;
        font-size: 13px;
    }

        .footer-links a:hover {
            color: #a8bbd4;
        }

/* ===== FORM STYLES ===== */
.form-card {
    background: #d4d6db;
    border-radius: 12px;
    padding: 40px;
    max-width: 460px;
    margin: 60px auto;
    border: 1px solid #c2c5cc;
    box-shadow: 0 4px 20px rgba(15, 32, 66, 0.08);
}

    .form-card h2 {
        font-size: 22px;
        font-weight: 600;
        color: #0f2042;
        margin-bottom: 6px;
    }

    .form-card p {
        font-size: 13px;
        color: #4a5568;
        margin-bottom: 28px;
    }

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

    .form-group label {
        display: block;
        font-size: 13px;
        font-weight: 600;
        color: #0f2042;
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group select {
        width: 100%;
        padding: 11px 14px;
        border: 1px solid #b0b3ba;
        border-radius: 8px;
        font-size: 14px;
        color: #1a1a2e;
        background: #e8eaed;
        transition: border-color 0.2s;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

        .form-group input:focus,
        .form-group select:focus {
            outline: none;
            border-color: #1a73e8;
        }

.btn-full {
    width: 100%;
    padding: 12px;
    background: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

    .btn-full:hover {
        background: #1558b0;
    }

.form-footer {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: #4a5568;
}

    .form-footer a {
        color: #1a73e8;
        text-decoration: none;
        font-weight: 500;
    }

/* ===== DASHBOARD ===== */
.dashboard-header {
    background: #0f2042;
    padding: 28px 40px;
    color: #fff;
}

    .dashboard-header h1 {
        font-size: 22px;
        font-weight: 600;
    }

    .dashboard-header p {
        color: #a8bbd4;
        font-size: 14px;
        margin-top: 4px;
    }

.dashboard-body {
    padding: 40px;
    background: #e0e2e6;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.stat-box {
    background: #d4d6db;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #c2c5cc;
}

    .stat-box .num {
        font-size: 26px;
        font-weight: 600;
        color: #0f2042;
    }

    .stat-box .lbl {
        font-size: 12px;
        color: #4a5568;
        margin-top: 4px;
        text-transform: uppercase;
        letter-spacing: 0.6px;
    }

/* ===== ALERT / MESSAGE ===== */
.alert {
    display: block;
    padding: 11px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 12px;
    min-height: 0;
}

.alert-error {
    background: #f5c2c2;
    color: #8b1a1a;
    border: 1px solid #e8a0a0;
}

.alert-success {
    background: #c2dcc8;
    color: #1a4d2a;
    border: 1px solid #a0c8aa;
}

/* ===== MAIN CONTENT WRAPPER ===== */
.main-content {
    min-height: calc(100vh - 64px - 72px);
}


/* ===== LOGIN PAGE ===== */
.page-wrap {
    min-height: calc(100vh - 64px - 68px);
    background: #e8eaed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.login-container {
    display: flex;
    width: 100%;
    max-width: 900px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(15, 32, 66, 0.12);
}

.login-left {
    background: #0f2042;
    padding: 50px 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
}

.logo-box {
    width: 38px;
    height: 38px;
    background: #1a73e8;
    border-radius: 8px;
}

.logo-text {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.login-left h2 {
    color: #fff;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 14px;
}

    .login-left h2 span {
        color: #7ab3f5;
    }

.login-left p {
    color: #a8bbd4;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 36px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-dot {
    width: 8px;
    height: 8px;
    background: #1a73e8;
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-item span {
    color: #a8bbd4;
    font-size: 13px;
}

.login-right {
    background: #d4d6db;
    padding: 50px 40px;
    flex: 1;
}

    .login-right h3 {
        font-size: 20px;
        font-weight: 600;
        color: #0f2042;
        margin-bottom: 6px;
    }

    .login-right .sub {
        font-size: 13px;
        color: #4a5568;
        margin-bottom: 32px;
    }

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #4a5568;
    cursor: pointer;
}

.forgot {
    font-size: 13px;
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
}

.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: #b0b3ba;
}

.divider span {
    font-size: 12px;
    color: #6b7a99;
}

.register-link {
    text-align: center;
    font-size: 13px;
    color: #4a5568;
}

    .register-link a {
        color: #1a73e8;
        text-decoration: none;
        font-weight: 600;
    }

/* ===== SIGN IN BUTTON ===== */
.btn-signin {
    width: 100%;
    padding: 12px;
    background: #1a1a2e;
    color: #e8eaed;
    border: 2px solid #1a1a2e;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    margin-bottom: 4px;
}

    .btn-signin:hover {
        background: #1a73e8;
        color: #ffffff;
        border-color: #1a73e8;
    }

/* ===== ALERT ===== */
.alert {
    display: block;
    padding: 11px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 12px;
}

.alert-error {
    background: #f5c2c2;
    color: #8b1a1a;
    border: 1px solid #e8a0a0;
}

.alert-success {
    background: #c2dcc8;
    color: #1a4d2a;
    border: 1px solid #a0c8aa;
}