/* ===========================================
    Pricing Strategy Tool - Tool Specific Styles
    =========================================== */

/* Box Styling */
.ps-box {
    max-width: 900px; 
    margin: 0 auto;
    padding: 0; 
}

/* Form Container */
.ps-form {
    padding: 25px; 
    border: 1px solid #004D40; /* Dark Teal/Green Border */
    border-radius: 8px;
    background-color: #E0F2F1; /* Pale Mint Green Background */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.ps-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #004D40; /* Dark Teal/Green */
    border-bottom: 2px solid #B2DFDB;
    padding-bottom: 5px; 
    margin-top: 5px; 
    margin-bottom: 20px; 
}

/* --- Input Grid --- */
.ps-input-grid {
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-between;
    gap: 15px 3%;
    margin-bottom: 10px; 
}

.ps-input-group {
    flex-basis: 31%; /* Allows three inputs per row */
    min-width: 180px;
    display: flex;
    flex-direction: column;
}

.ps-input-group label {
    font-weight: 600;
    color: #495057;
    font-size: 0.95rem; 
    margin-bottom: 8px;
}

.ps-input-group input[type="number"] {
    padding: 12px;
    border: 1px solid #80CBC4;
    border-radius: 6px;
    font-size: 1rem;
    flex-grow: 1;
    text-align: right; 
    background-color: white;
}

/* Button Styles */
.ps-calculate-btn {
    display: block;
    width: 100%;
    padding: 16px; 
    margin-top: 30px; 
    background-color: #FFC107; /* Amber/Gold */
    color: #333;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
}
.ps-calculate-btn:hover {
    background-color: #FFB300;
}

/* --- Results Display --- */
.ps-results {
    margin-top: 20px; 
    padding: 25px;
    border: 2px solid #FFC107; 
    border-radius: 8px;
    background-color: #FFFDE7; /* Pale Yellow for results */
    text-align: center;
}

.ps-results-title {
    color: #333;
    font-size: 1.6rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #FFF59D;
    padding-bottom: 5px;
}

/* Results Summary Table */
.ps-summary-table {
    width: 100%;
    max-width: 700px;
    margin: 20px auto;
    border-collapse: collapse;
}

.ps-summary-table th, .ps-summary-table td {
    padding: 15px;
    border: 1px solid #B2DFDB;
}

.ps-summary-table thead th {
    background-color: #004D40;
    color: white;
    font-weight: 600;
    text-align: left;
}

.ps-summary-table tbody th {
    background-color: #E0F2F1;
    color: #004D40;
    font-weight: 700;
    text-align: left;
}

.ps-summary-table td {
    font-size: 1.5rem;
    font-weight: 900;
    color: #D84315; /* Orange/Red for emphasis */
    text-align: right;
}

/* Highlight the Recommended Price */
.ps-recommended-row th, .ps-recommended-row td {
    border-top: 3px double #004D40;
    border-bottom: 3px double #004D40;
}
.ps-recommended-row td {
    color: #2E7D32; /* Strong Green */
}

/* Recalculate Button (Global Style Reuse) */
.bc-recalculate-btn {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 20px;
    background-color: #9E9E9E;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}
.bc-recalculate-btn:hover {
    background-color: #616161;
}

/* --- Responsive Adjustments --- */
@media (max-width: 650px) {
    .ps-input-group {
        flex-basis: 100%;
        min-width: unset;
    }
}