/* =========================================
   UGGES LOGIN & REGISTRATION
   Version 1.0.0
   Цвет: #a85f00
   ========================================= */

/* Основной контейнер */
.ugges-auth-wrapper {
    width: 100%;
    max-width: 460px;
    margin: 35px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.07);
    box-sizing: border-box;
    font-family: inherit;
}

/* Убираем стандартные стили WooCommerce */
.ugges-auth-wrapper * {
    box-sizing: border-box;
}

/* Переключатель вкладок */
.ugges-auth-tabs {
    display: flex;
    width: 100%;
    gap: 8px;
    margin-bottom: 28px;
    border-bottom: 1px solid #e8e8e8;
}

.ugges-auth-tab {
    flex: 1;
    padding: 14px 8px;
    background: transparent !important;
    border: none !important;
    border-bottom: 3px solid transparent !important;
    border-radius: 0 !important;
    color: #777 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.25s ease;
}

.ugges-auth-tab.active {
    color: #a85f00 !important;
    border-bottom-color: #a85f00 !important;
}

/* Панели форм */
.ugges-auth-panel {
    display: none;
    width: 100%;
}

.ugges-auth-panel.active {
    display: block;
}

.ugges-auth-panel[hidden] {
    display: none !important;
}

/* Подписи */
.ugges-auth-wrapper label {
    display: block;
    margin: 0 0 8px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

/* Поля ввода */
.ugges-auth-wrapper input[type="text"],
.ugges-auth-wrapper input[type="email"],
.ugges-auth-wrapper input[type="password"] {
    display: block;
    width: 100%;
    height: 48px;
    margin: 0 0 20px;
    padding: 0 14px;
    border: 1px solid #dedede !important;
    border-radius: 7px !important;
    background: #fff !important;
    color: #222 !important;
    font-size: 15px;
    outline: none;
    box-shadow: none !important;
    transition: border-color 0.2s ease;
}

.ugges-auth-wrapper input:focus {
    border-color: #a85f00 !important;
}

/* Запомнить меня */
.ugges-auth-wrapper .ugges-auth-remember {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 20px;
    color: #555;
    font-size: 14px;
    cursor: pointer;
}

.ugges-auth-wrapper .ugges-auth-remember input {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: #a85f00;
}

/* Основная кнопка */
.ugges-auth-submit {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 50px;
    padding: 12px 18px !important;
    margin: 8px 0 18px !important;
    border: none !important;
    border-radius: 7px !important;
    background: #a85f00 !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
}

.ugges-auth-submit:hover {
    background: #874c00 !important;
    color: #fff !important;
}

/* Ссылка восстановления пароля */
.ugges-auth-lost {
    display: block;
    text-align: center;
    color: #a85f00 !important;
    font-size: 14px;
    text-decoration: none !important;
}

.ugges-auth-lost:hover {
    color: #874c00 !important;
    text-decoration: underline !important;
}

/* Сообщения */
.ugges-auth-notice {
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 7px;
    background: #fff4e5;
    color: #805000;
    font-size: 14px;
    line-height: 1.5;
}

/* Мобильная версия */
@media (max-width: 600px) {

    .ugges-auth-wrapper {
        max-width: 100%;
        margin: 15px auto;
        padding: 22px 17px;
        border-radius: 10px;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    }

    .ugges-auth-tab {
        padding: 12px 5px;
        font-size: 15px !important;
    }

    .ugges-auth-wrapper input[type="text"],
    .ugges-auth-wrapper input[type="email"],
    .ugges-auth-wrapper input[type="password"] {
        height: 46px;
        font-size: 16px;
    }

    .ugges-auth-submit {
        min-height: 48px;
    }
}