/* ============================================================
   Kreditni kalkulator widget component
   Matches investor-widget.css dark panel style
   ============================================================ */

#nc-credit-calc-widget {
    font-family: 'Manrope', sans-serif;
    border: none;
    border-top: 3px solid #2563eb;
    background: #1e2533;
    color: white;
    padding: 26px;
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(37, 99, 235, 0.15);
}

/* Reuses .nc-inv-label from investor widget for the heading */
#nc-credit-calc-widget .nc-inv-label {
    color: #93c5fd;
    font-size: 0.85rem;
    font-weight: 800;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.nc-calc-desc {
    color: #94a3b8;
    font-size: 0.875rem;
    margin: 0 0 18px 0;
    line-height: 1.5;
}

.nc-calc-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.nc-calc-field label {
    color: #cbd5e1;
    font-size: 0.8rem;
    font-weight: 700;
}

.nc-calc-field input[type="number"] {
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 11px 14px;
    color: #f8fafc;
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    outline: none;
    -moz-appearance: textfield;
    appearance: textfield;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.nc-calc-field input[type="number"]::-webkit-inner-spin-button,
.nc-calc-field input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.nc-calc-field input[type="number"]::placeholder {
    color: #475569;
}

.nc-calc-field input[type="number"]:focus {
    border-color: rgba(99, 179, 237, 0.6);
    background: rgba(255, 255, 255, 0.12);
}

.nc-calc-field input[type="number"]:invalid:not(:placeholder-shown) {
    border-color: rgba(252, 129, 129, 0.6);
}

.nc-calc-submit {
    margin-top: 6px;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
}

.nc-calc-powered {
    margin: 16px 0 0 0;
    font-size: 0.78rem;
    color: #64748b;
    text-align: center;
    line-height: 1.5;
}

.nc-calc-powered a {
    color: #93c5fd;
    text-decoration: none;
    font-weight: 700;
}

.nc-calc-powered a:hover {
    color: #bfdbfe;
    text-decoration: underline;
}

/* Mobile adjustments */
@media (max-width: 640px) {
    #nc-credit-calc-widget {
        padding: 18px;
    }
}
