/**
 * Smart Estimate Pro - Glassmorphism Theme
 * Modern, frosted-glass effect with semi-transparent backgrounds and background blur.
 */

#sep-calculator-wrapper.sep-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    
    /* The Glass Effect */
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important; /* Dla Safari */
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15) !important;
    padding: 40px !important;
    color: #1e293b !important;
    transition: all 0.3s ease-in-out;
}

#sep-calculator-wrapper h3 {
    color: #0f172a !important;
    font-weight: 700 !important;
}

#sep-calculator-wrapper p {
    color: #475569 !important;
}

/* Form Elements - slightly transparent to match the glass vibe */
#sep-calculator-wrapper select, 
#sep-calculator-wrapper input[type="text"],
#sep-calculator-wrapper input[type="email"],
#sep-calculator-wrapper input[type="number"] {
    background: rgba(255, 255, 255, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 8px !important;
    color: #1e293b !important;
    padding: 12px 16px !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.2s ease !important;
}

#sep-calculator-wrapper select:focus, 
#sep-calculator-wrapper input:focus {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: #2563eb !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2) !important;
}

/* Custom Checkbox */
.sep-addon-checkbox {
    accent-color: #2563eb !important;
    transform: scale(1.1);
    cursor: pointer;
}

/* Buttons - with a subtle gradient to pop against the glass */
#sep-calculate-btn {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    padding: 14px 24px !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3) !important;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

#sep-calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4) !important;
}

#sep-book-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    padding: 14px 24px !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3) !important;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

#sep-book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4) !important;
}

/* Progress Bar */
.sep-progress-bar {
    background-color: rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 4px !important;
}

.sep-progress-fill {
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%) !important;
    border-radius: 3px !important;
}

/* Result Container - an inner glass layer */
#sep-result-container {
    background: rgba(255, 255, 255, 0.65) !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
}

#sep-result-container h4 {
    color: #0f172a !important;
    font-weight: 700 !important;
}

/* Footer signature */
#sep-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    color: #64748b !important;
}

#sep-footer a {
    color: #2563eb !important;
}