/* NPS Calculator Stylesheet */
.nps-wrapper {
    font-family: system-ui, -apple-system, sans-serif;
    display: flex;
    justify-content: center;
    padding: 20px 0;
    width: 100%;
    box-sizing: border-box;
}

.nps-container {
    background: #ffffff;
    padding: 24px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    width: 100%;
    max-width: 320px; /* Locked narrow for AdSense space */
    box-sizing: border-box;
}

.nps-container h2 {
    margin-top: 0;
    font-size: 1.5rem;
    color: #0f766e; /* Institutional Teal */
    margin-bottom: 20px;
    text-align: center;
    font-weight: 800;
}

.nps-input-group {
    margin-bottom: 16px;
    text-align: left;
}

.nps-input-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
}

.nps-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.nps-input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 1rem;
    background: #f8fafc;
    color: #0f172a;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.nps-input-wrapper input {
    padding-left: 30px; 
}

.nps-input-wrapper #npsRate {
    padding-left: 12px;
    padding-right: 30px; 
}

.nps-currency, .nps-symbol {
    position: absolute;
    font-weight: 600;
    color: #64748b;
}

.nps-currency { left: 12px; }
.nps-symbol { right: 10px; }

.nps-note {
    display: block;
    margin-top: 4px;
    font-size: 0.75rem;
    color: #64748b;
}

.nps-input-group input:focus {
    outline: none;
    border-color: #0d9488; /* Teal Focus */
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
    background: #ffffff;
}

.nps-btn {
    width: 100%;
    background: #0f766e; /* Teal */
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 5px;
    transition: background-color 0.2s;
    box-shadow: 0 4px 6px -1px rgba(15, 118, 110, 0.3);
}

.nps-btn:hover {
    background: #115e59;
}

.nps-result-box {
    margin-top: 24px;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    background: #f0fdfa; /* Light Teal Tint */
    border: 1px solid #ccfbf1;
    display: none; 
}

.nps-result-box h3 {
    margin: 0;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #115e59;
    letter-spacing: 0.05em;
}

.nps-result-main {
    margin: 10px 0 15px 0;
    font-size: 2.1rem;
    font-weight: 900;
    color: #0f766e;
}

.nps-breakdown {
    border-top: 1px solid #99f6e4;
    padding-top: 15px;
    text-align: left;
    font-size: 0.85rem;
    color: #115e59;
}

.nps-breakdown-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.nps-breakdown-row:last-child {
    margin-bottom: 0;
}

.nps-highlight {
    color: #0f766e;
    font-weight: 800;
}

.nps-divider {
    text-align: center;
    margin: 15px 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    border-bottom: 1px dashed #99f6e4;
    padding-bottom: 5px;
}

.nps-success {
    color: #15803d; /* Green for tax-free lump sum */
    font-weight: 800;
}

.nps-rule-note {
    display: block;
    margin-top: 8px;
    font-size: 0.75rem;
    text-align: center;
    color: #64748b;
}