@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

.psc-calculator-container {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 2em;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 2em auto;
    color: #333;
    overflow: hidden;
    position: relative;
}

.psc-calculator-container::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: rgba(0, 123, 255, 0.05);
    border-radius: 50%;
    z-index: 1;
}

.psc-calculator-container::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: rgba(220, 53, 69, 0.05);
    border-radius: 50%;
    z-index: 1;
}

.psc-calculator-header {
    text-align: center;
    margin-bottom: 2em;
    position: relative;
    z-index: 2;
}

.psc-calculator-header h2 {
    font-size: 2.5em;
    font-weight: 700;
    color: #0056b3;
    margin: 0;
}

.psc-calculator-header p {
    font-size: 1.1em;
    color: #555;
}

.psc-form-group {
    margin-bottom: 1.5em;
    position: relative;
    z-index: 2;
}

.psc-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5em;
    color: #0056b3;
}

.psc-input, .psc-select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1em;
    transition: all 0.3s ease;
    background-color: #fff;
}

.psc-input:focus, .psc-select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
}

.psc-results {
    margin-top: 2em;
    padding: 1.5em;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    text-align: center;
    display: none; /* Initially hidden */
    position: relative;
    z-index: 2;
}

.psc-results.show {
    display: block;
}

.psc-price-display {
    display: flex;
    justify-content: space-around;
    margin-top: 1em;
}

.psc-price-box {
    padding: 1em;
    border-radius: 8px;
    width: 45%;
}

.psc-price-box h3 {
    margin-top: 0;
    font-size: 1.2em;
    font-weight: 400;
}

.psc-price-box p {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 0;
}

#psc-low-range {
    background-color: rgba(40, 167, 69, 0.1);
    color: #155724;
}

#psc-low-range p {
     color: #28a745;
}

#psc-high-range {
    background-color: rgba(220, 53, 69, 0.1);
    color: #721c24;
}

 #psc-high-range p {
     color: #dc3545;
}

.psc-disclaimer {
    font-size: 0.8em;
    color: #666;
    margin-top: 1.5em;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 600px) {
    .psc-calculator-container {
        padding: 1.5em;
    }
    .psc-calculator-header h2 {
        font-size: 2em;
    }
    .psc-price-display {
        flex-direction: column;
        align-items: center;
    }
    .psc-price-box {
        width: 90%;
        margin-bottom: 1em;
    }
}