@font-face {
    font-family: 'SolaimanLipi';
    src: local('SolaimanLipi'),
         url('../fonts/SolaimanLipi.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

html, body {
    background: #f5f7fb;
    font-family: 'SolaimanLipi', Arial, sans-serif;
    font-synthesis: weight;
}

.login-header {
    background: #fff;
}

.bg-purple {
    background-color: #6f42c1 !important;
}

.text-purple {
    color: #6f42c1 !important;
}

.btn-purple {
    background-color: #6f42c1;
    border-color: #6f42c1;
    color: #fff;
}

.btn-purple:hover {
    background-color: #5a32a3;
    border-color: #5a32a3;
}

.brand-logo {
    width: 52px;
    height: 52px;
    font-size: 0.9rem;
}

.brand-icon {
    width: 56px;
    height: 56px;
}

.icon-box {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(111, 66, 193, 0.1);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
}

.login-page {
    min-height: calc(100vh - 150px);
}

.login-chart-card,
.login-form-card {
    border: none;
}

.login-chart-placeholder {
    width: 100%;
    min-height: 320px;
    background: linear-gradient(135deg, #6f42c1 0%, #580f9d 100%);
    border-radius: 28px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07);
}

.legend-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.bg-orange {
    background: #ff7a00;
}

.bg-teal {
    background: #20c997;
}

.footer {
    background: #fff;
}

.sidebar {
    width: 260px;
    min-height: 100vh;
    flex-shrink: 0;
}

.flex-grow-1 {
    min-width: 0;
}

.card {
    background: #fff;
}

.nav-link.active {
    background-color: #0d6efd;
}

.sidebar-toggle-icon {
    display: inline-block;
    transition: transform 0.2s ease;
}

.sidebar-toggle[aria-expanded="true"] .sidebar-toggle-icon {
    transform: rotate(-180deg);
}

.nav-icon {
    width: 1.5em;
    display: inline-block;
    text-align: center;
    margin-right: 0.85rem;
}

.table thead th {
    font-weight: 700;
}

.modal-dialog-scrollable .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

.form-label {
    font-weight: 600;
}

.form-section {
    background: #f8f9fb;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem 1rem 0.25rem;
    margin-bottom: 1.25rem;
}

.form-section-title {
    font-weight: 700;
}
