
/* Kitchen Remodel Estimator Secure Styles */
.kitchen-estimator-wrapper {
    padding: 20px;
    max-width: 100%;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.kitchen-estimator-wrapper * {
    box-sizing: border-box;
}

.estimator-container {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.kitchen-estimator-wrapper .header {
    text-align: center;
    margin-bottom: 30px;
}

.kitchen-estimator-wrapper .header h1 {
    color: #2d3748;
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.kitchen-estimator-wrapper .header p {
    color: #718096;
    font-size: 1.1rem;
    margin: 0;
}

.kitchen-estimator-wrapper .input-group {
    margin-bottom: 25px;
}

.kitchen-estimator-wrapper .input-group label {
    display: block;
    color: #4a5568;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1rem;
}

.kitchen-estimator-wrapper .input-wrapper {
    position: relative;
}

.kitchen-estimator-wrapper .input-group input.kre-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: white;
}

.kitchen-estimator-wrapper .input-group input.kre-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.kitchen-estimator-wrapper .input-group input.kre-input:invalid {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.kitchen-estimator-wrapper .unit-label {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    font-weight: 500;
    pointer-events: none;
}

.kitchen-estimator-wrapper .form-help {
    display: block;
    margin-top: 5px;
    color: #718096;
    font-size: 0.875rem;
}

.kitchen-estimator-wrapper .calculate-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kitchen-estimator-wrapper .calculate-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.kitchen-estimator-wrapper .calculate-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.kitchen-estimator-wrapper .result-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 1px solid #e2e8f0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.kitchen-estimator-wrapper .result-container.show {
    opacity: 1;
    transform: translateY(0);
}

.kitchen-estimator-wrapper .result-title {
    color: #2d3748;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.kitchen-estimator-wrapper .result-amount {
    color: #667eea;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.kitchen-estimator-wrapper .result-note {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.kitchen-estimator-wrapper .kitchen-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.kitchen-estimator-wrapper .error-message {
    background: #fed7d7;
    color: #c53030;
    padding: 12px;
    border-radius: 8px;
    margin: 10px 0;
    border: 1px solid #feb2b2;
}

@media (max-width: 600px) {
    .estimator-container {
        padding: 25px;
        margin: 10px;
    }
    
    .kitchen-estimator-wrapper .header h1 {
        font-size: 1.8rem;
    }
    
    .kitchen-estimator-wrapper .result-amount {
        font-size: 2.5rem;
    }
}
