﻿/* number inout */
.mun-field {
    margin-bottom: 1.25rem;
}

.mun-label {
    display: inline-block;
    margin-bottom: 0.55rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #344767;
}

.mun-hint {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.75rem;
    color: #6c757d;
}

.mun-shell {
    position: relative;
}

.mun-input {
    width: 100%;
    height: 50px;
    border-radius: 0.9rem;
    border: 1px solid #d7dee7;
    background: #fff;
    color: #344767;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
    transition: all 0.2s ease;
}

.mun-input:hover {
    border-color: var(--bs-secondary);
}

.mun-input:focus {
    border-color: var(--bs-primary);
    outline: none;
}

.mun-shell.has-icon .mun-input {
    padding-left: 3.5rem;
}

.mun-shell.has-prefix .mun-input {
    padding-left: 3.8rem;
}

.mun-shell.has-suffix .mun-input {
    padding-right: 3.5rem;
}

.mun-icon,
.mun-prefix,
.mun-suffix {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 2.1rem;
    padding: 0 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.7rem;
    font-size: 0.85rem;
    font-weight: 600;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    color: var(--bs-secondary);
}

.mun-icon {
    left: 0.8rem;
    width: 2.1rem;
}

.mun-prefix {
    left: 0.8rem;
}

.mun-suffix {
    right: 0.8rem;
}

.mun-shell:focus-within .mun-prefix,
.mun-shell:focus-within .mun-suffix,
.mun-shell:focus-within .mun-icon {
    color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.mun-input:disabled {
    background: #f8f9fa;
    color: #6c757d;
}

.mun-shell.has-error .mun-input {
    border-color: #dc3545;
}

[data-bs-theme="dark"] .mun-label {
    color: #f8f9fa;
}

[data-bs-theme="dark"] .mun-hint {
    color: #98a2b3;
}

[data-bs-theme="dark"] .mun-input {
    background: #1f2637;
    border-color: #344054;
    color: #f8f9fa;
    box-shadow: none;
}

[data-bs-theme="dark"] .mun-input:disabled,
[data-bs-theme="dark"] .mun-input[readonly] {
    background: #151b2b;
    color: #98a2b3;
}

[data-bs-theme="dark"] .mun-icon,
[data-bs-theme="dark"] .mun-prefix,
[data-bs-theme="dark"] .mun-suffix {
    background: #151b2b;
    border-color: #344054;
    color: #d0d5dd;
}
