/* GST Calculator Pakistan Styles */
.gst-calculator-pk {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 500px;
    margin: 20px auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e1e5e9;
}

.gst-calculator-container {
    padding: 0;
}

/* Header Styles - Removed background color */
.gst-calculator-header {
    background: #ffffff;
    color: #2c3e50;
    padding: 20px;
    text-align: center;
    border-bottom: 2px solid #667eea;
}

.gst-calculator-header h3 {
    margin: 0;
    font-size: 1.4em;
    font-weight: 600;
    color: #2c3e50;
}

.gst-calculator-header i {
    margin-right: 10px;
    font-size: 1.2em;
    color: #667eea;
}

/* Form Styles */
.gst-calculator-form {
    padding: 25px;
    background: #f8f9fa;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
    font-size: 0.95em;
}

.form-group i {
    margin-right: 8px;
    color: #667eea;
    width: 16px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Button Styles */
.gst-calculate-btn {
    width: 100%;
    background: #667eea;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.gst-calculate-btn:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.gst-calculate-btn:active {
    transform: translateY(0);
}

.gst-calculate-btn i {
    margin-right: 8px;
}

/* Results Styles */
.gst-calculator-results {
    padding: 25px;
    background: white;
    border-top: 1px solid #e9ecef;
}

.results-header {
    margin-bottom: 20px;
    text-align: center;
}

.results-header h4 {
    margin: 0;
    color: #495057;
    font-size: 1.2em;
}

.results-header i {
    margin-right: 8px;
    color: #28a745;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f4;
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    font-weight: 500;
    color: #6c757d;
}

.result-value {
    font-weight: 600;
    color: #495057;
    font-size: 1.1em;
}

.total-price {
    background: #f8f9fa;
    margin: 0 -25px;
    padding: 15px 25px;
    border-top: 2px solid #e9ecef;
    border-bottom: 2px solid #e9ecef;
}

.total-price .result-value {
    color: #28a745;
    font-size: 1.3em;
}

/* Breakdown Section */
.breakdown-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dashed #e9ecef;
}

.breakdown-section h5 {
    margin: 0 0 15px 0;
    color: #495057;
    font-size: 1em;
    text-align: center;
}

.breakdown-section h5 i {
    margin-right: 8px;
    color: #ffc107;
}

/* Error Styles */
.gst-calculator-error {
    padding: 15px 25px;
    background: white;
    border-top: 1px solid #e9ecef;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 15px;
    border-radius: 6px;
    border: 1px solid #f5c6cb;
    display: flex;
    align-items: center;
}

.error-message i {
    margin-right: 10px;
    font-size: 1.1em;
}

/* Loading State */
.gst-calculate-btn.loading {
    pointer-events: none;
    opacity: 0.7;
    background: #8fa3f3;
}

.gst-calculate-btn.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .gst-calculator-pk {
        margin: 10px;
        max-width: none;
    }
    
    .gst-calculator-form,
    .gst-calculator-results {
        padding: 20px;
    }
    
    .result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .result-value {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .gst-calculator-header h3 {
        font-size: 1.2em;
    }
    
    .gst-calculator-form,
    .gst-calculator-results {
        padding: 15px;
    }
    
    .form-group input,
    .form-group select {
        padding: 10px 12px;
    }
    
    .gst-calculate-btn {
        padding: 12px 15px;
        font-size: 1em;
    }
}