﻿/* ===== SIMPLE PROFESSIONAL DESIGN FOR VS 2022 ===== */
/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@600;700&display=swap');

/* ===== BASE STYLES ===== */
body {
    font-family: 'Inter', Arial, sans-serif;
    color: #1a1a1a;
    background: #ffffff;
    line-height: 1.6;
    padding-top: 80px; /* matches navbar height below */
    font-size: 15px;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 0;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* ===== NAVBAR (fixed layout — brand + links on one row) ===== */
.navbar {
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e5e7eb;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.navbar-inverse {
    background: #ffffff;
    border-color: #e5e7eb;
}

.navbar > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.navbar-header {
    display: flex;
    align-items: center;
    padding: 0;
}

.navbar-toggle {
    display: none; /* only shown on mobile, see media query */
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 8px 10px;
    cursor: pointer;
}

    .navbar-toggle .icon-bar {
        display: block;
        width: 20px;
        height: 2px;
        background: #1a1a1a;
        margin: 4px 0;
    }

.navbar-brand {
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #0ea5e9 !important;
    text-decoration: none;
    padding: 0;
    line-height: 80px;
    display: inline-block;
    white-space: nowrap;
}

    .navbar-brand:hover {
        color: #0284c7 !important;
    }

/* Force the collapse menu to always render as a row (no JS toggle needed on desktop) */
/* !important used deliberately: Bootstrap's own .nav > li{display:block} rule has
   equal CSS specificity to these selectors, so whichever stylesheet loads LAST wins.
   !important guarantees this layout regardless of bundle load order. */
.navbar-collapse.collapse {
    display: flex !important;
    align-items: center !important;
    height: auto !important;
    padding: 0 !important;
    flex: 1 1 auto !important;
    justify-content: flex-end !important;
}

.navbar-nav {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
}

    .navbar-nav > li {
        display: inline-block !important;
        float: none !important;
        position: relative;
    }

        .navbar-nav > li > a {
            font-weight: 500;
            font-size: 15px;
            color: #1a1a1a !important;
            padding: 0 18px;
            line-height: 80px !important;
            text-decoration: none;
            display: block;
            white-space: nowrap;
            transition: color 0.3s;
        }

            .navbar-nav > li > a:hover {
                color: #0ea5e9 !important;
                background: transparent;
            }

        .navbar-nav > li.active > a {
            color: #0ea5e9 !important;
            border-bottom: 3px solid #0ea5e9;
        }

/* ===== JUMBOTRON ===== */
.jumbotron {
    background: linear-gradient(135deg, #0ea5e9 0%, #14b8a6 100%);
    color: white;
    border-radius: 12px;
    padding: 60px 40px;
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;
}

    .jumbotron h1 {
        font-size: 3rem;
        color: white;
        margin-bottom: 20px;
    }

    .jumbotron .lead {
        font-size: 1.25rem;
        margin-bottom: 30px;
        opacity: 0.95;
    }

/* ===== BUTTONS ===== */
.btn {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 600;
    border-radius: 8px;
    padding: 12px 28px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-primary {
    background: #0ea5e9;
    color: white;
}

    .btn-primary:hover {
        background: #0284c7;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
    }

.btn-success {
    background: #14b8a6;
    color: white;
}

    .btn-success:hover {
        background: #0f766e;
        color: white;
        transform: translateY(-2px);
    }

.btn-default {
    background: white;
    color: #1a1a1a;
    border: 2px solid #e5e7eb;
}

    .btn-default:hover {
        background: #f8fafc;
        border-color: #0ea5e9;
        color: #0ea5e9;
    }

.btn-lg {
    padding: 16px 36px;
    font-size: 17px;
}

.btn .glyphicon {
    margin-right: 8px;
}

/* ===== PANELS ===== */
.panel {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
}

.panel-heading {
    background: #f8fafc;
    border-radius: 12px 12px 0 0;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.panel-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.panel-body {
    padding: 24px;
}

.panel-primary > .panel-heading {
    background: #0ea5e9;
    color: white;
    border: none;
}

.panel-success > .panel-heading {
    background: #14b8a6;
    color: white;
    border: none;
}

.panel-info > .panel-heading {
    background: #8b5cf6;
    color: white;
    border: none;
}

.panel-warning > .panel-heading {
    background: #f59e0b;
    color: white;
    border: none;
}

.panel-danger > .panel-heading {
    background: #ef4444;
    color: white;
    border: none;
}

/* ===== PROGRESS BARS ===== */
.progress {
    height: 30px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    line-height: 30px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    background: #0ea5e9;
    color: white;
    transition: width 0.6s ease;
}

.progress-bar-success {
    background: #14b8a6;
}

.progress-bar-info {
    background: #8b5cf6;
}

.progress-bar-warning {
    background: #f59e0b;
}

.progress-bar-danger {
    background: #ef4444;
}

/* ===== LABELS/BADGES ===== */
.label {
    font-weight: 600;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
    margin: 4px;
    color: white;
}

.label-primary {
    background: #0ea5e9;
}

.label-success {
    background: #14b8a6;
}

.label-info {
    background: #8b5cf6;
}

.label-warning {
    background: #f59e0b;
}

.label-danger {
    background: #ef4444;
}

/* ===== ALERTS ===== */
.alert {
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-color: #14b8a6;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border-color: #0ea5e9;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border-color: #f59e0b;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border-color: #ef4444;
}

/* ===== LIST GROUPS ===== */
.list-group {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-group-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 8px;
    padding: 16px;
    background: white;
    transition: all 0.3s;
}

    .list-group-item:hover {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transform: translateX(4px);
    }

.list-group-item-success {
    background: #d1fae5;
    border-color: #14b8a6;
    color: #065f46;
}

.list-group-item-warning {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #92400e;
}

/* ===== FORMS ===== */
.form-control {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 15px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

    .form-control:focus {
        border-color: #0ea5e9;
        outline: none;
        box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
    }

.form-group {
    margin-bottom: 20px;
}

.control-label {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    display: block;
}

/* ===== TABLES ===== */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

    .table th,
    .table td {
        padding: 12px;
        text-align: left;
        border-bottom: 1px solid #e5e7eb;
    }

    .table th {
        background: #f8fafc;
        font-weight: 600;
        color: #1a1a1a;
    }

.table-striped tbody tr:nth-child(odd) {
    background: #f8fafc;
}

.table-hover tbody tr:hover {
    background: #f1f5f9;
}

/* ===== FOOTER ===== */
footer {
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    margin-top: 60px;
    padding: 30px 0;
    text-align: center;
}

    footer p {
        margin: 0;
        color: #64748b;
    }

/* ===== GRID SYSTEM (Simple) ===== */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-4,
.col-md-6,
.col-md-12 {
    padding: 0 15px;
    box-sizing: border-box;
}

.col-md-4 {
    width: 33.33%;
}

.col-md-6 {
    width: 50%;
}

.col-md-12 {
    width: 100%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    body {
        padding-top: 65px;
        font-size: 14px;
    }

    .navbar {
        height: auto;
        min-height: 60px;
    }

        .navbar > .container {
            flex-wrap: wrap;
        }

    .navbar-brand {
        font-size: 20px;
        line-height: 60px;
    }

    .navbar-toggle {
        display: inline-block;
    }

    /* Hidden by default on mobile, shown when .in class is toggled by JS */
    .navbar-collapse.collapse {
        display: none !important;
        flex-basis: 100%;
    }

        .navbar-collapse.collapse.in {
            display: flex !important;
        }

    .navbar-nav {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

        .navbar-nav > li {
            display: block;
            width: 100%;
        }

            .navbar-nav > li > a {
                padding: 12px 15px;
                line-height: normal;
            }

    .jumbotron {
        padding: 40px 20px;
    }

        .jumbotron h1 {
            font-size: 2rem;
        }

        .jumbotron .lead {
            font-size: 1rem;
        }

    .col-md-4,
    .col-md-6,
    .col-md-12 {
        width: 100%;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.text-muted {
    color: #64748b;
}

.text-primary {
    color: #0ea5e9;
}

.text-success {
    color: #14b8a6;
}

.text-warning {
    color: #f59e0b;
}

.text-danger {
    color: #ef4444;
}
