:root {
    /* Primary colors - zielony #0A812E */
    --bs-primary: #0A812E;
    --bs-primary-rgb: 10, 129, 46;
    --primary: #0A812E;
    --primary-dark: #065A20;
    --primary-light: #0D9B38;

    /* Secondary colors - szary */
    --bs-secondary: #6C757D;
    --bs-secondary-rgb: 108, 117, 125;
    --secondary: #6C757D;
    --secondary-dark: #545B62;
    --secondary-light: #868E96;

    /* Success colors - zielony jasny */
    --bs-success: #16A34A;
    --bs-success-rgb: 22, 163, 74;
    --success: #16A34A;
    --success-dark: #15803D;
    --success-light: #22C55E;

    /* Danger colors - czerwony */
    --bs-danger: #DC2626;
    --bs-danger-rgb: 220, 38, 38;
    --danger: #DC2626;
    --danger-dark: #B91C1C;
    --danger-light: #EF4444;

    /* Warning colors - pomarańczowy */
    --bs-warning: #D97706;
    --bs-warning-rgb: 217, 119, 6;
    --warning: #D97706;
    --warning-dark: #B45309;
    --warning-light: #F59E0B;

    /* Info colors - niebieski */
    --bs-info: #2563EB;
    --bs-info-rgb: 37, 99, 235;
    --info: #2563EB;
    --info-dark: #1D4ED8;
    --info-light: #3B82F6;

    /* Light colors */
    --bs-light: #F8F9FA;
    --bs-light-rgb: 248, 249, 250;

    /* Dark colors */
    --bs-dark: #212529;
    --bs-dark-rgb: 33, 37, 41;
    --dark: #0F0F0F;
    --dark-light: #1F1F1F;
    --dark-medium: #2F2F2F;

    /* Gray scale */
    --gray-50: #FAFAFA;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    --gray-500: #ADB5BD;
    --gray-600: #6C757D;
    --gray-700: #495057;
    --gray-800: #343A40;
    --gray-900: #212529;

    /* Bootstrap gray scale */
    --bs-gray-100: #F8F9FA;
    --bs-gray-200: #E9ECEF;
    --bs-gray-300: #DEE2E6;
    --bs-gray-400: #CED4DA;
    --bs-gray-500: #ADB5BD;
    --bs-gray-600: #6C757D;
    --bs-gray-700: #495057;
    --bs-gray-800: #343A40;
    --bs-gray-900: #212529;

    /* Body colors */
    --bs-body-color: #212529;
    --bs-body-bg: #FFFFFF;

    /* Border */
    --bs-border-color: #DEE2E6;
    --bs-border-radius: 0.25rem;
    --bs-border-radius-sm: 0.2rem;
    --bs-border-radius-lg: 0.3rem;
    --bs-border-radius-xl: 0.5rem;

    /* Shadows */
    --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    --hover-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);

    /* Layout */
    --sidebar-width: 260px;
    --header-height: 70px;
    --border-radius: 4px;
    --border-radius-lg: 6px;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--gray-400) var(--gray-100);
}

*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

*::-webkit-scrollbar-track {
    background: var(--gray-100);
}

*::-webkit-scrollbar-thumb {
    background-color: var(--gray-400);
    border-radius: 4px;
}

*::-webkit-scrollbar-thumb:hover {
    background-color: var(--gray-500);
}

body {
    background-color: #F5F5F5;
    color: var(--bs-body-color);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    font-size: 15px;
    overflow-x: hidden;
}

.sidebar {
    background: var(--dark);
    color: #E0E0E0;
    width: var(--sidebar-width);
    padding: 24px 16px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    transition: var(--transition);
    z-index: 1000;
    border-right: 1px solid var(--dark-light);
}

.logo {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
    padding: 14px 12px;
    background: var(--bs-primary);
    border-radius: var(--border-radius);
}

.logo i {
    font-size: 24px;
    margin-right: 12px;
    background: white;
    color: var(--bs-primary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
}

.logo h1 {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin: 0;
}

.menu-section {
    margin-bottom: 24px;
}

.menu-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
    color: #9CA3AF;
    font-weight: 600;
    padding-left: 12px;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 11px 14px;
    margin-bottom: 2px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    position: relative;
    color: #D1D5DB;
    text-decoration: none;
}

.menu-item:hover {
    background: var(--dark-medium);
    color: #FFFFFF;
}

.menu-item.active {
    background: var(--bs-primary);
    color: white;
}

.menu-item.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: white;
    border-radius: 0 2px 2px 0;
}

.menu-item i {
    margin-right: 12px;
    font-size: 18px;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}

.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 24px 32px;
    transition: var(--transition);
    min-height: 100vh;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding: 20px 0;
    background: #F5F5F5;
    z-index: 999;
}

.header-left h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1A1A1A;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.header-left h2 i {
    color: var(--bs-primary);
}

.header-left h2:after {
    display: none;
}

.dashboard-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid var(--bs-border-color);
    height: 100%;
    overflow: hidden;
}

.dashboard-card:hover {
    box-shadow: var(--hover-shadow);
    border-color: var(--bs-primary);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--gray-200);
}

.card-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1A1A1A;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.card-header h3 i {
    color: var(--bs-primary);
    font-size: 20px;
    background: #F0FDF4;
    padding: 8px;
    border-radius: var(--border-radius);
}

.card-header a {
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
    color: var(--bs-primary);
}

.card-header a:hover {
    gap: 6px;
    color: var(--primary-dark);
}

.stat-container {
    background: var(--bs-primary);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    border: none;
    color: white;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.stat-label i {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px;
    border-radius: var(--border-radius-sm);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin: 8px 0 0 0;
    display: flex;
    align-items: center;
}

.section-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid var(--bs-border-color);
    height: 100%;
}

.section-card:hover {
    box-shadow: var(--hover-shadow);
    border-color: var(--bs-primary);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--gray-200);
}

.section-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1A1A1A;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.section-header h3 i {
    color: var(--bs-primary);
    font-size: 20px;
    background: #F0FDF4;
    padding: 8px;
    border-radius: var(--border-radius);
}

.list-item {
    display: flex;
    align-items: center;
    padding: 16px 12px;
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
    border-radius: 0;
}

.list-item:hover {
    background: #FAFAFA;
}

.list-item:last-child {
    border-bottom: none;
}

.item-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius);
    background: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.item-details {
    flex: 1;
    min-width: 0;
}

.item-details a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.item-details a:hover {
    color: var(--bs-primary);
}

.item-title {
    font-weight: 600;
    margin-bottom: 4px;
    color: #1A1A1A;
    font-size: 15px;
}

.item-meta {
    font-size: 13px;
    color: var(--bs-gray-600);
}

.item-status {
    padding: 6px 12px;
    border-radius: var(--border-radius);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Bootstrap color utilities */
.bg-primary {
    background-color: var(--bs-primary) !important;
    color: white !important;
}

.bg-secondary {
    background-color: var(--bs-secondary) !important;
    color: white !important;
}

.bg-success {
    background-color: #D1FAE5 !important;
    color: #065F46 !important;
}

.bg-danger {
    background-color: #FEE2E2 !important;
    color: #991B1B !important;
}

.bg-warning {
    background-color: #FEF3C7 !important;
    color: #92400E !important;
}

.bg-info {
    background-color: #DBEAFE !important;
    color: #1E40AF !important;
}

.bg-light {
    background-color: var(--bs-light) !important;
    color: var(--bs-dark) !important;
}

.bg-dark {
    background-color: var(--bs-dark) !important;
    color: white !important;
}

.text-primary {
    color: var(--bs-primary) !important;
}

.text-secondary {
    color: var(--bs-secondary) !important;
}

.text-success {
    color: #065F46 !important;
}

.text-danger {
    color: #991B1B !important;
}

.text-warning {
    color: #92400E !important;
}

.text-info {
    color: #1E40AF !important;
}

.text-light {
    color: var(--bs-light) !important;
}

.text-dark {
    color: var(--bs-dark) !important;
}

.text-muted {
    color: var(--bs-gray-600) !important;
}

/* Status badges */
.status-new {
    background: #D1FAE5;
    color: #065F46;
}

.status-pending {
    background: #FEF3C7;
    color: #92400E;
}

.status-completed {
    background: #D1FAE5;
    color: #065F46;
}

.status-cancelled {
    background: #FEE2E2;
    color: #991B1B;
}

/* Table styles */
.table {
    font-size: 14px;
    color: var(--bs-body-color);
}

.table thead th {
    background: #FAFAFA;
    color: #1A1A1A;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--bs-border-color);
    padding: 12px;
}

.table tbody td {
    padding: 14px 12px;
    vertical-align: middle;
    color: #495057;
    border-bottom: 1px solid var(--bs-gray-200);
}

.table tbody tr {
    transition: var(--transition);
}

.table tbody tr:hover {
    background: #FAFAFA;
}

.table-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

/* Badge */
.badge {
    font-weight: 600;
    padding: 6px 10px;
    font-size: 12px;
    border-radius: var(--border-radius);
}

.badge.bg-primary {
    background-color: var(--bs-primary) !important;
    color: white !important;
}

.badge.bg-secondary {
    background-color: var(--bs-secondary) !important;
    color: white !important;
}

.badge.bg-success {
    background-color: var(--bs-success) !important;
    color: white !important;
}

.badge.bg-danger {
    background-color: var(--bs-danger) !important;
    color: white !important;
}

.badge.bg-warning {
    background-color: var(--bs-warning) !important;
    color: white !important;
}

.badge.bg-info {
    background-color: var(--bs-info) !important;
    color: white !important;
}

/* Dropdown */
.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 260px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
    border: 1px solid var(--bs-border-color);
}

.user-profile.active .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-header {
    padding: 20px;
    border-bottom: 1px solid var(--bs-border-color);
    background: var(--bs-primary);
    color: white;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.user-dropdown-item {
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    cursor: pointer;
    border-bottom: 1px solid var(--bs-gray-200);
    color: #1A1A1A;
    font-size: 14px;
    font-weight: 500;
}

.user-dropdown-item:last-child {
    border-bottom: none;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.user-dropdown-item:hover {
    background: #FAFAFA;
    color: var(--bs-primary);
}

.user-dropdown-item i {
    width: 20px;
    color: var(--bs-primary);
    font-size: 16px;
}

.user-dropdown-item.danger:hover {
    background: #FEE2E2;
    color: var(--bs-danger);
}

.user-dropdown-item.danger:hover i {
    color: var(--bs-danger);
}

/* Buttons */
.btn {
    border-radius: var(--bs-border-radius);
    font-weight: 500;
    transition: var(--transition);
    font-size: 14px;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    box-shadow: 0 2px 6px rgba(10, 129, 46, 0.3);
}

.btn-secondary {
    background-color: var(--bs-secondary);
    border-color: var(--bs-secondary);
    color: white;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: white;
}

.btn-success {
    background-color: var(--bs-success);
    border-color: var(--bs-success);
    color: white;
}

.btn-success:hover,
.btn-success:focus {
    background-color: var(--success-dark);
    border-color: var(--success-dark);
    color: white;
}

.btn-danger {
    background-color: var(--bs-danger);
    border-color: var(--bs-danger);
    color: white;
}

.btn-danger:hover,
.btn-danger:focus {
    background-color: var(--danger-dark);
    border-color: var(--danger-dark);
    color: white;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3);
}

.btn-warning {
    background-color: var(--bs-warning);
    border-color: var(--bs-warning);
    color: white;
}

.btn-warning:hover,
.btn-warning:focus {
    background-color: var(--warning-dark);
    border-color: var(--warning-dark);
    color: white;
}

.btn-info {
    background-color: var(--bs-info);
    border-color: var(--bs-info);
    color: white;
}

.btn-info:hover,
.btn-info:focus {
    background-color: var(--info-dark);
    border-color: var(--info-dark);
    color: white;
}

.btn-light {
    background-color: var(--bs-light);
    border-color: var(--bs-gray-300);
    color: var(--bs-dark);
}

.btn-light:hover,
.btn-light:focus {
    background-color: var(--bs-gray-300);
    border-color: var(--bs-gray-400);
    color: var(--bs-dark);
}

.btn-dark {
    background-color: var(--bs-dark);
    border-color: var(--bs-dark);
    color: white;
}

.btn-dark:hover,
.btn-dark:focus {
    background-color: var(--bs-gray-900);
    border-color: var(--bs-gray-900);
    color: white;
}

.btn-outline-primary {
    color: var(--bs-primary);
    border-color: var(--bs-primary);
    background: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
}

.btn-outline-secondary {
    color: var(--bs-secondary);
    border-color: var(--bs-secondary);
    background: transparent;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    background-color: var(--bs-secondary);
    border-color: var(--bs-secondary);
    color: white;
}

.btn-outline-success {
    color: var(--bs-success);
    border-color: var(--bs-success);
    background: transparent;
}

.btn-outline-success:hover,
.btn-outline-success:focus {
    background-color: var(--bs-success);
    border-color: var(--bs-success);
    color: white;
}

.btn-outline-danger {
    color: var(--bs-danger);
    border-color: var(--bs-danger);
    background: transparent;
}

.btn-outline-danger:hover,
.btn-outline-danger:focus {
    background-color: var(--bs-danger);
    border-color: var(--bs-danger);
    color: white;
}

.btn-outline-warning {
    color: var(--bs-warning);
    border-color: var(--bs-warning);
    background: transparent;
}

.btn-outline-warning:hover,
.btn-outline-warning:focus {
    background-color: var(--bs-warning);
    border-color: var(--bs-warning);
    color: white;
}

.btn-outline-info {
    color: var(--bs-info);
    border-color: var(--bs-info);
    background: transparent;
}

.btn-outline-info:hover,
.btn-outline-info:focus {
    background-color: var(--bs-info);
    border-color: var(--bs-info);
    color: white;
}

.btn-outline-light {
    color: var(--bs-gray-700);
    border-color: var(--bs-gray-300);
    background: transparent;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    background-color: var(--bs-light);
    border-color: var(--bs-gray-300);
    color: var(--bs-dark);
}

.btn-outline-dark {
    color: var(--bs-dark);
    border-color: var(--bs-dark);
    background: transparent;
}

.btn-outline-dark:hover,
.btn-outline-dark:focus {
    background-color: var(--bs-dark);
    border-color: var(--bs-dark);
    color: white;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 13px;
    border-radius: var(--bs-border-radius-sm);
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 16px;
    border-radius: var(--bs-border-radius-lg);
}

/* Sidebar toggle */
.sidebar-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: var(--bs-primary);
    color: white;
    border: none;
    padding: 12px;
    border-radius: var(--border-radius);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(10, 129, 46, 0.4);
    transition: var(--transition);
}

.sidebar-toggle:hover {
    background: var(--primary-dark);
}

/* Alert styles */
.alert {
    border-radius: var(--bs-border-radius);
    border: 1px solid transparent;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.alert-primary {
    background-color: #D1FAE5;
    border-color: #A7F3D0;
    color: #065F46;
}

.alert-secondary {
    background-color: #F3F4F6;
    border-color: #E5E7EB;
    color: #374151;
}

.alert-success {
    background-color: #D1FAE5;
    border-color: #A7F3D0;
    color: #065F46;
}

.alert-danger {
    background-color: #FEE2E2;
    border-color: #FECACA;
    color: #991B1B;
}

.alert-warning {
    background-color: #FEF3C7;
    border-color: #FDE68A;
    color: #92400E;
}

.alert-info {
    background-color: #DBEAFE;
    border-color: #BFDBFE;
    color: #1E40AF;
}

.alert-light {
    background-color: var(--bs-light);
    border-color: var(--bs-gray-300);
    color: var(--bs-gray-700);
}

.alert-dark {
    background-color: var(--bs-dark);
    border-color: var(--bs-gray-900);
    color: white;
}

/* Form elements */
.form-control {
    border-radius: var(--bs-border-radius);
    border: 1px solid var(--bs-border-color);
    padding: 0.5rem 0.75rem;
    transition: var(--transition);
    font-size: 14px;
    color: var(--bs-body-color);
    background-color: white;
}

.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(10, 129, 46, 0.25);
    outline: 0;
}

.form-label {
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 0.5rem;
    font-size: 14px;
}

.form-select {
    border-radius: var(--bs-border-radius);
    border: 1px solid var(--bs-border-color);
    padding: 0.5rem 2.25rem 0.5rem 0.75rem;
    transition: var(--transition);
    font-size: 14px;
}

.form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(10, 129, 46, 0.25);
    outline: 0;
}

/* Empty state */
.card-content.text-center {
    padding: 40px 20px;
}

.card-content.text-center i {
    color: var(--bs-gray-400);
}

.schedule-message {
    color: #495057;
}

.schedule-hint {
    color: var(--bs-gray-500);
}

@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
        width: var(--sidebar-width);
    }

    .sidebar.active {
        transform: translateX(0);
        box-shadow: 4px 0 16px rgba(0, 0, 0, 0.2);
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .sidebar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 16px 0;
    }

    .header-left h2 {
        font-size: 24px;
    }

    .header-right {
        width: 100%;
        justify-content: space-between;
    }

    .main-content {
        padding: 20px 16px;
    }

    .dashboard-card, .section-card {
        padding: 20px;
    }

    .stat-number {
        font-size: 28px;
    }

    .card-header h3 {
        font-size: 16px;
    }

    .table {
        font-size: 13px;
    }

    .table thead th {
        padding: 10px 8px;
    }

    .table tbody td {
        padding: 12px 8px;
    }
}

@media (max-width: 576px) {
    .logo h1 {
        font-size: 18px;
    }

    .menu-item {
        padding: 10px 12px;
    }

    .item-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .stat-number {
        font-size: 24px;
    }
}































/* ============================================
   MODERN BOOTSTRAP FORM ELEMENTS
   ============================================ */

/* Form Controls - Input, Textarea, Select */
.form-control,
.form-select {
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--bs-body-color);
    background-color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.form-control:hover,
.form-select:hover {
    border-color: var(--gray-400);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 4px rgba(10, 129, 46, 0.1),
    0 2px 8px rgba(10, 129, 46, 0.15);
    outline: 0;
    background-color: #FAFFFE;
}

.form-control:disabled,
.form-select:disabled {
    background-color: var(--gray-100);
    border-color: var(--gray-300);
    color: var(--gray-500);
    cursor: not-allowed;
    opacity: 0.7;
}

.form-control::placeholder {
    color: var(--gray-500);
    opacity: 1;
    font-weight: 400;
}

/* Form Control Sizes */
.form-control-sm,
.form-select-sm {
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 6px;
}

.form-control-lg,
.form-select-lg {
    padding: 14px 18px;
    font-size: 16px;
    border-radius: 10px;
}

/* Textarea */
textarea.form-control {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

textarea.form-control:focus {
    min-height: 140px;
}

/* Form Labels */
.form-label {
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.2px;
}

.form-label.required::after {
    content: "*";
    color: var(--bs-danger);
    margin-left: 4px;
    font-weight: 700;
}

.form-label i {
    color: var(--bs-primary);
    font-size: 16px;
}

/* Form Text (Helper Text) */
.form-text {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--gray-600);
    font-weight: 400;
    line-height: 1.4;
}

.form-text i {
    font-size: 12px;
    margin-right: 4px;
    color: var(--bs-info);
}

/* Input Groups */
.input-group {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.input-group:focus-within {
    box-shadow: 0 0 0 4px rgba(10, 129, 46, 0.1),
    0 2px 8px rgba(10, 129, 46, 0.15);
}

.input-group-text {
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
    border: 2px solid var(--gray-300);
    border-right: none;
    padding: 12px 16px;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 14px;
}

.input-group > .form-control,
.input-group > .form-select {
    border-left: none;
}

.input-group > .form-control:focus,
.input-group > .form-select:focus {
    z-index: 3;
}

.input-group > .btn {
    border-radius: 0 8px 8px 0;
    padding: 12px 20px;
    font-weight: 600;
}

/* Floating Labels */
.form-floating {
    position: relative;
}

.form-floating > .form-control,
.form-floating > .form-select {
    height: calc(3.5rem + 4px);
    padding: 1.625rem 1rem 0.625rem;
}

.form-floating > label {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding: 1rem;
    pointer-events: none;
    border: 2px solid transparent;
    transform-origin: 0 0;
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
    color: var(--gray-600);
    font-weight: 500;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
    opacity: 0.8;
    transform: scale(0.85) translateY(-0.75rem) translateX(0.15rem);
    color: var(--bs-primary);
    font-weight: 600;
}

/* Checkboxes & Radio Buttons */
.form-check {
    display: flex;
    align-items: center;
    padding-left: 0;
    margin-bottom: 12px;
    gap: 12px;
}

.form-check-input {
    width: 20px;
    height: 20px;
    margin: 0;
    border: 2px solid var(--gray-400);
    background-color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.form-check-input[type="checkbox"] {
    border-radius: 6px;
}

.form-check-input[type="radio"] {
    border-radius: 50%;
}

.form-check-input:hover {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 4px rgba(10, 129, 46, 0.1);
}

.form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 4px rgba(10, 129, 46, 0.15);
}

.form-check-input:checked[type="checkbox"] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

.form-check-input:checked[type="radio"] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}

.form-check-input:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 4px rgba(10, 129, 46, 0.15);
    outline: 0;
}

.form-check-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-check-label {
    cursor: pointer;
    font-weight: 500;
    color: var(--bs-body-color);
    font-size: 14px;
    user-select: none;
}

.form-check-input:disabled ~ .form-check-label {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Switch */
.form-switch .form-check-input {
    width: 44px;
    height: 24px;
    border-radius: 12px;
    background-color: var(--gray-400);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
    background-position: left center;
    background-size: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-switch .form-check-input:hover {
    background-color: var(--gray-500);
}

.form-switch .form-check-input:checked {
    background-color: var(--bs-primary);
    background-position: right center;
}

.form-switch .form-check-input:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

/* Range Slider */
.form-range {
    width: 100%;
    height: 6px;
    padding: 0;
    background-color: transparent;
    appearance: none;
    -webkit-appearance: none;
}

.form-range::-webkit-slider-track {
    height: 6px;
    background: linear-gradient(90deg, var(--bs-primary) var(--value, 0%), var(--gray-300) var(--value, 0%));
    border-radius: 3px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.form-range::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    background: white;
    border: 3px solid var(--bs-primary);
    border-radius: 50%;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.form-range::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 0 0 6px rgba(10, 129, 46, 0.1),
    0 2px 6px rgba(0, 0, 0, 0.25);
}

.form-range::-moz-range-track {
    height: 6px;
    background: linear-gradient(90deg, var(--bs-primary) var(--value, 0%), var(--gray-300) var(--value, 0%));
    border-radius: 3px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.form-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: white;
    border: 3px solid var(--bs-primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.form-range:focus {
    outline: none;
}

.form-range:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 6px rgba(10, 129, 46, 0.15),
    0 2px 6px rgba(0, 0, 0, 0.25);
}

/* File Input */
.form-control[type="file"] {
    padding: 10px 16px;
    cursor: pointer;
    border: 2px dashed var(--gray-300);
    background: linear-gradient(135deg, #FAFAFA 0%, #F5F5F5 100%);
}

.form-control[type="file"]:hover {
    border-color: var(--bs-primary);
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
}

.form-control[type="file"]::file-selector-button {
    padding: 8px 16px;
    margin-right: 16px;
    background: var(--bs-primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-control[type="file"]::file-selector-button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(10, 129, 46, 0.3);
}

/* Input Validation States */
.was-validated .form-control:valid,
.form-control.is-valid {
    border-color: var(--bs-success);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2316A34A' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.5rem) center;
    background-size: calc(0.75em + 1rem) calc(0.75em + 1rem);
    padding-right: calc(1.5em + 1.5rem);
}

.was-validated .form-control:valid:focus,
.form-control.is-valid:focus {
    border-color: var(--bs-success);
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.15);
}

.valid-feedback {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--success-dark);
    font-weight: 600;
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: var(--bs-danger);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23DC2626'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23DC2626' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.5rem) center;
    background-size: calc(0.75em + 1rem) calc(0.75em + 1rem);
    padding-right: calc(1.5em + 1.5rem);
}

.was-validated .form-control:invalid:focus,
.form-control.is-invalid:focus {
    border-color: var(--bs-danger);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15);
}

.invalid-feedback {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--danger-dark);
    font-weight: 600;
}

/* Select with Custom Arrow */
.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343A40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
    padding-right: 3rem;
    cursor: pointer;
}

.form-select:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%230A812E' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

/* Color Input */
.form-control[type="color"] {
    height: 48px;
    padding: 6px;
    cursor: pointer;
    border-width: 2px;
}

.form-control[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

.form-control[type="color"]::-webkit-color-swatch {
    border: none;
    border-radius: 4px;
}

/* Date & Time Inputs */
.form-control[type="date"],
.form-control[type="time"],
.form-control[type="datetime-local"],
.form-control[type="month"],
.form-control[type="week"] {
    cursor: pointer;
}

/* Form Grid & Layout */
.row.g-3 > * {
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-bottom: 1rem;
}

/* Submit Button Enhancement */
.btn-submit {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--primary-dark) 100%);
    border: none;
    color: white;
    padding: 12px 32px;
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(10, 129, 46, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 129, 46, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(10, 129, 46, 0.3);
}

/* Responsive Forms */
@media (max-width: 768px) {
    .form-control,
    .form-select {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .form-label {
        font-size: 13px;
    }

    .btn-submit {
        width: 100%;
    }
}











































/* ============================================
   MODERN BUTTONS - ENHANCED WITH LARGER ICONS
   ============================================ */

.btn {
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    padding: 14px 28px;
    border: none;
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:active {
    transform: scale(0.97);
}

.btn i {
    font-size: 20px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn i.fa,
.btn i.fas,
.btn i.far,
.btn i.fab,
.btn i.fal,
.btn i.fad {
    font-size: 20px;
}

/* Primary Button */
.btn-primary {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(10, 129, 46, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #054518 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 129, 46, 0.4);
    color: white;
}

.btn-primary:focus {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 0 0 4px rgba(10, 129, 46, 0.25);
    color: white;
}

/* Secondary Button */
.btn-secondary {
    background: linear-gradient(135deg, var(--bs-secondary) 0%, var(--secondary-dark) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, #3d4349 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
    color: white;
}

.btn-secondary:focus {
    box-shadow: 0 0 0 4px rgba(108, 117, 125, 0.25);
    color: white;
}

/* Success Button */
.btn-success {
    background: linear-gradient(135deg, var(--bs-success) 0%, var(--success-dark) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, var(--success-dark) 0%, #14532d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
    color: white;
}

.btn-success:focus {
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.25);
    color: white;
}

/* Danger Button */
.btn-danger {
    background: linear-gradient(135deg, var(--bs-danger) 0%, var(--danger-dark) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(135deg, var(--danger-dark) 0%, #7f1d1d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
    color: white;
}

.btn-danger:focus {
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.25);
    color: white;
}

/* Warning Button */
.btn-warning {
    background: linear-gradient(135deg, var(--bs-warning) 0%, var(--warning-dark) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.btn-warning:hover {
    background: linear-gradient(135deg, var(--warning-dark) 0%, #78350f 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
    color: white;
}

.btn-warning:focus {
    box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.25);
    color: white;
}

/* Info Button */
.btn-info {
    background: linear-gradient(135deg, var(--bs-info) 0%, var(--info-dark) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-info:hover {
    background: linear-gradient(135deg, var(--info-dark) 0%, #1e3a8a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    color: white;
}

.btn-info:focus {
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.25);
    color: white;
}

/* Light Button */
.btn-light {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--bs-light) 100%);
    color: var(--bs-dark);
    border: 2px solid var(--bs-gray-300);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-light:hover {
    background: linear-gradient(135deg, var(--bs-light) 0%, var(--bs-gray-300) 100%);
    border-color: var(--bs-gray-400);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    color: var(--bs-dark);
}

.btn-light:focus {
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1);
    color: var(--bs-dark);
}

/* Dark Button */
.btn-dark {
    background: linear-gradient(135deg, var(--bs-dark) 0%, #000000 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.btn-dark:hover {
    background: linear-gradient(135deg, #000000 0%, var(--bs-dark) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    color: white;
}

.btn-dark:focus {
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.3);
    color: white;
}

/* Outline Buttons */
.btn-outline-primary {
    color: var(--bs-primary);
    border: 2px solid var(--bs-primary);
    background: transparent;
    box-shadow: 0 2px 8px rgba(10, 129, 46, 0.1);
}

.btn-outline-primary:hover {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(10, 129, 46, 0.3);
}

.btn-outline-primary:focus {
    box-shadow: 0 0 0 4px rgba(10, 129, 46, 0.2);
}

.btn-outline-secondary {
    color: var(--bs-secondary);
    border: 2px solid var(--bs-secondary);
    background: transparent;
}

.btn-outline-secondary:hover {
    background: var(--bs-secondary);
    border-color: var(--bs-secondary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(108, 117, 125, 0.3);
}

.btn-outline-success {
    color: var(--bs-success);
    border: 2px solid var(--bs-success);
    background: transparent;
}

.btn-outline-success:hover {
    background: var(--bs-success);
    border-color: var(--bs-success);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.3);
}

.btn-outline-danger {
    color: var(--bs-danger);
    border: 2px solid var(--bs-danger);
    background: transparent;
}

.btn-outline-danger:hover {
    background: var(--bs-danger);
    border-color: var(--bs-danger);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3);
}

.btn-outline-warning {
    color: var(--bs-warning);
    border: 2px solid var(--bs-warning);
    background: transparent;
}

.btn-outline-warning:hover {
    background: var(--bs-warning);
    border-color: var(--bs-warning);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(217, 119, 6, 0.3);
}

.btn-outline-info {
    color: var(--bs-info);
    border: 2px solid var(--bs-info);
    background: transparent;
}

.btn-outline-info:hover {
    background: var(--bs-info);
    border-color: var(--bs-info);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.btn-outline-dark {
    color: var(--bs-dark);
    border: 2px solid var(--bs-dark);
    background: transparent;
}

.btn-outline-dark:hover {
    background: var(--bs-dark);
    border-color: var(--bs-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(33, 37, 41, 0.3);
}

.btn-outline-light {
    color: var(--bs-gray-700);
    border: 2px solid var(--bs-gray-400);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--bs-light);
    border-color: var(--bs-gray-400);
    color: var(--bs-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Button Sizes */
.btn-sm {
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 8px;
    gap: 8px;
}

.btn-sm i {
    font-size: 18px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 17px;
    border-radius: 12px;
    gap: 12px;
}

.btn-lg i {
    font-size: 22px;
}

/* Button Group */
.btn-group .btn {
    border-radius: 0;
}

.btn-group .btn:first-child {
    border-radius: 10px 0 0 10px;
}

.btn-group .btn:last-child {
    border-radius: 0 10px 10px 0;
}

.btn-group .btn:only-child {
    border-radius: 10px;
}

/* Icon Only Buttons */
.btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    gap: 0;
}

.btn-icon i {
    font-size: 22px;
    margin: 0;
}

.btn-icon.btn-sm {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.btn-icon.btn-sm i {
    font-size: 18px;
}

.btn-icon.btn-lg {
    width: 56px;
    height: 56px;
    border-radius: 14px;
}

.btn-icon.btn-lg i {
    font-size: 24px;
}

/* Icon positioning - left/right */
.btn i:first-child:not(:last-child) {
    margin-right: -2px;
}

.btn i:last-child:not(:first-child) {
    margin-left: -2px;
}

/* Responsive */
@media (max-width: 768px) {
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .btn i {
        font-size: 19px;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 16px;
    }

    .btn-lg i {
        font-size: 21px;
    }

    .btn-sm {
        padding: 8px 16px;
        font-size: 13px;
    }

    .btn-sm i {
        font-size: 17px;
    }
}













































/* ============================================
   MODERN LINKS - ENHANCED
   ============================================ */

/* Base Link Styles */
a {
    color: var(--bs-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: inline-block;
}

a:hover {
    color: var(--primary-dark);
}

a:focus {
    outline: 2px solid var(--bs-primary);
    outline-offset: 3px;
    border-radius: 2px;
}

a:active {
    color: var(--primary-dark);
    transform: translateY(1px);
}

/* Underline Animation */
a:not(.btn):not(.menu-item):not(.user-dropdown-item):not(.nav-link):not(.dropdown-item) {
    background-image: linear-gradient(to right, var(--bs-primary) 0%, var(--primary-dark) 100%);
    background-size: 0% 2px;
    background-position: left bottom;
    background-repeat: no-repeat;
    color: #131313;
    padding-bottom: 2px;
    transition: background-size 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}

a:not(.btn):not(.menu-item):not(.user-dropdown-item):not(.nav-link):not(.dropdown-item):hover {
    background-size: 100% 2px;
}

/* Link with Icon */
a i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

a:hover i {
    transform: translateX(3px);
}

a i:first-child {
    margin-right: 6px;
}

a i:last-child:not(:first-child) {
    margin-left: 6px;
}

/* External Link Icon */
a[target="_blank"]:not(.btn)::after {
    content: "\f35d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 0.75em;
    margin-left: 4px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

a[target="_blank"]:not(.btn):hover::after {
    opacity: 1;
    transform: translate(2px, -2px);
}

/* Link Variants */
.link-primary {
    color: var(--bs-primary) !important;
}

.link-primary:hover {
    color: var(--primary-dark) !important;
}

.link-secondary {
    color: var(--bs-secondary) !important;
}

.link-secondary:hover {
    color: var(--secondary-dark) !important;
}

.link-success {
    color: var(--bs-success) !important;
}

.link-success:hover {
    color: var(--success-dark) !important;
}

.link-danger {
    color: var(--bs-danger) !important;
}

.link-danger:hover {
    color: var(--danger-dark) !important;
}

.link-warning {
    color: var(--bs-warning) !important;
}

.link-warning:hover {
    color: var(--warning-dark) !important;
}

.link-info {
    color: var(--bs-info) !important;
}

.link-info:hover {
    color: var(--info-dark) !important;
}

.link-light {
    color: var(--bs-light) !important;
}

.link-light:hover {
    color: var(--bs-gray-300) !important;
}

.link-dark {
    color: var(--bs-dark) !important;
}

.link-dark:hover {
    color: var(--bs-gray-900) !important;
}

/* Link Underline Always Visible */
.link-underline {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
    text-decoration-color: currentColor;
}

.link-underline:hover {
    text-decoration-thickness: 3px;
}

/* Link No Underline */
.link-no-underline {
    background-image: none !important;
    text-decoration: none !important;
}

/* Link with Badge/Pill Effect */
.link-badge {
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(10, 129, 46, 0.1);
    color: var(--bs-primary);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-image: none !important;
}

.link-badge:hover {
    background: var(--bs-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 129, 46, 0.3);
}

/* Link with Arrow */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.link-arrow::after {
    content: "→";
    font-size: 1.2em;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.link-arrow:hover::after {
    transform: translateX(4px);
}

/* Link with Back Arrow */
.link-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.link-back::before {
    content: "←";
    font-size: 1.2em;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.link-back:hover::before {
    transform: translateX(-4px);
}

/* Card Header Links */
.card-header a,
.section-header a {
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    color: var(--bs-primary);
    background-image: none !important;
    text-decoration: none;
}

.card-header a:hover,
.section-header a:hover {
    gap: 8px;
    color: var(--primary-dark);
    transform: translateX(2px);
}

.card-header a i,
.section-header a i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.card-header a:hover i,
.section-header a:hover i {
    transform: translateX(2px);
}

/* Item Details Links */
.item-details a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    background-image: none !important;
    display: inline-block;
    position: relative;
}

.item-details a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--bs-primary) 0%, var(--primary-dark) 100%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.item-details a:hover {
    color: var(--bs-primary);
}

.item-details a:hover::after {
    width: 100%;
}

/* Breadcrumb Links */
.breadcrumb-item a {
    color: var(--bs-primary);
    font-weight: 500;
    text-decoration: none;
    background-image: none !important;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 6px;
}

.breadcrumb-item a:hover {
    background: rgba(10, 129, 46, 0.1);
    color: var(--primary-dark);
}

/* Pagination Links */
.pagination .page-link {
    color: var(--bs-primary);
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    padding: 10px 16px;
    margin: 0 4px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    text-decoration: none;
}

.pagination .page-link:hover {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 129, 46, 0.3);
}

.pagination .page-item.active .page-link {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
    box-shadow: 0 2px 8px rgba(10, 129, 46, 0.3);
}

.pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Nav Pills Links */
.nav-pills .nav-link {
    color: var(--bs-body-color);
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    background: transparent;
}

.nav-pills .nav-link:hover {
    background: rgba(10, 129, 46, 0.1);
    color: var(--bs-primary);
}

.nav-pills .nav-link.active {
    background: var(--bs-primary);
    color: white;
    box-shadow: 0 2px 8px rgba(10, 129, 46, 0.3);
}

/* Nav Tabs Links */
.nav-tabs .nav-link {
    color: var(--bs-body-color);
    border: none;
    border-bottom: 3px solid transparent;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    background: transparent;
}

.nav-tabs .nav-link:hover {
    border-bottom-color: var(--gray-400);
    color: var(--bs-primary);
    background: rgba(10, 129, 46, 0.05);
}

.nav-tabs .nav-link.active {
    border-bottom-color: var(--bs-primary);
    color: var(--bs-primary);
    background: rgba(10, 129, 46, 0.1);
}

/* Dropdown Links */
.dropdown-item {
    color: var(--bs-body-color);
    padding: 12px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-item:hover {
    background: rgba(10, 129, 46, 0.1);
    color: var(--bs-primary);
    padding-left: 24px;
}

.dropdown-item.active {
    background: var(--bs-primary);
    color: white;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
}

/* List Group Links */
.list-group-item-action {
    color: var(--bs-body-color);
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    cursor: pointer;
}

.list-group-item-action:hover {
    background: rgba(10, 129, 46, 0.1);
    color: var(--bs-primary);
    border-color: var(--bs-primary);
    padding-left: 20px;
}

.list-group-item-action.active {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
}

/* Subtle Link (Low emphasis) */
.link-subtle {
    color: var(--gray-600);
    font-weight: 500;
    font-size: 14px;
    background-image: none !important;
}

.link-subtle:hover {
    color: var(--bs-primary);
}

/* Link in Text (Inline) */
p a,
span a,
li a:not(.btn) {
    font-weight: 600;
    border-bottom: 2px solid transparent;
    padding-bottom: 1px;
}

p a:hover,
span a:hover,
li a:hover:not(.btn) {
    border-bottom-color: var(--bs-primary);
}

/* Disabled Link */
a.disabled,
a:disabled {
    color: var(--gray-500);
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.6;
}

/* Focus Visible (Accessibility) */
a:focus-visible {
    outline: 3px solid var(--bs-primary);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    a {
        font-size: 15px;
    }

    .link-badge {
        padding: 5px 12px;
        font-size: 13px;
    }

    .pagination .page-link {
        padding: 8px 12px;
        font-size: 14px;
    }
}

#topMarginNavSide{
    display: block;
    height: 80px;
}





















/* ============================================
   FULLCALENDAR MODERN THEME - FIXED LINKS
   ============================================ */

/* Calendar Container */
.fc {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
}

.fc .fc-view-harness {
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

/* Remove default link underlines in calendar */
.fc a {
    background-image: none !important;
    text-decoration: none !important;
}

.fc a:focus {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Calendar Header/Toolbar */
.fc .fc-toolbar {
    padding: 20px 24px;
    background: linear-gradient(135deg, #FAFAFA 0%, #F5F5F5 100%);
    border-bottom: 2px solid var(--gray-300);
    gap: 16px;
    flex-wrap: wrap;
}

.fc .fc-toolbar-title {
    font-size: 24px;
    font-weight: 700;
    color: #1A1A1A;
    letter-spacing: -0.5px;
}

.fc .fc-toolbar-chunk {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Toolbar Buttons */
.fc .fc-button {
    background: white;
    color: var(--bs-primary);
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    padding: 10px 18px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-transform: capitalize;
}

.fc .fc-button:hover {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 129, 46, 0.3);
}

.fc .fc-button:focus {
    box-shadow: 0 0 0 4px rgba(10, 129, 46, 0.2);
    outline: none;
}

.fc .fc-button-active,
.fc .fc-button:active {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--primary-dark) 100%);
    border-color: var(--bs-primary);
    color: white;
    box-shadow: 0 2px 8px rgba(10, 129, 46, 0.3);
    transform: scale(0.97);
}

.fc .fc-button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.fc .fc-button:disabled:hover {
    background: white;
    border-color: var(--gray-300);
    color: var(--bs-primary);
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Button Group */
.fc .fc-button-group {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.fc .fc-button-group > .fc-button {
    border-radius: 0;
    margin: 0;
    border-right: none;
}

.fc .fc-button-group > .fc-button:first-child {
    border-radius: 8px 0 0 8px;
}

.fc .fc-button-group > .fc-button:last-child {
    border-radius: 0 8px 8px 0;
    border-right: 2px solid var(--gray-300);
}

.fc .fc-button-group > .fc-button-active {
    border-right: 2px solid var(--bs-primary);
}

/* Today Button Special Style */
.fc .fc-today-button {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-color: var(--bs-primary);
    box-shadow: 0 2px 8px rgba(10, 129, 46, 0.3);
}

.fc .fc-today-button:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #054518 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 129, 46, 0.4);
}

/* Calendar Table */
.fc .fc-scrollgrid {
    border: 2px solid var(--gray-300);
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.fc .fc-scrollgrid-section-header > * {
    border: none;
}

/* Day Headers */
.fc .fc-col-header-cell {
    background: linear-gradient(135deg, #FAFAFA 0%, #F5F5F5 100%);
    border-color: var(--gray-300);
    padding: 16px 8px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--gray-700);
}

.fc .fc-col-header-cell-cushion {
    color: var(--gray-700);
    text-decoration: none;
    padding: 8px 4px;
    display: block;
    font-weight: 700;
}

.fc .fc-col-header-cell-cushion:hover {
    color: var(--gray-900);
}

/* Day Cells */
.fc .fc-daygrid-day {
    background: white;
    border-color: var(--gray-300);
    transition: all 0.2s ease;
}

.fc .fc-daygrid-day:hover {
    background: #FAFFFE;
}

.fc .fc-daygrid-day-frame {
    padding: 8px;
    min-height: 100px;
}

.fc .fc-daygrid-day-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

/* Day Number Link */
.fc .fc-daygrid-day-number {
    padding: 6px 10px;
    font-weight: 600;
    color: var(--gray-700);
    text-decoration: none !important;
    background-image: none !important;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 14px;
    display: inline-block;
}

.fc .fc-daygrid-day-number:hover {
    background: rgba(10, 129, 46, 0.1);
    color: var(--bs-primary);
}

/* Today Cell */
.fc .fc-day-today {
    background: rgba(10, 129, 46, 0.05) !important;
}

.fc .fc-day-today .fc-daygrid-day-number {
    background: var(--bs-primary);
    color: white;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(10, 129, 46, 0.3);
}

.fc .fc-day-today .fc-daygrid-day-number:hover {
    background: var(--primary-dark);
    color: white;
}

/* Other Month Days */
.fc .fc-day-other {
    background: #FAFAFA;
}

.fc .fc-day-other .fc-daygrid-day-number {
    color: var(--gray-500);
    opacity: 0.6;
}

.fc .fc-day-other .fc-daygrid-day-number:hover {
    opacity: 0.8;
    background: rgba(10, 129, 46, 0.08);
    color: var(--gray-600);
}

/* Weekend Days */
.fc .fc-day-sat,
.fc .fc-day-sun {
    background: #FAFAFA;
}

/* Events */
.fc-event {
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.fc-event:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

/* Event Title and Time - Remove link styles */
.fc .fc-event-main a,
.fc .fc-event-title,
.fc .fc-event-time {
    color: inherit !important;
    text-decoration: none !important;
    background-image: none !important;
}

.fc-event .fc-event-time {
    font-weight: 700;
    font-size: 12px;
}

.fc-event .fc-event-title {
    font-weight: 600;
}

/* Event Colors */
.fc-event-primary {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.fc-event-success {
    background: linear-gradient(135deg, var(--bs-success) 0%, var(--success-dark) 100%);
    color: white;
}

.fc-event-danger {
    background: linear-gradient(135deg, var(--bs-danger) 0%, var(--danger-dark) 100%);
    color: white;
}

.fc-event-warning {
    background: linear-gradient(135deg, var(--bs-warning) 0%, var(--warning-dark) 100%);
    color: white;
}

.fc-event-info {
    background: linear-gradient(135deg, var(--bs-info) 0%, var(--info-dark) 100%);
    color: white;
}

/* Default Event Color */
.fc .fc-daygrid-event {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--primary-dark) 100%);
    border: none;
    color: white;
}

.fc .fc-daygrid-event a {
    color: white !important;
}

/* Event Dot */
.fc .fc-daygrid-event-dot {
    border: 3px solid var(--bs-primary);
    background: white;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}

/* More Link */
.fc .fc-daygrid-more-link {
    color: var(--bs-primary) !important;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    text-decoration: none !important;
    background-image: none !important;
    font-size: 12px;
    display: inline-block;
}

.fc .fc-daygrid-more-link:hover {
    background: rgba(10, 129, 46, 0.1);
    color: var(--primary-dark) !important;
}

/* Popover */
.fc .fc-popover {
    border: 2px solid var(--gray-300);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    background: white;
    overflow: hidden;
}

.fc .fc-popover-header {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 12px 16px;
    font-weight: 700;
    border-bottom: none;
}

.fc .fc-popover-close {
    color: white;
    opacity: 1;
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.fc .fc-popover-close:hover {
    transform: scale(1.2);
}

.fc .fc-popover-body {
    padding: 12px;
}

/* Time Grid View */
.fc .fc-timegrid-slot {
    height: 3em;
    border-color: var(--gray-200);
}

.fc .fc-timegrid-slot-label {
    border-color: var(--gray-300);
    font-weight: 600;
    color: var(--gray-700);
    font-size: 12px;
}

.fc .fc-timegrid-slot-label a {
    color: var(--gray-700) !important;
    text-decoration: none !important;
    background-image: none !important;
}

.fc .fc-timegrid-axis {
    border-color: var(--gray-300);
}

.fc .fc-timegrid-now-indicator-line {
    border-color: var(--bs-danger);
    border-width: 2px;
}

.fc .fc-timegrid-now-indicator-arrow {
    border-color: var(--bs-danger);
    border-width: 6px;
}

/* List View */
.fc .fc-list-event {
    cursor: pointer;
}

.fc .fc-list-event:hover td {
    background: rgba(10, 129, 46, 0.05);
}

.fc .fc-list-event a {
    color: inherit !important;
    text-decoration: none !important;
    background-image: none !important;
}

.fc .fc-list-event-time {
    color: var(--bs-primary) !important;
    font-weight: 700;
}

.fc .fc-list-event-title a {
    color: var(--gray-900) !important;
    font-weight: 600;
}

.fc .fc-list-event:hover .fc-list-event-title a {
    color: var(--bs-primary) !important;
}

.fc .fc-list-day-cushion {
    background: linear-gradient(135deg, #FAFAFA 0%, #F5F5F5 100%);
    padding: 12px 16px;
    font-weight: 700;
    color: var(--gray-900);
}

.fc .fc-list-day-cushion a {
    color: var(--gray-900) !important;
    text-decoration: none !important;
    background-image: none !important;
}

.fc .fc-list-table td {
    border-color: var(--gray-300);
    padding: 12px 16px;
}

/* Week Number */
.fc .fc-daygrid-week-number {
    background: rgba(10, 129, 46, 0.1);
    color: var(--bs-primary);
    font-weight: 700;
    padding: 6px 8px;
    border-radius: 6px;
    text-decoration: none !important;
    background-image: none !important;
}

.fc .fc-daygrid-week-number:hover {
    background: rgba(10, 129, 46, 0.2);
    color: var(--primary-dark);
}

/* Scrollbar */
.fc-scroller {
    scrollbar-width: thin;
    scrollbar-color: var(--gray-400) var(--gray-100);
}

.fc-scroller::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.fc-scroller::-webkit-scrollbar-track {
    background: var(--gray-100);
}

.fc-scroller::-webkit-scrollbar-thumb {
    background-color: var(--gray-400);
    border-radius: 4px;
}

.fc-scroller::-webkit-scrollbar-thumb:hover {
    background-color: var(--gray-500);
}

/* Loading */
.fc .fc-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    color: var(--bs-primary);
}

/* Drag and Drop */
.fc-event-dragging {
    opacity: 0.8;
    cursor: move;
    z-index: 1000;
}

.fc-event-resizing {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .fc .fc-toolbar {
        padding: 16px;
        gap: 12px;
    }

    .fc .fc-toolbar-title {
        font-size: 20px;
    }

    .fc .fc-button {
        padding: 8px 14px;
        font-size: 13px;
    }

    .fc .fc-col-header-cell {
        padding: 12px 4px;
        font-size: 11px;
    }

    .fc .fc-daygrid-day-frame {
        min-height: 80px;
        padding: 6px;
    }

    .fc .fc-daygrid-day-number {
        padding: 4px 8px;
        font-size: 13px;
    }

    .fc-event {
        padding: 4px 8px;
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .fc .fc-toolbar {
        padding: 12px;
    }

    .fc .fc-toolbar-title {
        font-size: 18px;
        width: 100%;
        text-align: center;
    }

    .fc .fc-toolbar-chunk {
        width: 100%;
        justify-content: center;
    }

    .fc .fc-button {
        padding: 6px 12px;
        font-size: 12px;
    }

    .fc .fc-daygrid-day-frame {
        min-height: 60px;
        padding: 4px;
    }

    .fc .fc-col-header-cell-cushion {
        font-size: 10px;
    }
}

/* Custom Event Classes for Better Organization */
.fc-event.event-meeting {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
}

.fc-event.event-deadline {
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
}

.fc-event.event-task {
    background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
}

.fc-event.event-reminder {
    background: linear-gradient(135deg, #16A34A 0%, #15803D 100%);
}

.fc-event.event-birthday {
    background: linear-gradient(135deg, #EC4899 0%, #DB2777 100%);
}

/* Event with Icon */
.fc-event-icon::before {
    margin-right: 6px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.fc-event.event-meeting::before {
    content: "\f0c0";
}

.fc-event.event-deadline::before {
    content: "\f017";
}

.fc-event.event-task::before {
    content: "\f0ae";
}

.fc-event.event-reminder::before {
    content: "\f0f3";
}

.fc-event.event-birthday::before {
    content: "\f1fd";
}


.b-nav-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: transparent;
    box-shadow: none;
}
