.main-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    overflow: hidden;
}

.header-section {
    background: linear-gradient(135deg, #18243E 0%, #2c3e50 100%);
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="20" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.header-content {
    position: relative;
    z-index: 1;
}
.header-content i{
    background-color: #7cb342;
    color: #fff;
    font-size: 2.5rem;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
}
.calculator-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #7cb342;
}

.form-section {
    background: #f8f9fa;
    padding: 2rem;
    border-right: 1px solid #e9ecef;
}

.results-section {
    padding: 2rem;
    background: white;
}

.form-label {
    color: #18243E;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #7cb342;
    box-shadow: 0 0 0 0.2rem rgba(124, 179, 66, 0.25);
}

.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #ddd;
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #7cb342;
    cursor: pointer;
}

.range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #7cb342;
    cursor: pointer;
    border: none;
}

.calculate-btn {
    background: linear-gradient(135deg, #7cb342 0%, #8bc34a 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 179, 66, 0.3);
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 179, 66, 0.4);
    background: linear-gradient(135deg, #8bc34a 0%, #7cb342 100%);
}

.result-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 5px solid #7cb342;
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.result-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #18243E;
}

.result-label {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.breakdown-section {
    background: #18243E;
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 2rem;
}
.breakdown-section h5{
    color: #fff !important;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.breakdown-item:nth-last-child(2) {
    border-bottom: none;
}

.breakdown-item:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 2px solid #7cb342;
}

.info-badge {
    background: #7cb342;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.feature-highlight {
    background: linear-gradient(135deg, #7cb342 0%, #8bc34a 100%);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
    text-align: center;
}

.gender-selector {
    background: white;
    border-radius: 10px;
    padding: 0.5rem;
    border: 2px solid #e9ecef;
}

.gender-option {
    flex: 1;
    padding: 0.5rem;
    border: none;
    background: transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.gender-option.active {
    background: #7cb342;
    color: white;
}

@media (max-width: 768px) {
    .form-section, .results-section {
        border-right: none;
    }
    
    .result-value {
        font-size: 1.5rem;
    }
}

.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.input-group-text {
    background: #7cb342;
    color: white;
    border: 2px solid #7cb342;
    font-weight: 600;
}

.tips-section {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem;
    border-left: 4px solid #ffc107;
}

.property-types {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.property-type-btn {
    background: white;
    border: 2px solid #e9ecef;
    color: #18243E;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    cursor: pointer;
}

.property-type-btn.active {
    background: #7cb342;
    color: white;
    border-color: #7cb342;
}