/* styles.css */

.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(225, 112, 85, 0.2);
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(225, 112, 85, 0.4);
}

.glass {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Custom Checkboxes */
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 0.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

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

input[type="checkbox"]:checked::after {
    content: '';
    width: 0.5rem;
    height: 0.75rem;
    border: solid #1A0F0A;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -0.125rem;
}

/* Typography Overrides for Prose (Rendered View) */
.prose {
    color: #FDF6F3;
    line-height: 1.6;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
    color: #fff;
    font-weight: 700;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.prose h1 {
    font-size: 2em;
    border-bottom: 1px solid rgba(225, 112, 85, 0.2);
    padding-bottom: 0.3em;
}

.prose h2 {
    font-size: 1.5em;
}

.prose h3 {
    font-size: 1.25em;
}

.prose p {
    margin-top: 0;
    margin-bottom: 1em;
    color: #DEB5A8;
}

.prose ul {
    list-style-type: disc;
    padding-left: 1.5em;
    margin-bottom: 1em;
    color: #DEB5A8;
}

.prose ol {
    list-style-type: decimal;
    padding-left: 1.5em;
    margin-bottom: 1em;
    color: #DEB5A8;
}

.prose li {
    margin-bottom: 0.25em;
}

.prose strong {
    color: #fff;
    font-weight: 600;
}

.prose hr {
    border-color: rgba(225, 112, 85, 0.2);
    margin: 2em 0;
}

.prose a {
    color: #00CEC9;
    text-decoration: none;
}

.prose a:hover {
    text-decoration: underline;
}

/* Transitions for Wizard */
.wizard-step.hidden {
    display: none;
}

.wizard-step.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 10;
}

.wizard-step.slide-out-left {
    opacity: 0;
    transform: translateX(-100%);
    z-index: 1;
}

.wizard-step.slide-in-right {
    opacity: 0;
    transform: translateX(100%);
    z-index: 1;
}

/* Select styling */
select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DEB5A8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.toast-show {
    opacity: 1 !important;
    transform: translateY(0) !important;
}