﻿
azure-page {
    width: 95%;
    max-width: 1600px; /* prevents it from stretching too far on ultra-wide monitors */
    margin: auto;
}

/* Azure-style page section card */
.admin-section {
    background: #ffffff;
    border-radius: 6px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    border: 1px solid #e5e5e5;
}

/* Section title */
.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #323130;
}

/* Filter panel */

/* Outer section container */
.azure-filter-section {
    border: 1px solid #d0d7e3;
    background: #f7f9fc;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Header */
.azure-filter-header {
    padding: 12px 18px;
    background: #eef3fc;
    border-bottom: 1px solid #d0d7e3;
    font-weight: 600;
    color: #2b579a;
    font-size: 1.1rem;
    border-radius: 10px 10px 0 0;
}

/* Body */
.azure-filter-body {
    padding: 20px;
}

/* Select2 refinement */
.select2-container--default .select2-selection--single {
    height: 38px !important;
    padding: 5px 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
}


.filter-bar {
    background: #f8f9fb;
    border: 1px solid #e5e5e5;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.filter-label {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* Table */

.table td .btn-sm {
    padding: 4px 8px;
    font-size: 0.9rem;
}

.table td i {
    font-size: 1rem;
}
/* fixes Bootstrap overrides */
.table > :not(caption) > * > *:first-child {
    padding-left: 20px !important;
}

/* direct table use */
table > thead > tr > th:first-child,
table > tbody > tr > td:first-child {
    padding-left: 20px !important;
}

/* azure-card table */
.azure-card th:first-child,
.azure-card td:first-child {
    padding-left: 20px !important;
}

.azure-table {
    width: 100%;
}

    .azure-table thead {
        background: #f3f6f9;
        border-bottom: 2px solid #ddd;
    }

    .azure-table th {
        font-weight: 600;
        padding: 12px;
        color: #333;
    }

    .azure-table td {
        padding: 12px;
        vertical-align: middle;
    }

    .azure-card table th:first-child,
    .azure-card table td:first-child {
        padding-left: 20px !important;
    }

/* Azure buttons */
.btn-azure {
    background-color: #0078d4 !important;
    border-color: #0078d4 !important;
    color: #ffffff !important;
    border-radius: 4px;
}

    .btn-azure:hover {
        background-color: #006cbe !important;
    }

.btn-light-azure {
    background: #e5f1fb !important;
    border: 1px solid #cde3f8 !important;
    color: #005a9e !important;
}

/* Badges */
.badge-status {
    padding: 6px 10px;
    font-size: 0.8rem;
    border-radius: 4px;
}

.badge-active {
    background: #d4edda;
    color: #155724;
}

.badge-disabled {
    background: #f8d7da;
    color: #721c24;
}

table th:first-child {
    padding-left: 20px !important;
}

.portal-topnav {
    background: #ffffff;
    height: 60px;
    border-bottom: 1px solid #e5e5e5;
}

.portal-top-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a3c8c;
}

.portal-logo {
    height: 34px;
}

.portal-leftnav {
    width: 240px;
    background: #f8f9fc;
    min-height: calc(100vh - 60px);
    border-right: 1px solid #e5e5e5;
}
