/* Glass UI Generator Styles */
.glass-generator {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.card {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    padding: 1rem 1.25rem;
}

.form-range::-webkit-slider-thumb {
    background: #0d6efd;
}

.form-range::-moz-range-thumb {
    background: #0d6efd;
}

.form-range::-ms-thumb {
    background: #0d6efd;
}

#css-output {
    background-color: #f8f9fa;
    border-radius: 0.25rem;
    padding: 1rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #212529;
    white-space: pre-wrap;
    word-break: break-all;
    border: 1px solid #dee2e6;
    max-height: 300px;
    overflow-y: auto;
}

.glass-preview-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.glass-effect h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.glass-effect p {
    margin-bottom: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .glass-generator .row {
        flex-direction: column;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    #css-output {
        max-height: 200px;
    }
}

/* Animation for glass effect changes */
@keyframes glass-pulse {
    0% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(13, 110, 253, 0); }
    100% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0); }
}

.glass-effect.changed {
    animation: glass-pulse 0.5s ease;
}