@font-face {
    font-family: 'Minipax'; /* Назва, яку ви придумаєте для шрифту */
    src: url('/wp-content/plugins/memory-platform/assets/fonts/Minipax-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap; /* Щоб текст не зникав під час завантаження шрифту */
}

h1,h2,h3,h4,h5{
    font-family: 'Minipax', sans-serif;
}

/* 2. Контейнер форми */
.registrationForm__row {
    width: 100%;
    max-width: 520px; /* Максимальна ширина як у макеті */
    margin-top: 50px;
    box-sizing: border-box;
}

/* 3. Базові стилі для ВСІХ полів вводу */
.registrationForm__field {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.registrationForm__field input {
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    width: 100%; 
    box-sizing: border-box; /* Щоб padding не розширював інпут */
    border: 1px solid rgba(45, 51, 136, 0.6); /* Ваш колір з макету */
    transition: all 0.3s ease;
}

/* 4. Стан FOCUS (Коли натиснули на поле) */
.registrationForm__field input:focus {
    background-color: #ffffff;
    opacity: 1 !important;
    border-color: rgba(86, 122, 228, 1);
    color: rgba(86, 122, 228, 1);
    box-shadow: 0 0 0 1px rgba(86, 122, 228, 1), 0 0 5px rgba(255, 166, 0, 1);
}

/* 5. Специфічні стилі для пароля та іконки */
.password-wrapper {
    position: relative;
    width: 100%;
    display: block;
}

.input-password {
    padding-right: 45px !important; /* Місце для ока */
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    align-items: center;
    color: rgba(12, 15, 63, 1);
    opacity: 0.6;
    transition: all 0.2s ease;
    z-index: 10;
}

.toggle-password:hover {
    opacity: 1;
}

.password-wrapper:focus-within .toggle-password {
    opacity: 1;
    color: rgba(86, 122, 228, 1);
}

/* 6. Кнопка */
.registrationForm__row button {
    width: 100%;
    cursor: pointer;
    border: none;
    transition: transform 0.1s active, opacity 0.3s;
}

.registrationForm__row button:active {
    transform: scale(0.98); /* Ефект натискання */
}

a{
    text-decoration: none;
}

.btn_google{
    background-color: rgba(43, 46, 98, 1);
}

.reg_divider{
    color: rgba(45, 51, 136, 1);
    opacity: 50%;
}

/* Стан заблокованого поля */
.registrationForm__field input:disabled {
    background-color: rgba(0, 0, 0, 0.05) !important; /* Легкий сірий фон */
    color: rgba(0, 0, 0, 0.3) !important;            /* Текст стає блідим */
    cursor: not-allowed;                             /* Курсор заборони */
    border-color: rgba(0, 0, 0, 0.1) !important;     /* Бліда рамка */
}

/* Опціонально: робимо блідим і лейбл, якщо поле заблоковане */
.registrationForm__field:has(input:disabled) label {
    opacity: 0.4;
}

/* Стиль для кнопки відправки, коли вона в стані очікування */
.sms-send-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    filter: grayscale(1);
}