* {
    font-family: "Google Sans", sans-serif;
}

.form-control,
.form-select,
.ts-control {
    box-shadow: none !important;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700 !important;
}

.system-border {
    border-color: #dee2e6 !important;
}


.custom-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    padding: 14px 24px;
    border-radius: 8px;
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: fadeInOut 4s ease forwards;
}

.success-toast {
    background-color: #333;
}

.error-toast {
    background-color: #d9534f;
    animation: fadeInOut 10s ease forwards;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
        display: none;
    }

    10% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
        display: block;
    }

    90% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
        display: block;
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
        display: none;
    }
}

a {
    text-decoration: none !important;
    color: inherit;
}


.logo-upload-wrapper,
.profile-upload-wrapper {
    width: 150px;
    height: 150px;
}

.logo-preview,
.profile-preview {
    width: 150px;
    height: 150px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-image: url(../profile.png);
}

.upload-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    transition: background 0.3s;
}

.upload-overlay:hover {
    background: rgba(0, 0, 0, 0.8);
}

.form-control-color {
    display: block;
}

.border-danger {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.5);
}

.rounded-input {
    background: #fff;
    width: 100%;
    border-radius: 1rem !important;
    position: relative;
    border: none;
}

.td-sidebar {
    background: #ffffff;
    border-radius: 8px;
    padding: 12px 0;
}

.td-sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.td-sidebar-menu li {
    margin: 2px 0;
}

.td-sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.td-sidebar-menu li a i {
    font-size: 18px;
    color: #6c757d;
}

.td-sidebar-menu li a:hover {
    background-color: #f8f9fa;
    color: #0d6efd;
}

.td-sidebar-menu li a.active {
    background-color: #e7f1ff;
    color: #0d6efd;
    border-left-color: #0d6efd;
}

.td-sidebar-menu li a.active i {
    color: #0d6efd;
}

.menu-divider {
    height: 1px;
    margin: 10px 16px;
    background-color: #e9ecef;
}

.branch-item {
    display: flex;
}

.branch-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-right: 20px;
}

section {
    position: relative;
}

.sidebar.sticky {
    position: sticky;
    top: 10px;
}

.form-switch .form-check-input:checked {
    background-size: contain;
}

img.student-profile-card {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

img.student-profile-ico {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

img.student-profile {
    width: 48px;
    height: 48px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 5px;
}

.accordion-button:focus {
    box-shadow: none;
}

.roles-items {
    padding: 10px 15px;
    border-top: 1px solid #ddd;
}

.cancelled-ui {
    pointer-events: none;
    opacity: 0.6;
}

.cancelled-ui a {
    pointer-events: none;
    text-decoration: none;
}

.cancelled-ui .btn {
    pointer-events: none;
}

/* Base Navigation Bar */
.app-navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    height: 65px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.02);
}

.app-logo {
    height: 38px;
    width: auto;
}

/* Custom Navigation Links */
.custom-nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b !important;
    padding: 0 12px !important;
    line-height: 62px;
    /* Vertically aligns border bottom perfectly */
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease-in-out;
}

.custom-nav-link:hover {
    color: #1e293b !important;
    border-bottom-color: #cbd5e1;
}

.custom-nav-link.active {
    color: #0f172a !important;
    font-weight: 600;
    border-bottom-color: #4f46e5 !important;
    /* Breeze Indigo Highlight */
}

/* Dropdown Menu Styling */
.custom-dropdown-menu {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px;
    min-width: 180px;
    animation: fadeIn 0.15s ease-in-out;
}

.custom-dropdown-item {
    font-size: 0.875rem;
    color: #475569;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.15s ease;
}

.custom-dropdown-item:hover {
    background-color: #f8fafc;
    color: #0f172a;
}

/* Settings & Profile Controls */
.settings-btn {
    color: #64748b;
    padding: 6px;
    border-radius: 50%;
    transition: color 0.2s ease;
}

.settings-btn:hover {
    color: #0f172a;
}

.profile-toggle {
    font-size: 0.9rem;
    padding: 0 !important;
}

.profile-toggle::after {
    margin-left: 0.4em;
    vertical-align: middle;
    color: #94a3b8;
}

/* Mobile Offcanvas Drawer */
.mobile-nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: #475569;
    padding: 10px 12px;
    border-radius: 6px;
}

.mobile-nav-link.active {
    background-color: #eef2ff;
    color: #4f46e5;
    font-weight: 600;
}

.fs-7 {
    font-size: 0.75rem;
}

/* Smooth Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-avatar {
    width: 72px;
    height: 72px;
    border: 1px solid #e2e8f0;
}

.profile-avatar-placeholder {
    width: 72px;
    height: 72px;
    border: 1px solid #e2e8f0;
}

.lead-item-card {
    transition: background-color 0.15s ease-in-out;
}

.lead-item-card:hover {
    background-color: #f8fafc;
}

.action-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn:hover {
    background-color: #e2e8f0;
}

.fs-7 {
    font-size: 0.75rem;
}

.select2-container--bootstrap-5 .select2-search--inline .select2-search__field {
    box-shadow: none !important;
}

.custom-profile-tabs .nav-link {
    color: #64748b;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.custom-profile-tabs .nav-link:hover {
    color: #4f46e5;
    background-color: #f8fafc;
}

.custom-profile-tabs .nav-link.active {
    background-color: #4f46e5 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2);
}

.dropdown-menu-item {
    font-size: 0.875rem;
}