﻿/* input */

.mui-field {
    margin-bottom: 1.25rem;
}

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

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

.mui-input-shell {
    position: relative;
}

.mui-input-icon-box {
    position: absolute;
    top: 50%;
    left: 0.85rem;
    transform: translateY(-50%);
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    color: var(--bs-secondary);
    z-index: 3;
    pointer-events: none;
    transition: all 0.2s ease;
}

.mui-input-icon-box i {
    font-size: 0.95rem;
    line-height: 1;
}

.mui-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;
}

.mui-input-shell.has-icon .mui-input {
    padding-left: 3.65rem;
}

.mui-input::placeholder {
    color: #9aa4b2;
    font-weight: 400;
}

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

.mui-input:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.04);
    outline: none;
}

.mui-input-shell:focus-within .mui-input-icon-box {
    color: var(--bs-primary);
    border-color: var(--bs-primary);
    background: #fff;
}

.mui-input:disabled,
.mui-input[readonly] {
    background: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
    box-shadow: none;
}

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

.invalid-feedback.d-block {
    margin-top: 0.45rem;
    font-size: 0.75rem;
}

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

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

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

[data-bs-theme="dark"] .mui-input::placeholder {
    color: #98a2b3;
}

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

[data-bs-theme="dark"] .mui-input-icon-box {
    background: #151b2b;
    border-color: #344054;
    color: #d0d5dd;
}
