button,
.btn,
.vendor-btn {
    font-family: var(--font-family-primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
}

/* Product Titles */
.product-title,
.vendor-name {
    font-family: var(--font-family-primary);
    font-weight: 600;
    font-size: 1.2rem;
    color: #111;
}

/* Prices / Highlighted Text */
.price,
.discount {
    font-family: var(--font-family-primary);
    font-weight: 700;
    color: var(--primary-color);
}

/* Product Codes / Technical Info */
.code,
.sku {
    font-family: var(--font-family-monospace);
    font-weight: 400;
    font-size: 0.85rem;
    color: #888;
}

/* Small UI Labels / Tags */
.label,
.badge {
    font-family: var(--font-family-primary);
    font-weight: 500;
    font-size: 0.8125rem;
    text-transform: uppercase;
}

/* --- Responsive Typography --- */
@media (max-width: 1200px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.85rem;
    }

    h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    body {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    body {
        font-size: 0.9rem;
    }
}

.table-heading-content .buy-button {
    background: #008673;
    border-color: #008673;
    display: block;
    padding: 8px 0;
    border-radius: 8px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 23px;
    color: #fff;
    font-weight: 700;
    font-family: var(--font-family-primary);
    text-align: center;
    width: 166px;
    cursor: pointer;
}

/* Sidebar Menu Style
.menu-name .nav-treeview {
    color: var(--header-link-color) !important;
    font-weight: 400 !important;
    padding-left: 15px !important;
} */

/* Forms */

.module-select2 {
    height: 250px !important;
}

/* Table */
table .table-active {
    background: rgb(6, 200, 6) !important;
    color: #fff !important;
    font-weight: 600;
}

table .table-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;
}

/* Buttons */
.btn .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    height: 38px !important;
    border-radius: 0.2rem;
}

/* Employment Type management styling */
.table-employment-types th {
    border-top: none;
    font-weight: 600;
    font-size: 0.875rem;
}

.table-employment-types .btn-group .btn {
    border-radius: 0.25rem;
    margin-right: 2px;
}

.employment-type-modal .modal-content {
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.employment-type-form .form-control:focus {
    border-color: #4e73df;
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

/* Badge */
.badge {
    font-size: 0.8125rem;
    padding: 6px 10px;
}

.badge .bg-info {
    background-color: var(--bgColor-default);
    color: #fff;
}

/* Table inside Card adjustments */
.table-dark th {
    background-color: #343a40;
    border-color: #454d55;
}

.fw-bold {
    font-weight: 600 !important;
}

/* Action Button Styles - Consistent with Student Portal Theme */
.btn-view {
    background: #0092fa;
    color: #ffffff;
    border: 1px solid #0092fa;
}

.btn-view:hover {
    background: #1565c0;
    color: white;
    border-color: #1565c0;
}

.btn-edit {
    background: #00cf00;
    color: #ffffff;
    border: 1px solid #00cf00;
}

.btn-edit:hover {
    background: #2e7d32;
    color: white;
    border-color: #2e7d32;
}

.btn-delete {
    background: #f72a49;
    color: #ffffff;
    border: 1px solid #f72a49;
}

.btn-delete:hover {
    background: #c62828;
    color: white;
    border-color: #c62828;
}

/* Focus states for accessibility */
.btn-edit:focus,
.btn-delete:focus,
.btn-view:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ============================================
   MODERN PAGE HEADER & BREADCRUMB REDESIGN
   Premium styling with white background
   ============================================ */

/* Content Header Container */
/* Page Header - White Background with Dark Text */
.page-header {
    background: none;
    padding: 12px;
    color: var(--primary-color) !important;
    margin-bottom: 0;
    position: relative;
    overflow: visible;
    top: 0;
    width: 100%;
}

/* Title and Description Container */
.page-header .ph-title-and-description {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--primary-color) !important;
    letter-spacing: 0;
    text-shadow: none;
    overflow-wrap: anywhere;
}

.page-subtitle {
    font-size: 0.95rem;
    opacity: 1;
    color: #666 !important;
    font-weight: 400;
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

.page-header p {
    opacity: 1;
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #666 !important;
}

/* Action Buttons Container */
.page-header .ph-action-buttons {
    position: relative;
    z-index: 1;
    gap: 10px;
    flex-wrap: wrap;
}

/* Breadcrumb Styling */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.breadcrumb-item {
    color: #666;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: var(--third-color);
}

.breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 600;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #aaa;
    content: "›";
    font-size: 1.1rem;
    padding: 0 8px;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: ">";
}

/* Dark Page Header Variant (for specific pages) */
.page-header.page-header-dark {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-primary-color) 50%, #0d0035 100%);
    color: #fff !important;
    box-shadow: 0 8px 30px rgba(var(--primary-color-rgb), 0.25);
    border: none;
}

.page-header.page-header-dark::before {
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header.page-header-dark .page-title {
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.page-header.page-header-dark .page-subtitle,
.page-header.page-header-dark p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.page-header.page-header-dark .ph-action-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.page-header.page-header-dark .ph-action-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Page Header with Icon Support */
.page-header .page-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-primary-color) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin-right: 1rem;
    box-shadow: 0 4px 12px rgba(var(--primary-color-rgb), 0.25);
}

.page-header .page-icon i {
    color: #fff !important;
}

/* Mini Header Variant */
.page-header.page-header-mini {
    padding: 1rem 1.5rem;
    border-radius: 12px;
}

.page-header.page-header-mini .page-title {
    font-size: 1.25rem;
}

.page-header.page-header-mini .page-subtitle {
    font-size: 0.85rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .page-header {
        padding: 0.75rem 0;
        border-radius: 0;
    }

    .page-header > .d-flex {
        flex-direction: column;
        align-items: stretch !important;
        gap: 0.75rem;
    }

    .page-header .ph-action-buttons {
        width: 100%;
        justify-content: flex-start !important;
        flex-wrap: wrap;
    }

    .page-header .ph-action-buttons .btn {
        max-width: 100%;
        white-space: normal;
    }

    .page-title {
        font-size: 1.25rem;
    }

    .page-subtitle {
        font-size: 0.85rem;
    }

    .page-header::before {
        display: none;
    }
}

@media (max-width: 576px) {
    .page-header .ph-action-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Animation on Page Load */
@keyframes headerSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-header {
    animation: headerSlideIn 0.4s ease-out;
}

/* Modern Card Design */
.modern-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    border: none;
    transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
}

.modern-card:hover {
    box-shadow: var(--hover-shadow);
}

/* Filter Tabs - Complete Redesign */
.employee-tabs {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    margin-bottom: 2rem;
}

.nav-tabs-modern {
    border: none;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.nav-tabs-modern .nav-item {
    flex: 1;
}

.nav-tabs-modern .nav-link {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    color: #6c757d;
    font-weight: 600;
    padding: 1rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.nav-tabs-modern .nav-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    transition: left 0.3s ease;
    z-index: -1;
}

.nav-tabs-modern .nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #495057;
    border-color: #dee2e6;
}

.nav-tabs-modern .nav-link.active {
    background: var(--success-gradient);
    border-color: transparent;
    border: none;
    color: white;
}

.nav-tabs-modern .nav-link.active::before {
    left: 0;
}

.tab-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: inherit;
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 0.5rem;
    min-width: 25px;
    text-align: center;
}

.nav-tabs-modern .nav-link:not(.active) .tab-badge {
    background: #e9ecef;
    color: #6c757d;
}

.tab-icon {
    font-size: 1.2rem;
    margin-right: 0.5rem;
    display: inline-block;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-modern {
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-modern-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(46, 28, 123, 0.3);
}

.btn-modern-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 28, 123, 0.4);
    color: white;
    background-color: var(--third-color) !important;
}

.btn-modern-info {
    background: var(--info-gradient);
    color: #fff;
    box-shadow: 0 4px 15px rgba(116, 185, 255, 0.3);
}

.btn-modern-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(116, 185, 255, 0.4);
    color: #ffffff;
    background: #0984e3 !important;
}

/* Search Section */
.search-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.search-input-group {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.search-input {
    border-radius: 50px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 3rem 0.75rem 1.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.search-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    outline: none;
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-gradient);
    border: none;
    border-radius: 50px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Employee Table Improvements */
.employee-table-container {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

/* Action Buttons */
.action-btn {
    border: none;
    border-radius: 8px;
    padding: 0.5rem;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-view-modern {
    background: linear-gradient(135deg, #0b9dce 0%, #2f80ed 100%);
    color: white;
}

.btn-edit-modern {
    background: linear-gradient(135deg, #17c200 0%, #19547b 100%);
    color: white;
}

.btn-delete-modern {
    background: linear-gradient(135deg, #ff4b4b 0%, #ee5a24 100%);
    color: white;
}

.action-btn:hover {
    transform: translateY(-2px) scale(1.1);
}

.btn-view-modern:hover {
    background: linear-gradient(135deg, #0b9dce 0%, #2f80ed 100%) !important;
}

.btn-edit-modern:hover {
    background: linear-gradient(135deg, #17c200 0%, #19547b 100%);
    color: white;
}

.btn-delete-modern:hover {
    background: linear-gradient(135deg, #ff4b4b 0%, #ee5a24 100%);
}


/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.empty-state-icon {
    font-size: 4rem;
    color: #e9ecef;
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    color: #6c757d;
    margin-bottom: 1rem;
    font-weight: 600;
}

.empty-state p {
    color: #adb5bd;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-tabs-modern {
        flex-direction: column;
    }

    .nav-tabs-modern .nav-link {
        margin-bottom: 0.5rem;
    }

    .action-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .search-input-group {
        max-width: 100%;
    }
}

/* Modal Improvements */
.modal-modern .modal-content {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--hover-shadow);
}

.modal-modern .modal-header {
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    border: none;
}

.modal-modern .modal-header .btn-close {
    filter: invert(1);
}

.modal-modern .modal-body,
.modal .modal-body {
    /* padding: 2rem; */
    position: relative;
    flex: 1 1 auto;
    height: 600px;
}

/* Import type debugging */
#enhanced_info {
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
}

#standard_info {
    border-left: 4px solid #28a745;
    border-radius: 8px;
}

/* Profile Picture - Student Portal Theme */
.profile-picture {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--hairline-color);
    transition: all 0.3s ease;
}

.profile-picture:hover {
    transform: scale(1.1);
    border-color: var(--primary-color);
}

.profile-initials {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    border: 3px solid var(--hairline-color);
    transition: all 0.3s ease;
}

.profile-initials:hover {
    transform: scale(1.1);
    border-color: var(--primary-color);
}

/* Status Badges */
.status-badge-modern {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.status-active {
    background: linear-gradient(135deg, #00e007 0%, #26ae00 100%);
    color: white;
    font-weight: 500;
}

.status-terminated {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
}

.status-inactive {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    color: white;
}

.status-on-leave {
    background: linear-gradient(135deg, #fdcb6e 0%, #e17055 100%);
    color: white;
}

.status-suspended {
    background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
    color: white;
}


/* END @media not all — table-modern */

/* Employee blades styles */
.employee-profile-card {
    border: none;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

.employee-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 20px auto;
}

.info-label {
    font-weight: 600;
    color: #5a5c69;
    margin-bottom: 0.25rem;
}

.info-value {
    color: #3a3b45;
    margin-bottom: 1rem;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

/* .section-title {
    color: #151f3f;
    border-bottom: 2px solid #df4e4e;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
} */
.status-badge {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.quick-actions .btn {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.delivery-stats {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.stat-card {
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: transform 0.2s;
}

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

.delivery-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.table-hover tbody tr:hover {
    background-color: rgba(var(--primary-color-rgb), 0.05);
}

.progress {
    height: 8px;
    border-radius: 10px;
}

.employee-status-badge {
    margin-top: 1rem;
}

.quick-contact-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Small Button Styles - Global */
.btn-xs {
    padding: 0.15rem 0.35rem;
    font-size: 0.75rem;
    line-height: 1.35;
    border-radius: 0.25rem;
    font-weight: 500;
    letter-spacing: 0.025em;
    transition: all 0.15s ease-in-out;
}

/* Small button variants maintaining original styling but smaller size */
.btn-xs.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-xs.btn-primary:hover,
.btn-xs.btn-primary:focus {
    background-color: var(--student-primary-dark);
    border-color: var(--student-primary-dark);
    color: white;
    box-shadow: 0 2px 6px rgba(46, 28, 123, 0.3);
    transform: translateY(-1px);
}

.btn-xs.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.btn-xs.btn-secondary:hover,
.btn-xs.btn-secondary:focus {
    background-color: #6B0000;
    border-color: #6B0000;
    color: white;
    box-shadow: 0 2px 6px rgba(139, 0, 0, 0.3);
    transform: translateY(-1px);
}

.btn-xs.btn-success {
    background-color: var(--student-success);
    border-color: var(--student-success);
    color: white;
}

.btn-xs.btn-success:hover,
.btn-xs.btn-success:focus {
    background-color: #059669;
    border-color: #059669;
    color: white;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
    transform: translateY(-1px);
}

.btn-xs.btn-danger {
    background-color: var(--delete-button-bg);
    border-color: var(--delete-button-bg);
    color: white;
}

.btn-xs.btn-danger:hover,
.btn-xs.btn-danger:focus {
    background-color: var(--delete-button-hover-bg);
    border-color: var(--delete-button-hover-bg);
    color: white;
    box-shadow: 0 2px 6px rgba(186, 33, 33, 0.3);
    transform: translateY(-1px);
}

.btn-xs.btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #212529;
}

.btn-xs.btn-warning:hover,
.btn-xs.btn-warning:focus {
    background-color: #e0a800;
    border-color: #d39e00;
    color: #212529;
    box-shadow: 0 2px 6px rgba(255, 193, 7, 0.3);
    transform: translateY(-1px);
}

.btn-xs.btn-info {
    background-color: #17a2b8;
    border-color: #17a2b8;
    color: white;
}

.btn-xs.btn-info:hover,
.btn-xs.btn-info:focus {
    background-color: #138496;
    border-color: #117a8b;
    color: white;
    box-shadow: 0 2px 6px rgba(23, 162, 184, 0.3);
    transform: translateY(-1px);
}

.btn-xs.btn-light {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
    color: #495057;
}

.btn-xs.btn-light:hover,
.btn-xs.btn-light:focus {
    background-color: #e2e6ea;
    border-color: #dae0e5;
    color: #495057;
    box-shadow: 0 2px 6px rgba(248, 249, 250, 0.3);
    transform: translateY(-1px);
}

.btn-xs.btn-dark {
    background-color: #343a40;
    border-color: #343a40;
    color: white;
}

.btn-xs.btn-dark:hover,
.btn-xs.btn-dark:focus {
    background-color: #23272b;
    border-color: #1d2124;
    color: white;
    box-shadow: 0 2px 6px rgba(52, 58, 64, 0.3);
    transform: translateY(-1px);
}

/* Outline variants for small buttons */
.btn-xs.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: transparent;
}

.btn-xs.btn-outline-primary:hover,
.btn-xs.btn-outline-primary:focus {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 2px 6px rgba(46, 28, 123, 0.3);
    transform: translateY(-1px);
}

.btn-xs.btn-outline-secondary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    background-color: transparent;
}

.btn-xs.btn-outline-secondary:hover,
.btn-xs.btn-outline-secondary:focus {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    box-shadow: 0 2px 6px rgba(139, 0, 0, 0.3);
    transform: translateY(-1px);
}

/* Small button icon spacing */
.btn-xs i {
    font-size: 0.7rem;
    margin-right: 0.25rem;
}

.btn-xs i:only-child {
    margin-right: 0;
}

/* Small button group styling */
.btn-group-xs>.btn,
.btn-group-vertical-xs>.btn {
    padding: 0.15rem 0.35rem;
    font-size: 0.75rem;
    line-height: 1.35;
    border-radius: 0.25rem;
}

.btn span{
    color: #fff;
}

.btn-tool{
    width: 40px !important;
    padding: 0.25rem 0.5rem !important;
}

button#btnToday {
    width: 100%;
    text-align: center;
    color: #fff !important;
}

/* Employee Show Styles */
/* Modern Employee Profile Styles - Student Portal Theme */
.employee-header-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--student-primary-dark) 100%);
    position: relative;
    padding: 1rem 0;
    margin: 8px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.header-content {
    position: relative;
    z-index: 2;
    padding: 0 2rem;
}

.employee-avatar-large {
    position: relative;
    display: inline-block;
}

.avatar-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.avatar-status {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: #10b981;
    border: 3px solid white;
    border-radius: 50%;
}

.employee-name {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin: 0px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.employee-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin: 0.5rem 0;
    font-weight: 500;
}

.employee-department {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 0;
    font-weight: 400;
}

.header-actions {
    display: flex;
    align-items: flex-start;
}

.main-header .dropdown-menu {
    background: white;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
}

.main-header .dropdown-item {
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 0.5rem;
    margin: 0.25rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: #f8fafc;
    color: #1f2937;
}

.employee-content-section {
    padding: 0 1rem 1rem 1rem;
}

.stat-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.stat-card .stat-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    font-size: 1.5rem;
    color: white;
    margin: 1rem auto;
}

.stat-info h4 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #1f2937;
}

.stat-info p {
    color: #6b7280;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

.modern-tabs {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.tab-nav {
    display: flex;
    background: #f8fafc;
    overflow-x: auto;
}

.tab-nav.vertical {
    flex-direction: column;
    border-right: 1px solid #e5e7eb;
    border-bottom: none;
    min-height: 400px;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    color: #6b7280;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    text-align: left;
    width: 100%;
    justify-content: flex-start;
}

.tab-nav.vertical .tab-btn {
    border-bottom: none;
    border-right: 3px solid transparent;
    border-radius: 0;
    margin-bottom: 2px;
}

.tab-btn:hover {
    color: #374151;
    background: rgba(99, 102, 241, 0.05);
}

.tab-btn.active {
    color: #6366f1;
    background: white;
    border-bottom-color: #6366f1;
}

.tab-nav.vertical .tab-btn.active {
    border-bottom-color: transparent;
    border-right-color: #6366f1;
    background: white;
    position: relative;
}

.tab-nav.vertical .tab-btn.active::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: white;
}

.tab-content {
    padding: 2rem;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.info-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.info-card .card-header {
    background: #f8fafc;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.info-card .card-header h3 {
    margin: 0;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.info-card .card-body {
    padding: 1.5rem;
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.info-item value {
    display: block;
    color: #1f2937;
    font-size: 1rem;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.team-member-card {
    background: #f8fafc;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-member-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.team-member-avatar {
    text-align: center;
    margin-bottom: 1rem;
}

.team-member-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team-member-avatar .avatar-placeholder {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 1.5rem;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team-member-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.team-member-info h4 {
    margin: 0 0 0.5rem 0;
    color: #1f2937;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

.team-member-info p {
    margin: 0.25rem 0;
    color: #6b7280;
    font-size: 0.9rem;
    text-align: center;
}

.team-member-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
    justify-content: center;
}

.team-member-actions .view-profile-btn,
.team-member-actions .contact-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-profile-btn {
    background: #6366f1;
    color: white;
}

.view-profile-btn:hover {
    background: #4f46e5;
    color: white;
    transform: translateY(-1px);
}

.team-member-actions .contact-btn {
    background: #e5e7eb;
    color: #374151;
}

.team-member-actions .contact-btn:hover {
    background: #d1d5db;
    color: #1f2937;
    transform: translateY(-1px);
}

/* View Toggle Buttons */
.view-toggle-buttons {
    display: flex;
    gap: 0.5rem;
    background: #f1f5f9;
    padding: 0.25rem;
    border-radius: 0.5rem;
}

.view-toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    border-radius: 0.375rem;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-toggle-btn:hover {
    color: #334155;
    background: rgba(99, 102, 241, 0.1);
}

.view-toggle-btn.active {
    background: white;
    color: #6366f1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Team View Containers */
.team-view {
    display: none;
}

.team-view.active {
    display: block;
}

/* Org Chart Styles */
.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    min-height: 400px;
}

.org-chart-manager {
    margin-bottom: 3rem;
}

.org-node {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    min-width: 200px;
    transition: all 0.3s ease;
    position: relative;
}

.org-node:hover {
    border-color: #6366f1;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
    transform: translateY(-2px);
}

.manager-node {
    border-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
}

.manager-node:hover {
    border-color: #059669;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15);
}

.report-node {
    border-color: #6366f1;
    background: linear-gradient(135deg, #eef2ff 0%, #f1f5f9 100%);
}

.org-node-avatar {
    margin-bottom: 0.75rem;
}

.org-node-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.org-node-avatar .avatar-placeholder {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.org-node-avatar .avatar-placeholder.manager {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.org-node-avatar .avatar-placeholder.report {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.org-node-info h4,
.org-node-info h5 {
    margin: 0 0 0.25rem 0;
    color: #1f2937;
    font-weight: 600;
}

.org-node-info h4 {
    font-size: 1.1rem;
}

.org-node-info h5 {
    font-size: 1rem;
}

.org-node-info p {
    margin: 0.125rem 0;
    color: #6b7280;
    font-size: 0.8125rem;
}

.manager-label {
    color: #10b981 !important;
    font-weight: 600 !important;
    font-size: 0.8125rem !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.org-node-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 0.75rem;
}

.org-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.org-action-btn.view-btn {
    background: #6366f1;
    color: white;
}

.org-action-btn.view-btn:hover {
    background: #4f46e5;
    color: white;
    transform: scale(1.1);
}

.org-action-btn.email-btn {
    background: #10b981;
    color: white;
}

.org-action-btn.email-btn:hover {
    background: #059669;
    color: white;
    transform: scale(1.1);
}

/* Connection Lines */
.org-connection {
    position: relative;
    height: 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.connection-line {
    background: #d1d5db;
}

.connection-line.vertical {
    width: 2px;
    height: 2rem;
}

.connection-line.horizontal {
    position: absolute;
    top: 50%;
    height: 2px;
    width: 60%;
    transform: translateY(-50%);
}

.connection-line.vertical-short {
    width: 2px;
    height: 1.5rem;
    background: #d1d5db;
    margin: 0 auto 0.5rem auto;
}

.org-chart-reports {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    max-width: 100%;
}

.org-node-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Responsive Design */
@media (max-width: 991px) {
    .tab-nav.vertical {
        flex-direction: row;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        min-height: auto;
        overflow-x: auto;
    }

    .tab-nav.vertical .tab-btn {
        border-right: none;
        border-bottom: 3px solid transparent;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .tab-nav.vertical .tab-btn.active {
        border-right-color: transparent;
        border-bottom-color: #6366f1;
    }

    .tab-nav.vertical .tab-btn.active::after {
        display: none;
    }
}

@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .employee-header-section {
        padding: 2rem 0;
        margin: -1rem -1rem 1.5rem -1rem;
    }

    .header-content {
        padding: 0 1rem;
    }

    .employee-basic-info .employee-name {
        font-size: 2rem;
    }

    .quick-contact-actions {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .action-buttons {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .tab-content {
        padding: 1rem;
    }

    .employee-content-section {
        padding: 0 1rem 1rem 1rem;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Org Chart Responsive */
    .view-toggle-buttons {
        flex-direction: column;
        gap: 0.25rem;
    }

    .view-toggle-btn {
        justify-content: center;
        padding: 0.75rem;
    }

    .org-chart {
        padding: 1rem 0.5rem;
    }

    .org-chart-reports {
        gap: 1rem;
    }

    .org-node {
        min-width: 180px;
        padding: 0.75rem;
    }

    .connection-line.horizontal {
        width: 80%;
    }
}

@media (max-width: 576px) {
    .d-flex.justify-content-between.align-items-start {
        flex-direction: column;
        gap: 1.5rem;
    }

    .header-actions {
        width: 100%;
    }

    .action-buttons {
        width: 100%;
        justify-content: center;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile Org Chart */
    .org-chart-reports {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .org-node {
        min-width: 160px;
        padding: 0.5rem;
    }

    .org-node-avatar img,
    .org-node-avatar .avatar-placeholder {
        width: 50px;
        height: 50px;
    }

    .org-node-avatar .avatar-placeholder {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .d-flex.justify-content-between.align-items-start {
        flex-direction: column;
        gap: 1.5rem;
    }

    .header-actions {
        width: 100%;
    }

    .action-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* --- Global Tab Styles - Student Portal Theme --- */
.nav-tabs {
    display: flex;
    border-bottom: 2px solid var(--primary-color);
    background: var(--body-bg);
    margin-bottom: 1rem;
}

.nav-tabs .nav-link {
    color: var(--primary-color);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    margin-right: 0.25rem;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--font-family-primary);
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-link:focus {
    color: #fff;
    background: var(--primary-color);
    border-bottom: 3px solid var(--student-warning);
    outline: none;
}

.nav-tabs .nav-link:hover {
    color: #fff;
    background: var(--primary-color);
    border-bottom: 3px solid var(--student-warning);
    outline: none;
}

.nav-tabs .nav-link.active {
    background: var(--primary-color) !important;
    color: #fff;
    border-bottom: 3px solid var(--student-warning);
}

.nav-tabs .nav-link.active:hover {
    background: var(--primary-color) !important;
    border-bottom: 3px solid var(--student-warning);
}

.tab-content {
    background: var(--body-bg);
    border: 1px solid var(--hairline-color);
    border-top: none;
    padding: 1.5rem;
    border-radius: 0 0 0.5rem 0.5rem;
    box-shadow: 0 2px 8px rgba(46, 28, 123, 0.04);
}

/* Course Assignment Style */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e9ecef;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-marker {
    position: absolute;
    left: -22px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #e9ecef;
}

.timeline-content {
    padding-left: 10px;
}

.timeline-title {
    margin-bottom: 5px;
    font-size: 0.875rem;
    font-weight: 600;
}

.timeline-text {
    margin-bottom: 3px;
    font-size: 0.875rem;
    color: #6c757d;
}

/* ============================================
   FLOATING ACTION BUTTONS & AI SUPPORT
   Premium floating buttons with chat modal
   ============================================ */

/* Floating Action Buttons */
.floating-action-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1050;
}

.fab-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.fab-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.fab-btn:active {
    transform: scale(0.95);
}

.fab-ai {
    background: linear-gradient(135deg, var(--primary-color, #667eea) 0%, var(--dark-primary-color, #764ba2) 100%);
}

.fab-ai:hover {
    background: linear-gradient(135deg, var(--dark-primary-color, #764ba2) 0%, var(--primary-color, #667eea) 100%);
}

.fab-intro {
    background: linear-gradient(135deg, var(--secondary-color, #11998e) 0%, var(--third-color, #38ef7d) 100%);
}

.fab-intro:hover {
    background: linear-gradient(135deg, var(--third-color, #38ef7d) 0%, var(--secondary-color, #11998e) 100%);
}

.fab-tooltip {
    position: absolute;
    right: 70px;
    background: var(--dark-primary-color, #333);
    color: #fff;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.fab-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--dark-primary-color, #333);
}

.fab-btn:hover .fab-tooltip {
    opacity: 1;
    visibility: visible;
    right: 65px;
}

/* AI Chat Modal */
.ai-chat-modal {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    max-height: 550px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 1060;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

.ai-chat-modal.active {
    display: flex;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-chat-header {
    background: linear-gradient(135deg, var(--primary-color, #667eea) 0%, var(--dark-primary-color, #764ba2) 100%);
    color: #fff;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-chat-title {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.ai-chat-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ai-chat-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.ai-chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    max-height: 380px;
    background: rgba(var(--primary-color-rgb, 102, 126, 234), 0.05);
}

.ai-message {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.ai-message.user {
    flex-direction: row-reverse;
}

.ai-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color, #667eea) 0%, var(--dark-primary-color, #764ba2) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user .ai-avatar {
    background: linear-gradient(135deg, var(--secondary-color, #11998e) 0%, var(--third-color, #38ef7d) 100%);
}

.ai-message-content {
    background: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    max-width: 85%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.user .ai-message-content {
    background: linear-gradient(135deg, var(--primary-color, #667eea) 0%, var(--dark-primary-color, #764ba2) 100%);
    color: #fff;
}

.ai-message-content p {
    margin: 0;
    line-height: 1.5;
}

.ai-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.ai-suggestion-btn {
    background: rgba(var(--primary-color-rgb, 102, 126, 234), 0.07);
    border: 1px solid rgba(var(--primary-color-rgb, 102, 126, 234), 0.2);
    color: var(--dark-primary-color, #333);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai-suggestion-btn:hover {
    background: var(--primary-color, #667eea);
    color: #fff;
    border-color: var(--primary-color, #667eea);
}

.ai-chat-footer {
    padding: 15px 20px;
    background: #fff;
    border-top: 1px solid rgba(var(--primary-color-rgb, 102, 126, 234), 0.2);
}

.ai-input-group {
    display: flex;
    gap: 10px;
}

.ai-chat-input {
    flex: 1;
    border: 1px solid rgba(var(--primary-color-rgb, 102, 126, 234), 0.25);
    border-radius: 25px;
    padding: 12px 18px;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.ai-chat-input:focus {
    border-color: var(--primary-color, #667eea);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb, 102, 126, 234), 0.12);
}

.ai-send-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--primary-color, #667eea) 0%, var(--dark-primary-color, #764ba2) 100%);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ai-send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(var(--primary-color-rgb, 102, 126, 234), 0.4);
}

/* Typing indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 8px 0;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--primary-color, #667eea);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {

    0%,
    80%,
    100% {
        transform: scale(0.6);
        opacity: 0.6;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Intro.js Custom Styles */
.introjs-tooltip {
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    max-width: 350px !important;
}

.introjs-tooltiptext {
    padding: 15px 20px !important;
}

.introjs-button {
    border-radius: 6px !important;
    text-shadow: none !important;
    font-weight: 500 !important;
}

.introjs-button.introjs-nextbutton {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%) !important;
    border: none !important;
    color: #fff !important;
}

.introjs-button.introjs-prevbutton {
    background: #f0f0f0 !important;
    border: none !important;
    color: #333 !important;
}

.introjs-helperLayer {
    border-radius: 8px !important;
}

.introjs-overlay {
    background: rgba(0, 0, 0, 0.6) !important;
}

.introjs-arrow.top {
    border-bottom-color: #fff !important;
}

.introjs-arrow.bottom {
    border-top-color: #fff !important;
}

.introjs-progress {
    background-color: #e0e0e0 !important;
}

.introjs-progressbar {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%) !important;
}

/* Floating Buttons Responsive */
@media (max-width: 480px) {
    .floating-action-buttons {
        bottom: 20px;
        right: 20px;
    }

    .fab-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .ai-chat-modal {
        width: calc(100vw - 20px);
        right: 10px;
        bottom: 90px;
        max-height: 70vh;
    }
}

/* Branch Styles */
.branch-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
    border: 1px solid #e9ecef;
    margin-bottom: 32px;
}

.branch-header {
    background: #f1f3f5;
    border-radius: 12px 12px 0 0;
    padding: 24px 32px;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.branch-header h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
}

.info-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    border: 1px solid #e9ecef;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    gap: 8px;
}

.info-label {
    min-width: 120px;
    font-weight: 600;
    color: #495057;
    margin-right: 12px;
    font-size: 1.05rem;
}

.info-value {
    flex: 1;
    color: #222;
    font-size: 1.05rem;
    word-break: break-word;
}

.description-text {
    color: #666;
    font-size: 0.97rem;
    background: #f1f3f5;
    border-radius: 6px;
    padding: 8px 12px;
    margin-top: 4px;
}

.section-title {
    color: #000 !important;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
    font-size: 1.18rem;
    letter-spacing: 0.02em;
}

.usage-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
}

.stat-item {
    background: #e9ecef;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 0.97rem;
    color: #333;
    font-weight: 500;
}

.related-records-section {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-top: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    border: 1px solid #e9ecef;
}

.alert {
    border-radius: 6px;
    font-size: 0.98rem;
    margin-bottom: 12px;
    padding: 10px 18px;
    font-weight: 500;
}

.actions-section {
    border-top: 2px solid #e9ecef;
    padding-top: 18px;
    margin-top: 24px;
}

.branch-logo {
    max-width: 120px;
    max-height: 120px;
    border-radius: 8px;
    border: 1px solid #eee;
    background: #fff;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .info-section {
        padding: 12px;
    }

    .section-title {
        font-size: 1rem;
    }

    .info-label {
        min-width: 80px;
    }

    .card-body {
        padding: 12px;
    }

    .card-header {
        padding: 12px 8px;
    }
}

/* Branch Admin Styles */

/* =============================================================================
   ADMISSION PORTAL - PUBLIC WELCOME PAGE
   Page: public/admission/welcome.blade.php
   Description: Styles for the public-facing admission welcome/landing page
   ============================================================================= */

/* ---------------------------------
   Base & Reset
   --------------------------------- */
.admission-welcome-page {
    font-family: var(--font-family-primary), serif;
    background: linear-gradient(135deg, #f5f1e8 0%, #e8dcc8 100%);
    min-height: 100vh;
    padding: 20px 0;
    margin: 0;
}

.admission-wrapper {
    max-width: 900px;
    margin: 40px auto;
    background: white;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    overflow: hidden;
}

/* ---------------------------------
   Letterhead Section
   --------------------------------- */
.letterhead-section {
    background: linear-gradient(135deg, #2E1C7B 0%, #5B3BA0 100%);
    color: white;
    padding: 35px 30px;
    text-align: center;
    border-bottom: 6px solid #D4A574;
    position: relative;
}

.letterhead-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><defs><pattern id="pattern" x="0" y="0" width="200" height="120" patternUnits="userSpaceOnUse"><circle cx="100" cy="60" r="50" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="1200" height="120" fill="url(%23pattern)"/></svg>');
    opacity: 0.5;
}

.letterhead-content {
    position: relative;
    z-index: 1;
}

.logo-section {
    margin-bottom: 20px;
}

.logo-section img {
    height: 90px;
    width: auto;
    margin-bottom: 15px;
}

.institution-name {
    font-size: 2.2em;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.letterhead-info {
    font-size: 0.95em;
    line-height: 1.8;
    color: #e8dcc8;
}

.letterhead-info strong {
    color: white;
    display: block;
    font-size: 1.05em;
    margin-bottom: 5px;
}

.letterhead-motto {
    font-style: italic;
    font-size: 0.95em;
    margin-top: 15px;
    color: #D4A574;
    letter-spacing: 0.5px;
}

/* ---------------------------------
   Contact Information Bar
   --------------------------------- */
.contact-info-bar {
    background: #f5f1e8;
    padding: 12px 30px;
    text-align: center;
    border-bottom: 1px solid #ddd;
    font-size: 0.85em;
    color: #555;
}

.contact-info-bar span {
    margin: 0 20px;
    display: inline-block;
}

.contact-info-bar a {
    color: #2E1C7B;
    text-decoration: none;
}

.contact-info-bar a:hover {
    text-decoration: underline;
}

/* ---------------------------------
   Main Content Area
   --------------------------------- */
.admission-content {
    padding: 50px 40px;
}

.welcome-heading {
    text-align: center;
    margin-bottom: 45px;
}

.welcome-heading h2 {
    font-size: 2em;
    color: #2E1C7B;
    margin-bottom: 12px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.welcome-heading .tagline {
    font-size: 1.1em;
    color: #666;
    font-style: italic;
    letter-spacing: 0.3px;
}

/* ---------------------------------
   Options Grid (New Application / Check Status)
   --------------------------------- */
.options-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    margin-bottom: 40px;
}

.option-card {
    background: #f9f7f3;
    border: 2px solid #e0d5c7;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2E1C7B, #D4A574);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.option-card:hover {
    border-color: #2E1C7B;
    box-shadow: 0 12px 35px rgba(46, 28, 123, 0.15);
    transform: translateY(-8px);
}

.option-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 3.5em;
    margin-bottom: 20px;
    display: block;
}

.option-card h3 {
    font-size: 1.5em;
    color: #2E1C7B;
    margin-bottom: 15px;
    font-weight: bold;
}

.option-card p {
    color: #666;
    font-size: 0.95em;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* ---------------------------------
   Submit / Action Button
   --------------------------------- */
.btn-submit {
    display: inline-block;
    padding: 13px 35px;
    background: linear-gradient(135deg, #2E1C7B 0%, #5B3BA0 100%);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-family-primary), serif;
}

.btn-submit:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(46, 28, 123, 0.3);
    color: white;
    text-decoration: none;
}

.btn-submit:active {
    transform: scale(0.98);
}

/* ---------------------------------
   Section Divider
   --------------------------------- */
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #D4A574, transparent);
    margin: 35px 0;
}

/* ---------------------------------
   Information Panels
   --------------------------------- */
.info-panel {
    background: #f5f1e8;
    border-left: 4px solid #2E1C7B;
    padding: 25px;
    border-radius: 5px;
    margin: 30px 0;
}

.info-panel h4 {
    color: #2E1C7B;
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 1.05em;
}

.info-panel ul {
    list-style: none;
    color: #666;
    font-size: 0.95em;
    line-height: 1.9;
}

.info-panel li::before {
    content: "✓ ";
    color: #D4A574;
    font-weight: bold;
    margin-right: 10px;
}

/* ---------------------------------
   Application Search Card
   --------------------------------- */
.search-card {
    background: white;
    border: 2px solid #e0d5c7;
    border-radius: 8px;
    padding: 30px;
    margin-top: 25px;
}

.search-card h4 {
    color: #2E1C7B;
    margin-bottom: 18px;
    font-weight: bold;
    font-size: 1.1em;
}

.search-form {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.search-form input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e0d5c7;
    border-radius: 5px;
    font-size: 0.95em;
    font-family: 'Georgia', serif;
    transition: all 0.3s ease;
}

.search-form input:focus {
    outline: none;
    border-color: #2E1C7B;
    box-shadow: 0 0 0 3px rgba(46, 28, 123, 0.1);
    background: #fff;
}

.search-form button {
    padding: 12px 30px;
    background: linear-gradient(135deg, #2E1C7B 0%, #5B3BA0 100%);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s ease;
    font-family: 'Georgia', serif;
}

.search-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(46, 28, 123, 0.25);
}

.search-help {
    background: #f0f8ff;
    border-left: 3px solid #5B3BA0;
    padding: 15px;
    border-radius: 4px;
    margin-top: 10px;
    font-size: 0.9em;
    color: #555;
}

.search-help strong {
    color: #2E1C7B;
    display: block;
    margin-bottom: 5px;
}

/* ---------------------------------
   Footer
   --------------------------------- */
.admission-footer {
    background: linear-gradient(135deg, #2E1C7B 0%, #5B3BA0 100%);
    color: white;
    padding: 30px;
    text-align: center;
    border-top: 6px solid #D4A574;
}

.footer-motto {
    font-size: 1.15em;
    font-style: italic;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.footer-text {
    font-size: 0.85em;
    color: #e8dcc8;
    margin: 0;
}

/* ---------------------------------
   Responsive - Tablet (max-width: 768px)
   --------------------------------- */
@media (max-width: 768px) {
    .admission-wrapper {
        margin: 20px;
        border-radius: 8px;
    }

    .letterhead-section {
        padding: 25px 20px;
    }

    .institution-name {
        font-size: 1.6em;
    }

    .logo-section img {
        height: 70px;
    }

    .admission-content {
        padding: 30px 20px;
    }

    .options-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .welcome-heading h2 {
        font-size: 1.6em;
    }

    .contact-info-bar span {
        display: block;
        margin: 5px 0;
    }
}

/* ---------------------------------
   Responsive - Mobile (max-width: 576px)
   --------------------------------- */
@media (max-width: 576px) {
    .admission-wrapper {
        margin: 10px;
        border-radius: 5px;
    }

    .admission-content {
        padding: 20px 15px;
    }

    .letterhead-section {
        padding: 20px 15px;
    }

    .institution-name {
        font-size: 1.3em;
        letter-spacing: 1px;
    }

    .option-card {
        padding: 25px 20px;
    }

    .card-icon {
        font-size: 2.5em;
    }

    .search-form {
        flex-direction: column;
    }

    .search-form button {
        width: 100%;
    }
}

/* ---------------------------------
   Animations
   --------------------------------- */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.admission-wrapper {
    animation: slideDown 0.5s ease;
}

.welcome-heading {
    animation: fadeIn 0.6s ease 0.2s both;
}

.option-card {
    animation: fadeIn 0.6s ease 0.3s both;
}

.option-card:nth-child(2) {
    animation-delay: 0.4s;
}

/*
--- System Setting
*/

.settings-nav-pills {
    background: white;
    border-radius: var(--gs-radius);
    box-shadow: var(--gs-shadow-md);
    padding: 0.75rem;
    position: sticky;
    top: calc(var(--header-height) + 10px);
    z-index: 1020;
    width: 100%;
}

.settings-nav-pills .nav-link,
.settings-nav-pills .nav-link:visited {
    display: flex;
    align-items: center;
    gap: .75rem;
    width: 100%;
    padding: .8rem 1rem;
    color: var(--gs-gray-500);
    background: transparent;
    border: 0;
    border-left: 3px solid transparent;
    border-radius: 8px;
    font-size: .875rem;
    font-weight: 500;
    text-decoration: none;
    transition:
        color .25s ease,
        background .25s ease,
        border-color .25s ease;
}

.settings-nav-pills .nav-link:hover,
.settings-nav-pills .nav-link:focus
{
    color: var(--gs-primary);
    background: var(--gs-primary-lighter);
    border-left-color: var(--gs-primary);
    outline: none;
}

.settings-nav-pills .nav-link.active {
    color: var(--gs-primary);
    background: transparent;
    border-left-color: var(--gs-primary);
    font-weight: 600;
    box-shadow: none;
}

.settings-nav-pills .nav-link .nav-icon {
    width: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: inherit;
    flex-shrink: 0;
}

.settings-nav-pills .nav-link .nav-text {
    color: inherit;
    flex: 1 1 auto;
    min-width: 0;
    white-space: normal;
    line-height: 1.35;
}

.settings-nav-pills .nav-link:hover .nav-text,
.settings-nav-pills .nav-link:hover .nav-icon,
.settings-nav-pills .nav-link.active .nav-text,
.settings-nav-pills .nav-link.active .nav-icon {
    color: inherit;
}

.settings-tab-content {
    background: white;
    border-radius: var(--gs-radius);
    box-shadow: var(--gs-shadow-md);
    padding: 2rem;
}

.settings-section-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gs-gray-100);
}

.settings-section-header h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gs-gray-900);
    margin: 0;
}

.settings-section-header p {
    font-size: 0.85rem;
    color: var(--gs-gray-500);
    margin: 0.25rem 0 0;
}

.settings-tab-content .card-footer {
    background: var(--gs-gray-50);
    border-top: 1px solid var(--gs-gray-100);
    border-radius: 0 0 var(--gs-radius) var(--gs-radius);
    margin: 1.5rem -2rem -2rem;
    padding: 1rem 2rem;
}

.settings-meta-note {
    background: #f8fafc;
    border: 1px solid var(--gs-gray-200);
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
    margin-top: 1rem;
    color: var(--gs-gray-700);
    font-size: 0.84rem;
}

.settings-meta-note i {
    color: var(--gs-primary);
}

.settings-guide {
    margin-top: 1rem;
    border: 1px solid #dbeafe;
    background: #f0f9ff;
    border-radius: 10px;
    padding: 0.85rem 1rem;
}

.settings-guide-title {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.45rem;
}

.settings-guide-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #334155;
    font-size: 0.84rem;
    margin-bottom: 0.35rem;
}

.settings-guide-item:last-child {
    margin-bottom: 0;
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.deployment-modal .modal-header {
    border-bottom: 1px solid var(--gs-gray-200);
    background: linear-gradient(135deg, #f8fbff 0%, #eef6ff 100%);
}

.deployment-step-card {
    border: 1px solid var(--gs-gray-200);
    border-radius: 10px;
    padding: 0.85rem;
    height: 100%;
    background: #fff;
}

.deployment-step-card h6 {
    font-size: 0.92rem;
    margin-bottom: 0.35rem;
    color: #0f172a;
}

.deployment-step-card p {
    font-size: 0.82rem;
    color: #475569;
    margin-bottom: 0;
}

.deployment-checklist {
    margin: 0;
    padding-left: 1rem;
}

.deployment-checklist li {
    margin-bottom: 0.35rem;
    color: #334155;
    font-size: 0.84rem;
}

.deployment-checklist li:last-child {
    margin-bottom: 0;
}

.settings-help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #0f766e;
    color: #fff;
    font-size: 11px;
    cursor: help;
    flex-shrink: 0;
}

.scope-toolbar {
    background: #ffffff;
    border: 1px solid var(--gs-gray-200);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    box-shadow: var(--gs-shadow);
}

.scope-toolbar small {
    color: var(--gs-gray-500);
}
/*
@media (max-width: 991.98px) {
    .settings-nav-pills {
        position: static;
    }
} */


@media (max-width:991.98px){

.settings-nav-wrapper{

    position:sticky;

    top:var(--header-height);

    z-index:1045;

    background:#fff;

    margin-bottom:1rem;

    border-bottom:1px solid var(--gs-gray-100);
}

.settings-nav-pills{

    position:sticky;

    top:var(--header-height);

    z-index:1045;

    background:#fff;

    margin-bottom:1rem;

    border-bottom:1px solid var(--gs-gray-100);
    flex-direction:row;

    flex-wrap:nowrap;

    overflow-x:auto;

    overflow-y:hidden;

    white-space:nowrap;

    gap:.5rem;

    padding:.6rem;

    border-radius:0;

    box-shadow:none;

    scrollbar-width:none;

    -webkit-overflow-scrolling:touch;
}

.settings-nav-pills::-webkit-scrollbar{

    display:none;
}

.settings-nav-pills .nav-link{

    flex:0 0 auto;

    width:auto;

    min-width:max-content;

    justify-content:center;

    margin:0;

    border-left:none;

    border-bottom:3px solid transparent;

    border-radius:999px;

    padding:.75rem 1rem;
}

.settings-nav-pills .nav-link:hover{

    border-bottom-color:var(--gs-primary);

    background:var(--gs-primary-lighter);
}

.settings-nav-pills .nav-link.active{

    border-left:none;

    border-bottom-color:var(--gs-primary);

    background:transparent;

    color:var(--gs-primary);
}

.settings-nav-pills .badge-count,
.settings-nav-pills .nav-number{

    display:none;
}

}
