body { 
    font-family: 'Hind Siliguri', sans-serif; 
    scroll-behavior: smooth; 
}

.as-green { 
    background-color: #006a3a; 
}

.as-green-hover:hover { 
    background-color: #00542e; 
}

.as-green-text { 
    color: #006a3a; 
}

.as-bg-light { 
    background-color: #f4faf7; 
}

.admin-modal { 
    z-index: 9999; 
}

input[type="text"], input[type="password"], input[type="datetime-local"], textarea, select { 
    border: 1px solid #cbd5e1; 
    padding: 10px; 
    border-radius: 6px; 
    width: 100%; 
    margin-bottom: 12px; 
    outline: none; 
    transition: all 0.2s; 
}

input[type="file"] { 
    border: 1px dashed #006a3a; 
    padding: 8px; 
    border-radius: 6px; 
    width: 100%; 
    margin-bottom: 12px; 
    background-color: #f9fbf9; 
    cursor: pointer; 
}

input:focus, textarea:focus, select:focus { 
    border-color: #006a3a; 
    box-shadow: 0 0 0 2px rgba(0, 106, 58, 0.2); 
}

.tab-btn.active { 
    background-color: #006a3a; 
    color: white; 
}

/* Premium Toggle Switch Style */
.switch { 
    position: relative; 
    display: inline-block; 
    width: 50px; 
    height: 26px; 
}

.switch input { 
    opacity: 0; 
    width: 0; 
    height: 0; 
}

.slider { 
    position: absolute; 
    cursor: pointer; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    background-color: #ccc; 
    transition: .4s; 
    border-radius: 34px; 
}

.slider:before { 
    position: absolute; 
    content: ""; 
    height: 18px; 
    width: 18px; 
    left: 4px; 
    bottom: 4px; 
    background-color: white; 
    transition: .4s; 
    border-radius: 50%; 
}

input:checked + .slider { 
    background-color: #006a3a; 
}

input:checked + .slider:before { 
    transform: translateX(24px); 
}

/* WYSIWYG Editor styling */
[contenteditable="true"]:empty:before {
    content: attr(placeholder);
    pointer-events: none;
    display: block;
    color: #94a3b8;
}
.editor-btn:active, .bubble-btn:active {
    transform: scale(0.95);
}

/* Hide scrollbars but keep scrolling working for sliders */
.scrollbar-none::-webkit-scrollbar {
    display: none;
}
.scrollbar-none {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Animated Brush Stroke Underline */
.brush-line {
    position: relative;
    width: 200px;
    height: 7.5px;
    margin: 12px auto 0 auto;
    background: #006a3a;
    border-radius: 30% 70% 70% 30% / 50% 30% 70% 50%;
    transform: rotate(-1.5deg);
    opacity: 0.95;
    animation: pulseBrush 4s ease-in-out infinite alternate;
}

.dark .brush-line {
    background: #34d399; /* Emerald text high contrast for dark mode */
}

.brush-line::after {
    content: '';
    position: absolute;
    inset: 1px 3px;
    background: linear-gradient(95deg, rgba(255,255,255,0.2) 20%, transparent 80%);
    border-radius: inherit;
}

@keyframes pulseBrush {
    0% {
        transform: rotate(-1deg) scaleX(0.85);
        border-radius: 30% 70% 70% 30% / 50% 30% 70% 50%;
    }
    100% {
        transform: rotate(-2deg) scaleX(1.1);
        border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    }
}

/* Minimal carousel slide root */
.minimal__carousel__slide__root {
    flex-shrink: 0;
    scroll-snap-align: center;
    width: 100%;
    max-width: 100%;
}

@media (min-width: 640px) {
    .minimal__carousel__slide__root {
        width: calc(50% - 12px);
    }
}

@media (min-width: 768px) {
    .minimal__carousel__slide__root {
        width: calc(33.333% - 16px);
    }
}

@media (min-width: 1280px) {
    .minimal__carousel__slide__root {
        width: calc(25% - 18px); /* 4 items on extra wide devices */
    }
}


