/* Экран регистрации */
/*
.registration-container {
    background: var(--surface-color);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-large);
    width: 90%;
    max-width: 420px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: auto;
}
*/

.lel_registration-container {
    background: var(--surface-color);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-large);
    width: 90%;
    max-width: 420px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: auto;
}

.lel_registration-header {
    text-align: center;
    margin-bottom: 2rem;
}

.lel_registration-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.lel_registration-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.lel_registration-form {
    width: 100%;
}

.lel_registration-form-group {
    width: 100%;
    margin-bottom: 1.75rem;
}

.lel_registration-form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

/* Стили для кастомного селекта */
.lel_registration-select-wrapper {
    position: relative;
    width: 100%;
}

.lel_registration-select-wrapper select {
    width: 100%;
    padding: 16px 52px 16px 16px;
    border: 2px solid #f0f0f0;
    border-radius: var(--border-radius-small);
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: white;
    color: var(--text-primary);
    appearance: none;
    cursor: pointer;
    font-family: inherit;
    box-shadow: var(--shadow-soft);
    font-weight: 500;
}

.lel_registration-select-wrapper select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.15);
    transform: translateY(-2px);
}

.lel_registration-select-wrapper select:hover {
    border-color: #e0e0e0;
    transform: translateY(-1px);
}

.lel_registration-select-wrapper.has-value select {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #fce4ec, #f8bbd9);
    color: var(--primary-dark);
    font-weight: 600;
}

.lel_registration-select-wrapper.focused select {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.15);
}

.lel_registration-select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.9);
    padding: 4px;
    border-radius: 4px;
}

.lel_registration-select-wrapper.has-value .lel_registration-select-arrow {
    color: var(--primary-color);
}

.lel_registration-select-wrapper.focused .lel_registration-select-arrow {
    color: var(--primary-color);
}

/* Стили для кастомного date input */
.lel_registration-date-input-wrapper {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}
.lel_registration-date-input-wrapper-btn
{
    width: 50px;
    height: 75px;
}



.lel_registration-date-input-wrapper input[type="date"] {
    width: 100%;
    padding: 16px 52px 16px 16px;
    border: 2px solid #f0f0f0;
    border-radius: var(--border-radius-small);
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: white;
    color: var(--text-primary);
    cursor: pointer;
    font-family: inherit;
    box-shadow: var(--shadow-soft);
    font-weight: 500;
    position: relative;
}

/* Кастомное отображение выбранной даты */

.lel_registration-date-input-wrapper input[type="date"]:before {
    content: attr(placeholder);
    color: var(--text-secondary);
}



.lel_registration-date-input-wrapper input[type="date"]:not([data-value]):before {
    content: "";
}
.lel_registration-date-input-wrapper input[type="date"]:focus:before,
.lel_registration-date-input-wrapper input[type="date"]:valid:before {
    content: "" !important;
}
.lel_registration-date-input-wrapper input[type="date"]:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.15);
    transform: translateY(-2px);
}
.lel_registration-date-input-wrapper input[type="date"]:hover {
    border-color: #e0e0e0;
    transform: translateY(-1px);
}
.lel_registration-date-input-wrapper.has-value input[type="date"] {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #fce4ec, #f8bbd9);
    color: var(--primary-dark);
    font-weight: 600;
}
.lel_registration-date-input-wrapper.focused input[type="date"] {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.15);
}



.lel_registration-date-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.9);
    padding: 4px;
    border-radius: 4px;
}

.lel_registration-date-input-wrapper.has-value .lel_registration-date-icon {
    color: var(--primary-color);
}

.lel_registration-date-input-wrapper.focused .lel_registration-date-icon {
    color: var(--primary-color);
}

/* Стилизация для WebKit браузеров */
.lel_registration-date-input-wrapper input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
    z-index: 1;
}

.lel_registration-date-input-wrapper input[type="date"]::-webkit-datetime-edit {
    color: transparent;
}

.lel_registration-date-input-wrapper input[type="date"]:focus::-webkit-datetime-edit,
.lel_registration-date-input-wrapper input[type="date"]:valid::-webkit-datetime-edit {
    color: inherit;
}

/* Стили для кнопки отправки */
.lel_registration-btn-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 18px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 0.5rem;
}

.lel_registration-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-large);
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-color));
}

.lel_registration-btn-submit:active {
    transform: translateY(0);
}

.lel_registration-btn-submit.loading {
    pointer-events: none;
    opacity: 0.9;
}

.lel_registration-btn-submit.loading .btn-text {
    opacity: 0;
}

.lel_registration-btn-submit.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.lel_registration-btn-submit.success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    transform: translateY(-2px);
}

.lel_registration-btn-submit.success .lel_registration-btn-icon {
    transform: scale(1.3);
    animation: heartbeat 0.5s ease-in-out;
}

.lel_registration-btn-icon {
    transition: all 0.3s ease;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(1.1); }
    75% { transform: scale(1.2); }
    100% { transform: scale(1.3); }
}

