/* SIP Calculator Styles */
.sip-calculator-container {
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.sip-calculator-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    color: white;
}

.sip-header {
    text-align: center;
    margin-bottom: 30px;
}

.sip-header h3 {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 600;
}

.sip-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 16px;
}

.sip-calculator-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 16px;
}

.form-group label i {
    margin-right: 8px;
    width: 20px;
}

.sip-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.sip-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

.sip-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.sip-range {
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.3);
    outline: none;
    margin: 10px 0;
    -webkit-appearance: none;
}

.sip-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.sip-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.range-value {
    text-align: center;
    margin-top: 5px;
}

.range-value span {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 500;
}

.input-hint {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 5px;
}

.sip-calculate-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #FF6B6B, #FF8E53);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.sip-calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.sip-calculate-btn:active {
    transform: translateY(0);
}

.sip-results {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.results-header {
    text-align: center;
    margin-bottom: 20px;
}

.results-header h4 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.result-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.result-item.total-value {
    background: linear-gradient(45deg, #4ECDC4, #44A08D);
}

.result-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.result-value {
    font-size: 18px;
    font-weight: 700;
}

.chart-container {
    max-width: 300px;
    margin: 0 auto;
}

.sip-loading {
    text-align: center;
    padding: 40px;
}

.loading-spinner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.loading-spinner i {
    font-size: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sip-calculator-card {
        padding: 20px;
        margin: 10px;
    }
    
    .sip-calculator-form {
        padding: 20px;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .sip-header h3 {
        font-size: 24px;
    }
    
    .sip-input {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .sip-calculate-btn {
        padding: 12px;
        font-size: 16px;
    }
}

/* FontAwesome fallback */
.fas {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}