/* Universal Neumorphism Input Component */
.neu-field-group {
    margin-bottom: 0.5rem;
}

.neu-field-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.neu-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--neu-text-main);
    display: block;
}

.neu-link {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--neu-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.neu-link:hover {
    color: var(--neu-primary-hover);
    text-decoration: underline;
}

.neu-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background-color: var(--neu-bg);
    border-radius: var(--neu-radius-md);
    box-shadow: var(--neu-shadow-inset);
    padding: 2px;
    transition: box-shadow 0.25s ease;
}

.neu-input-wrapper:focus-within {
    box-shadow: var(--neu-shadow-inset-focused);
}

.neu-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    padding: 0.6rem 0.9rem;
    font-size: 0.85rem;
    font-family: inherit;
    color: var(--neu-text-main);
    border-radius: var(--neu-radius-md);
}

.neu-input::placeholder {
    color: #9aa8b8;
    font-weight: 400;
}

.neu-input-suffix {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
}

/* Reusable SweetAlert neumorphic fields */
.swal2-popup .swal-neu-form {
    text-align: left;
}

.swal2-popup .swal-neu-label {
    display: block;
    margin: 0 0 0.35rem;
    color: var(--neu-text-main, #2b3a4a);
    font-size: 0.78rem;
    font-weight: 700;
}

.swal2-popup .swal-neu-input {
    width: 100%;
    margin: 0 0 0.8rem;
    padding: 0.65rem 0.8rem;
    color: var(--neu-text-main, #2b3a4a);
    background: var(--neu-bg, #e6ecf5);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    box-shadow: inset 3px 3px 6px rgba(91, 105, 120, 0.15), inset -3px -3px 6px rgba(255, 255, 255, 0.8);
    font: inherit;
    font-size: 0.84rem;
    outline: none;
}

.swal2-popup textarea.swal-neu-input {
    resize: vertical;
    margin-bottom: 0;
}

.swal2-popup .swal-neu-input:focus {
    border-color: rgba(0, 122, 255, 0.55);
    box-shadow: inset 3px 3px 6px rgba(91, 105, 120, 0.18), inset -3px -3px 6px rgba(255, 255, 255, 0.85), 0 0 0 3px rgba(0, 122, 255, 0.12);
}

.swal2-popup .swal-neu-input::placeholder {
    color: #8e9cab;
}

.swal2-popup .swal-neu-range-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.35rem;
}

.swal2-popup .swal-neu-range-label output {
    min-width: 48px;
    padding: 0.18rem 0.42rem;
    color: var(--neu-primary, #007aff);
    background: var(--neu-bg, #e6ecf5);
    border-radius: 8px;
    box-shadow: inset 2px 2px 4px rgba(91, 105, 120, 0.14), inset -2px -2px 4px rgba(255, 255, 255, 0.75);
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
}

.swal2-popup .swal-neu-range {
    width: 100%;
    height: 8px;
    margin: 0.25rem 0 0;
    appearance: none;
    -webkit-appearance: none;
    background: linear-gradient(to right, #34a853 0%, #34a853 var(--swal-range-progress, 44.44%), var(--neu-bg, #e6ecf5) var(--swal-range-progress, 44.44%), var(--neu-bg, #e6ecf5) 100%);
    border-radius: 999px;
    box-shadow: inset 2px 2px 4px rgba(91, 105, 120, 0.18), inset -2px -2px 4px rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.swal2-popup .swal-neu-range::-webkit-slider-thumb {
    width: 19px;
    height: 19px;
    appearance: none;
    -webkit-appearance: none;
    background: #34a853;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    box-shadow: 2px 2px 5px rgba(42, 123, 67, 0.35);
}

.swal2-popup .swal-neu-range::-moz-range-thumb {
    width: 17px;
    height: 17px;
    background: #34a853;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    box-shadow: 2px 2px 5px rgba(42, 123, 67, 0.35);
}

.swal2-popup .swal-neu-range-ends {
    display: flex;
    justify-content: space-between;
    margin: 0.28rem 0 0.9rem;
    color: var(--neu-text-muted, #6c757d);
    font-size: 0.68rem;
}
