/* Универсальные стили для всех форм проекта */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="search"],
select:not([multiple]),
textarea {
    width: 100%;
    border-radius: 14px;
    border: 2px solid #E2D8F1;
    background: #FAFBFF;
    padding: 14px 16px;
    outline: none;
    font-family: inherit;
    font-size: 15px;
    color: #2B1E4F;
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 2px 8px rgba(139,99,178,0.08);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="search"],
select:not([multiple]) {
    min-height: 52px;
}

textarea {
    min-height: 120px;
    line-height: 1.6;
    resize: vertical;
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="password"]:hover,
input[type="tel"]:hover,
input[type="url"]:hover,
input[type="number"]:hover,
input[type="date"]:hover,
input[type="time"]:hover,
input[type="datetime-local"]:hover,
input[type="search"]:hover,
select:not([multiple]):hover,
textarea:hover {
    border-color: #C4B5E0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(139,99,178,0.12);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="datetime-local"]:focus,
input[type="search"]:focus,
select:not([multiple]):focus,
textarea:focus {
    border-color: #8063B2;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(128,99,178,0.15), 0 4px 16px rgba(139,99,178,0.2);
    transform: translateY(-1px);
}

input::placeholder,
textarea::placeholder {
    color: #B8A5D6;
    opacity: 1;
}

select:not([multiple]) {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%238063B2" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>');
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-color: #FAFBFF;
    cursor: pointer;
    font-weight: 600;
    padding-right: 48px;
}

select:not([multiple]):focus {
    background-color: #fff;
}

input:disabled,
select:disabled,
textarea:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #F3F4F6;
}

input[type="radio"],
input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #8063B2;
}
