/* =========================================
   GFTS - Main Application CSS
   ========================================= */

body {
    background-color: #f5f6f8;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}


/* =========================================
   Navbar
   ========================================= */

.app-navbar {
    min-height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}


/* =========================================
   Main Container
   ========================================= */

.main-container {
    display: flex;
    padding-top: 60px;
    min-height: 100vh;
}


/* =========================================
   Desktop Sidebar
   ========================================= */

.sidebar {
    width: 250px;
    background: #212529;
    color: #fff;

    position: fixed;
    top: 60px;
    bottom: 0;
    left: 0;

    overflow-y: auto;

    z-index: 1020;
}


/* Sidebar scrollbar */

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #495057;
}


/* =========================================
   Sidebar Menu
   ========================================= */

.sidebar-menu {
    padding: 15px 10px 30px;
}


.menu-title {
    font-size: 11px;
    font-weight: bold;
    color: #adb5bd;

    padding: 18px 12px 7px;

    letter-spacing: 0.7px;
}


.sidebar-link {
    display: flex;
    align-items: center;

    text-decoration: none;

    color: #ced4da;

    padding: 10px 12px;

    margin-bottom: 2px;

    border-radius: 5px;

    font-size: 14px;

    transition: all 0.2s ease;
}


.sidebar-link i {
    width: 25px;
    font-size: 16px;
}


.sidebar-link:hover {
    background-color: #343a40;
    color: #fff;
}


.sidebar-link.active {
    background-color: #0d6efd;
    color: #fff;
}


/* =========================================
   Content
   ========================================= */

.content-wrapper {
    margin-left: 250px;
    width: calc(100% - 250px);
}


.content {
    padding: 25px;
}


/* =========================================
   Page Header
   ========================================= */

.page-header {
    margin-bottom: 25px;
}


.page-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
}


.page-subtitle {
    color: #6c757d;
    font-size: 14px;
}


/* =========================================
   Dashboard Cards
   ========================================= */

.dashboard-card {
    border: none;
    border-radius: 10px;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);

    transition: transform 0.2s ease;
}


.dashboard-card:hover {
    transform: translateY(-2px);
}


.dashboard-card .card-body {
    padding: 20px;
}


.kpi-title {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 8px;
}


.kpi-value {
    font-size: 27px;
    font-weight: 700;
}


.kpi-icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    font-size: 22px;
}


/* =========================================
   Dashboard Sections
   ========================================= */

.dashboard-section {
    background: #fff;

    border-radius: 10px;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);

    padding: 20px;

    height: 100%;
}


.section-title {
    font-size: 17px;
    font-weight: 600;

    margin-bottom: 18px;

    border-bottom: 1px solid #eee;

    padding-bottom: 12px;
}


/* =========================================
   Tables
   ========================================= */

.table thead th {
    font-size: 13px;
    white-space: nowrap;
}


.table tbody td {
    font-size: 13px;
    vertical-align: middle;
}


/* =========================================
   Forms
   ========================================= */

.form-label {
    font-size: 14px;
    font-weight: 500;
}


.form-control,
.form-select {
    font-size: 14px;
}


.card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}


/* =========================================
   Mobile
   ========================================= */

@media (max-width: 991.98px) {

    .content-wrapper {
        margin-left: 0;
        width: 100%;
    }

    .content {
        padding: 15px;
    }

    .page-title {
        font-size: 21px;
    }

}


/* =========================================================
   GTS LOGIN PAGE
========================================================= */

.bg-login {
    min-height: 100vh;
    margin: 0;

    background-image:
        url('../images/gts-login-bg.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* Dark overlay */

.login-overlay {
    position: fixed;
    inset: 0;

    background: rgba(5, 15, 30, 0.48);

    z-index: 1;
}


/* Login container */

.login-container {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 430px;

    padding: 20px;
}


/* Login card */

.login-card {
    background: rgba(255, 255, 255, 0.96);

    border-radius: 18px;

    padding: 35px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.30);

    backdrop-filter: blur(8px);
}


/* GTS title */

.login-card h2 {
    color: #0b2545;
    letter-spacing: 1px;
}


/* Form controls */

.login-card .form-control {
    height: 48px;

    border-radius: 10px;

    border: 1px solid #d8dee8;
}


.login-card .form-control:focus {
    border-color: #0d6efd;

    box-shadow:
        0 0 0 0.2rem rgba(13, 110, 253, 0.12);
}


/* Login button */

.login-card .btn-primary {
    height: 48px;

    border-radius: 10px;

    font-weight: 600;
}

@media (max-width: 576px) {

    .login-container {
        padding: 15px;
    }

    .login-card {
        padding: 28px 22px;
        border-radius: 14px;
    }

}