/* Base styles */
body {
    font-family: 'DM Sans', sans-serif;
    background-color: #F8F6F0;
    background-image: 
        linear-gradient(rgba(232, 230, 223, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232, 230, 223, 0.5) 1px, transparent 1px);
    background-size: 24px 24px;
}

.font-display {
    font-family: 'Fraunces', serif;
}

/* Paper effect shadow */
.paper-shadow {
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.02),
        0 2px 2px rgba(0,0,0,0.02),
        0 4px 4px rgba(0,0,0,0.02),
        0 8px 8px rgba(0,0,0,0.02),
        0 16px 16px rgba(0,0,0,0.02);
}

/* Form inputs */
.form-input {
    transition: all 0.2s ease;
    border: 2px solid #E8E6DF;
}

.form-input:focus {
    border-color: #4ECDC4;
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.15);
}

.form-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* SEND tag checkboxes */
.tag-checkbox:checked + .tag-label {
    background-color: #4ECDC4;
    color: white;
    border-color: #4ECDC4;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

/* Prompt output area */
.prompt-output {
    background: linear-gradient(135deg, #2D3142 0%, #3D4256 100%);
}

.prompt-output::-webkit-scrollbar {
    width: 8px;
}

.prompt-output::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

.prompt-output::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
}

.prompt-output::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.5);
}

/* Button effects */
.copy-btn:active {
    transform: scale(0.98);
}

/* Range slider styling */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: #E8E6DF;
    border-radius: 4px;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #4ECDC4;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #4ECDC4;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}
