:where([class^="ri-"])::before { 
    content: "\f3c2"; 
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.overflow-hidden {
    overflow: hidden;
}

/* Step Indicator */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.step-indicator::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #e5e7eb;
    transform: translateY(-50%);
    z-index: 0;
}

.step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.step.active, 
.step.completed {
    background-color: #3176FF;
    border-color: #3176FF;
    color: white;
}

/* Checkbox Styling */
input[type="checkbox"] {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    margin: 0;
}

input[type="checkbox"]:checked {
    background-color: #3176FF;
    border-color: #3176FF;
}

input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #9ca3af;
}

/* Password Strength Indicator */
.password-strength {
    height: 4px;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Error Message */
.error-message {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Select Element Styling */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Chart Container */
.chart-container {
    width: 100%;
    height: 240px;
}

/* Mini Sidebar Styles */
#sidebar.mini-sidebar {
    width: 4rem;
}

#sidebar.mini-sidebar .sidebar-text,
#sidebar.mini-sidebar .sidebar-logo {
    display: none;
}

#sidebar.mini-sidebar .mini-logo {
    display: block;
}

#sidebar.mini-sidebar .sidebar-icon {
    margin-right: 0;
}

#sidebar.mini-sidebar a {
    justify-content: center;
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Notification Drawer Backdrop */
.notification-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 40;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.notification-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}


.chart-container {
width: 100%;
height: 240px;
}
input[type="checkbox"] {
appearance: none;
width: 16px;
height: 16px;
border: 2px solid #d1d5db;
border-radius: 4px;
position: relative;
cursor: pointer;
margin: 0;
}
input[type="checkbox"]:checked {
background-color: #3176FF;
border-color: #3176FF;
}
input[type="checkbox"]:checked::after {
content: "";
position: absolute;
left: 4px;
top: 1px;
width: 5px;
height: 9px;
border: solid white;
border-width: 0 2px 2px 0;
transform: rotate(45deg);
}
/* Mini sidebar styles */
#sidebar.mini-sidebar {
width: 4rem;
}
#sidebar.mini-sidebar .sidebar-text {
display: none;
}
#sidebar.mini-sidebar .sidebar-logo {
display: none;
}
#sidebar.mini-sidebar .mini-logo {
display: block;
}
#sidebar.mini-sidebar .sidebar-icon {
margin-right: 0;
}
#sidebar.mini-sidebar a {
justify-content: center;
}
/* Custom scrollbar */
.custom-scrollbar::-webkit-scrollbar {
width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background: #d1d5db;
border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
background: #9ca3af;
}
/* Notification drawer backdrop */
.notification-backdrop {
position: fixed;
inset: 0;
background-color: rgba(0, 0, 0, 0.5);
z-index: 40;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease;
}
.notification-backdrop.active {
opacity: 1;
pointer-events: auto;
}

