:root {
    font-family: 'Inter', sans-serif;
    --font-family-sans-serif: 'Inter', sans-serif;

    --border-primary: #667eea;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --section-header-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --box-shadow-primary: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    --box-shadow-primary-hover: 0 4px 15px rgba(102, 126, 234, 0.4);
}

@supports (font-variation-settings: normal) {
    :root { 
        font-family: 'Inter var', sans-serif; 
        --font-family-sans-serif: 'Inter var', sans-serif;
    }
}

/* :root {
    font-family: 'Figtree', sans-serif;
    --font-family-sans-serif: 'Figtree', sans-serif;
} */

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-sans-serif);
}

.footer {
    background: unset;
}

.main-content {
    min-height: 100vh;
    height: auto !important;
    height: 100vh;
}

/**
 * Sidebar
 */

@media (min-width: 768px) {
    .navbar-vertical .navbar-collapse:before {
        margin: 0 !important;
    }
}

.navbar-horizontal .navbar-brand img {
    height: 60px;
}

/* Sidebar Logo */
.sidebar-logo {
    max-width: 100%;
    max-height: 7rem;
    width: 100%;
    height: auto;
}

a.nav-link.active {
    border-radius: .375rem;
    background: #f6f9fc;
}

.profile-image .profile-pic:hover {
    transform: translate(-50%, -33%);
}

.profile-image .profile-pic {
    position: absolute;
    left: 50%;
    max-width: 180px;
    transition: all .15s ease;
    transform: translate(-50%, -30%);
    border-radius: 50%;
}

.profile-image .profile-pic,
.shadow {
    box-shadow: 0 0 2rem 0 rgba(136, 152, 170, .15) !important;
}

.profile-pic {
    background-position: center;
    background-size: cover;
    height: 120px;
    width: 120px;
}

/**
 * Login page
 */

.login-app-name {
    font-weight: 900;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

/**
  * Page Header Title
  */
.header-body span h1 {
    font-weight: 900;
}

/**
 * Utility classes
 */

.text-white {
    color: white !important;
}

/* Font weight */
.fw-100 {
    font-weight: 100 !important;
}

.fw-200 {
    font-weight: 200 !important;
}

.fw-300 {
    font-weight: 300 !important;
}

.fw-400 {
    font-weight: 400 !important;
}

.fw-500 {
    font-weight: 500 !important;
}

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

.fw-700 {
    font-weight: 700 !important;
}

.fw-800 {
    font-weight: 800 !important;
}

.fw-900 {
    font-weight: 900 !important;
}

.btn.btn-icon {
    font-size: 20px;
    font-weight: 400;
    background-color: transparent;
    padding: 0;
}

.btn.btn-icon:hover {
    transform: none;
    box-shadow: none;
}

.btn.btn-icon:focus {
    transform: none;
    box-shadow: none;
}

.cursor-pointer--hover:hover {
    cursor: pointer;
}

.heading--dropshadow {
    filter: drop-shadow(2px 2px 2px #4444dd);
}

/* multiselect */
.ms-container {
    width: 100% !important;
}

.ms-container .ms-optgroup-label {
    position: sticky;
    top: 0;
    z-index: 1;
    font-weight: bold;
    background-color: aliceblue;
    text-align: center;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* select2-bootstrap4 */
.select2-container--bootstrap4 .select2-selection {
    border: 1px solid rgba(50,151,211,.25);
    padding: 0.625rem 0.75rem;
}

.select2-container--bootstrap4 .select2-selection--single {
    height: calc(2.75rem + 2px) !important;
}

.select2-container--bootstrap4 .select2-selection__placeholder,
.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    /* line-height: calc(1.5em + .75rem); */
    line-height: normal !important;
}

.table td, .table th {
    vertical-align: middle;
}

/**
 * Custom Scrollbar
 */

::-webkit-scrollbar {
    width: 13px;
}

::-webkit-scrollbar-thumb {
    background: #999999;
    border-radius: 20px;
}

::-webkit-scrollbar-track {
    background: #ebebeb;
    border-radius: 20px;
}

/**
 * Form Styles
 */

.required-field::after {
  content: " *";
  color: #e74c3c;
  font-weight: bold;
}

.form-control:focus {
  border-color: var(--border-primary);
  box-shadow: var(--box-shadow-primary);
}

.select2-container--bootstrap4 .select2-selection--single:focus {
  border-color: var(--border-primary);
  box-shadow: var(--box-shadow-primary);
}

.section-header {
  background: var(--gradient-primary);
  color: white;
  padding: 1rem;
  
  /* margin: 0 -1.25rem 1.5rem -1.25rem; */
  border-radius: 0.375rem 0.375rem 0 0;
}

.section-header h5 {
  margin: 0;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}

.form-section {
  margin-bottom: 2rem;
  border: 1px solid #e3e6f0;
  border-radius: 0.375rem;
  overflow: hidden;
}

.form-section:last-child {
  margin-bottom: 0;
}

.form-content {
  padding: 1.25rem;
}

.btn-primary-gradient {
  background: var(--gradient-primary);
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
  color: white;
}

.btn-primary-gradient:hover {
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--box-shadow-primary-hover);
}