/* ===========================================
    Markup Calculator - Tool Specific Styles
    =========================================== */

/* Box Styling */
.mu-box {
    max-width: 750px; 
    margin: 0 auto;
    padding: 0; 
}

/* Form Container */
.mu-form {
    padding: 25px; 
    border: 1px solid #005691; /* Strong Blue Border */
    border-radius: 8px;
    background-color: #F0F8FF; /* Pale Blue Background */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.mu-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #004D80; /* Darker Blue */
    border-bottom: 2px solid #B3D9FF;
    padding-bottom: 5px; 
    margin-top: 5px; 
    margin-bottom: 20px; 
}

/* --- Input Grid --- */
.mu-input-grid {
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-between;
    gap: 15px 3%;
    margin-bottom: 10px; 
}

.mu-input-group {
    flex-basis: 48%; /* Two inputs per row */
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

.mu-input-group label {
    font-weight: 600;
    color: #495057;
    font-size: 0.95rem; 
    margin-bottom: 8px;
}

.mu-input-group input[type="number"] {
    padding: 12px;
    border: 1px solid #66A3D2;
    border-radius: 6px;
    font-size: 1rem;
    flex-grow: 1;
    text-align: right; 
    background-color: white;
}

/* Helper Text/Toggle */
.mu-help-text {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: -5px;
    margin-bottom: 15px;
}

/* Button Styles */
.mu-calculate-btn {
    display: block;
    width: 100%;
    padding: 16px; 
    margin-top: 25px; 
    background-color: #FF7043; /* Vivid Orange */
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
}
.mu-calculate-btn:hover {
    background-color: #F4511E;
}

/* --- Results Display --- */
.mu-results {
    margin-top: 20px; 
    padding: 25px;
    border: 2px solid #FF7043; 
    border-radius: 8px;
    background-color: #FFF3E0; /* Pale Orange/Yellow for results */
    text-align: center;
}

.mu-results-title {
    color: #D84315;
    font-size: 1.6rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #FFCCBC;
    padding-bottom: 5px;
}

/* Results Grid: Key Outputs */
.mu-results-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
}

.mu-output-item {
    flex-basis: 48%; 
    padding: 15px;
    border-radius: 6px;
    background-color: #FFFFFF;
    border: 1px solid #FFCCBC;
    text-align: left;
}

.mu-output-item .label {
    font-size: 1rem;
    color: #495057;
    font-weight: 500;
}

.mu-output-item .value {
    font-size: 1.8rem;
    font-weight: 900;
    color: #004D80; /* Blue for money/percentages */
    line-height: 1.3;
}

/* Highlighted Price */
#outputSellingPrice .value {
    color: #2E7D32; /* Green for key revenue */
    font-size: 2.2rem;
}

/* 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) {
    .mu-input-group, .mu-output-item {
        flex-basis: 100%;
        min-width: unset;
    }
}