/* ===========================================
   Net Worth Calculator - Tool Specific Styles (Mint Green/Charcoal Theme)
   =========================================== */

/* Tool Layout */
.nwc-box {
    max-width: 900px;
    margin: 0 auto;
}

/* --- Input Area --- */
.nwc-section-header {
    font-size: 1.8rem;
    font-weight: 700;
    color: #065f46; /* Dark Green Header */
    margin: 30px 0 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid #a7f3d0; /* Mint border */
    text-align: left;
}

.nwc-category {
    background: #f0fdfa; /* Pale Mint BG */
    border: 1px solid #99f6e4;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
}

.nwc-category-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #0d9488; /* Medium Teal Title */
    margin-bottom: 20px;
    text-align: left;
}

.nwc-input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.nwc-input-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.nwc-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937; /* Charcoal Label */
    margin-bottom: 6px;
    display: block;
}

.nwc-input-container {
    display: flex;
    align-items: center;
    border: 1px solid #34d399; /* Mint Green Border */
    border-radius: 6px;
    overflow: hidden;
}

.nwc-input {
    padding: 10px;
    border: none;
    font-size: 1.1rem;
    color: #1f2937;
    width: 100%;
    /* Remove default number input arrows */
    -moz-appearance: textfield; 
}

/* Currency Symbol */
.nwc-symbol {
    background: #ccfbf1; /* Lightest Mint BG */
    color: #0d9488;
    padding: 10px 10px;
    font-size: 1.1rem;
    font-weight: 700;
}

/* --- Summary Area --- */
.nwc-summary {
    background: #1f2937; /* Charcoal BG */
    color: white;
    border-radius: 12px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.nwc-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.nwc-summary-item {
    text-align: center;
    padding: 15px;
    border-radius: 8px;
}

.nwc-summary-label {
    font-size: 1rem;
    font-weight: 600;
    color: #a7f3d0; /* Highlight Mint Label */
    margin-bottom: 8px;
}

.nwc-summary-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: #4ade80; /* Bright Green Value */
    line-height: 1.1;
}

/* Grand Total Result */
.nwc-net-worth-result {
    grid-column: 1 / -1;
    text-align: center;
    padding: 20px;
    margin-top: 15px;
    background: #065f46; /* Deep Green BG */
    border-radius: 8px;
}

.nwc-net-worth-label {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
}

.nwc-net-worth-value {
    font-size: 4rem;
    font-weight: 900;
    color: #fcd34d; /* Gold Highlight */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nwc-input-grid, .nwc-summary-grid {
        grid-template-columns: 1fr;
    }
    .nwc-net-worth-value {
        font-size: 3rem;
    }
    .nwc-summary-value {
        font-size: 2rem;
    }
}