@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");
@import url('https://fonts.googleapis.com/css2?family=Saira:ital,wght@0,100..900;1,100..900&display=swap');
:root {
    --primary-blue: #0066CC;
    --primary-hover: #0052a3;
    --secondary-bg: #F0F4F8;
    --white: #FFFFFF;
    --text-dark: #1E293B;
    --text-light: #64748B;
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Saira", sans-serif !important;
    background-color: var(--secondary-bg);
    color: var(--text-dark);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
}

.dashboard-container {
    background: var(--white);
    width: 100%;
    max-width: 1000px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    animation: fadeIn 0.5s ease-out;
}

/* Header */
.dashboard-header {
    background:#253b6e;
    color: var(--white);
    padding: 24px 32px;
}

.dashboard-header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color:#fff !important;
    margin: 0px !important;
}

/* Tabs Navigation */
.tabs-nav {
    display: flex;
    border-bottom: 2px solid var(--secondary-bg);
    background: #f8fafc;
    padding: 12px;
    overflow-x: auto;
    gap: 10px;
}

.tab-btn {
background: transparent;
    border: none;
    padding: 6px 12px;
    font-family: inherit;
    font-size: clamp(13px, 2vw, 15px);
    font-weight: 500;
    color: #303234;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    border: 1px solid #b8b8b8;
    border-radius: 10px;
}

.tab-btn:hover {
   border: 1px solid #253b6e !important;
    border-radius: 10px !important;
    color: #253b6e !important;
    background-color: #fff !important;
}

.tab-btn.active {
    border: 1px solid #253b6e !important;
    border-radius: 10px !important;
    color: #253b6e !important;
    background-color: #253b6e14 !important;
}

/* Content Area */
.tab-content {
    padding:20px;
    background: var(--white);
    min-height: 400px;
}

.tab-pane {
    display: none;
    animation: slideUp 0.3s ease-out;
}

.tab-pane.active {
    display: block;
}

/* Section Controls */
.section-header {
    margin-bottom:20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.section-header.with-controls {
    /* flex-direction: row;
    justify-content: space-between;
    align-items: center; */
    flex-wrap: wrap;
}

.section-header h2 {
    color: #253b6e;
    font-size: 18px;
    font-weight: 600;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.control-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
}

.theme-select {
    padding: 8px 36px 8px 12px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text-dark);
    background-color: var(--white);
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
    /* Custom simple arrow if needed, mostly default is fine for MVP */
}

.theme-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* Tables */
.table-container {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    text-align: left;
}

th,
td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: #f8fafc;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background-color: #f1f5f9;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Status Badges */
.status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status.good {
    background-color: #dcfce7;
    color: #166534;
}

.status.warning {
    background-color: #fef9c3;
    color: #854d0e;
}

.status.danger {
    background-color: #fee2e2;
    color: #991b1b;
}

/* Export Buttons */
.btn-export {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 6px 10px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-export:hover {
    background-color: var(--secondary-bg);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

/* Utilities */
.text-center {
    text-align: center;
}

/* Icon Spacing */
.tab-btn i,
.section-header h2 i,
.dashboard-header h1 i {
    margin-right: 8px;
}

/* Table Caption */
caption {
    color: #444444;
    font-size: 17px;
    /* font-weight: 600; */
    padding: 12px;
    text-align: left;
    border-bottom: 2px solid var(--secondary-bg);
    margin-bottom: 8px;
}
.swoc-container{
    border:none !important;
}
.swoc-container{
    background-color: #ffffff00 !important;
    padding: 0 !important;
}
.swoc-box ul li{
    padding: 10px !important;
    background: white;
    font-size: 15px;
    margin-top: 10px;
    border-radius: 5px;
    font-weight: 500;
}
.swoc-box h4 i{
    font-size: 23px;
}
.swoc-box h4{
    display: flex;
    align-items: center;
    gap:10px;
    font-size: 22px;
}
@media (max-width: 600px) {
    .swoc-grid {
        grid-template-columns: 1fr !important;
    }
}
.dashboard-container select{
    border: none !important;
    background: #ebedf2 !important;
    font-weight: 500;
    padding: 6px 10px !important;
}
.exp-pdf{
    border-color: #cf0000 !important;
    color: #cf0000 !important;
    background: #fff5f5;
}
.exp-pdf:hover{
    background-color: #cf0000 !important;
    color: #fff !important;
}
.exp-excel{
    border-color: #006c14 !important;
    color: #006c14 !important;
    background: #effff2;
}
.exp-excel:hover{
    background-color: #006c14 !important;
    color: #fff !important;
}
#btn-swoc-container .btn-export{
    background-color: #253b6e !important;
}
#btn-swoc-container .btn-export:hover{
    background-color: #1a2c54 !important;
}