/* ===========================================
   Sales Tax Calculator - Tool Specific Styles
   =========================================== */

/* Tool Layout */
.stc-box {
    max-width: 700px;
    margin: 0 auto;
}

/* Controls and Inputs */
.stc-controls {
    display: flex;
    gap: 20px;
    background: #f0f9ff; /* Light Cyan/Blue BG */
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #bae6fd;
    margin-bottom: 30px;
    flex-wrap: wrap; /* Allows inputs to wrap on small screens */
    align-items: flex-end; /* Aligns items to the bottom */
}

.stc-input-group {
    flex: 1; /* Distributes space evenly */
    min-width: 180px;
    display: flex;
    flex-direction: column;
}

.stc-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0c4a6e; /* Dark Blue Label */
    margin-bottom: 6px;
}

.stc-input, .stc-select {
    padding: 10px;
    border: 1px solid #7dd3fc; /* Medium Blue Border */
    border-radius: 6px;
    font-size: 1.1rem;
    color: #1f2937;
    width: 100%;
}

/* Calculate Button */
.stc-btn-calc {
    padding: 10px 20px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: #06b6d4; /* Primary Teal Button */
    color: white;
    transition: background 0.2s;
    height: 40px; /* Match height of input fields */
}
.stc-btn-calc:hover {
    background: #0891b2;
}

/* --- Results Section --- */

.stc-results-section {
    margin-top: 30px;
}

.stc-summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stc-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    border-left: 5px solid #06b6d4; /* Teal Accent */
}

.stc-card-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 5px;
}

.stc-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1f2937;
}

.stc-value.tax-amount {
    color: #ef4444; /* Red for Tax Amount */
}
.stc-value.total-price {
    color: #06b6d4; /* Teal for Final Price */
}

/* Responsive Styling */
@media (max-width: 600px) {
    .stc-controls {
        flex-direction: column;
        align-items: stretch;
    }
    .stc-btn-calc {
        height: auto;
        padding: 12px 20px;
    }
    .stc-summary-cards {
        grid-template-columns: 1fr;
    }
}