﻿.scrollable-area {
    height: 100%;
    overflow-y: auto;
    width: 100%;
    padding-right: 12px;
}

.scrollable-area::-webkit-scrollbar, .modal-body::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.scrollable-area::-webkit-scrollbar-track, .modal-body::-webkit-scrollbar-track {
    border-radius: 0px;
    background-color: var(--scrollbar-bg-color);
    border: 1px solid var(--scrollbar-border-color);
    width: 4px;
    height: 4px;
}

.scrollable-area::-webkit-scrollbar-thumb, .modal-body::-webkit-scrollbar-thumb {
    border-radius: 1px;
    background-color: var(--scrollbar-thumb-color);
    width: 3px;
    height: 3px;
    cursor: grab;
}

.scrollable-area::-webkit-scrollbar-thumb:hover, .modal-body::-webkit-scrollbar-thumb:hover {
    background-color: var(--scrollbar-thumb-color);
}

.scrollable-area::-webkit-scrollbar-thumb:active, .modal-body::-webkit-scrollbar-thumb:active {
    background-color: var(--scrollbar-thumb-color);
    cursor: grabbing;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
}

.modal {
    z-index: 1045;
}

.modal-backdrop {
    z-index: 1050 !important;
}

.modal-backdrop.light {
    background-color: #ffffff;
    opacity: 0.8;
}

.modal .modal-dialog {
    z-index: 1055;
}

.modal.modal-top {
    z-index: 1060 !important;
}

.modal.modal-top .modal-backdrop {
    z-index: 1065 !important;
}

.modal.modal-top .modal-dialog {
    z-index: 1070 !important;
}

.modal-content {
    border-radius: 0.75rem; /* 12px */
    border: none;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.modal-header {
    background-color: transparent;
    border-bottom: 1px solid var(--gray-100);
    padding: 1.5rem;
}

.modal-header .icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 1rem;
}

.modal-header .material-symbols-outlined {
    font-size: 24px;
}

.modal--warning .icon-container {
    background-color: var(--color-warning-bg);
}

.modal--warning .material-symbols-outlined {
    color: var(--color-warning);
}

.modal--error .icon-container {
    background-color: var(--color-error-bg);
}

.modal--error .material-symbols-outlined {
    color: var(--color-error);
}

.modal--prompt .icon-container {
    background-color: var(--color-prompt-bg);
}

.modal--prompt .material-symbols-outlined {
    color: var(--color-prompt);
}

.btn-close {
    color: var(--gray-400);
    background: transparent;
    border: none;
    opacity: 1;
}

.btn-close:hover {
    color: var(--gray-900);
}

.btn-close:focus {
    box-shadow: none;
}