/* Glassmorphism Tool CSS */

.preview-area {
    min-height: 400px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px) saturate(100%);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
    color: #333;
}

.controls {
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-label {
    font-weight: 500;
    margin-bottom: 8px;
}

.form-range {
    height: 6px;
}

.form-range::-webkit-slider-thumb {
    background: #0d6efd;
}

.form-control-color {
    width: 100%;
    height: 40px;
}

#cssCode {
    font-family: monospace;
    font-size: 14px;
    background-color: #f8f9fa;
    color: #212529;
    resize: none;
}

.copy-btn {
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background-color: #0b5ed7;
}

.bg-type-controls {
    margin-bottom: 15px;
}

.bg-type-controls .form-check {
    margin-right: 15px;
}

.bg-url-control {
    margin-bottom: 15px;
}

.preview-content {
    position: relative;
    z-index: 1;
}

.preview-card {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.preset-backgrounds {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.preset-bg {
    width: 60px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.preset-bg:hover, .preset-bg.active {
    border-color: #0d6efd;
    transform: scale(1.05);
} 