
:root {
    --gwb-bg: #f6f8fc;
    --gwb-text: #172033;
    --gwb-muted: #667085;
    --gwb-blue: #2563eb;
    --gwb-blue-dark: #1d4ed8;
    --gwb-soft-blue: #eaf1ff;
    --gwb-green: #16a34a;
}

/* Фон как на главной welcome */
html,
body {
    min-height: 100%;
}

body {
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 34%),
        radial-gradient(circle at top right, rgba(22, 163, 74, 0.10), transparent 30%),
        var(--gwb-bg) !important;
}

/* Общая оболочка */
.gwb-auth-shell {
    width: min(100%, 420px);
    margin: 0 auto;
}

/* Логотип */
.gwb-auth-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.gwb-auth-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--gwb-text);
    text-decoration: none;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.03em;
}

.brand-logo {
    display: block;
    object-fit: contain;
    max-height: 60px;
    width: auto;
    filter: drop-shadow(0 10px 24px rgba(37, 99, 235, 0.3));
}

.gwb-auth-brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.28);
    font-size: 16px;
}

/* Заголовок */
.gwb-auth-heading {
    text-align: center;
}

.gwb-auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--gwb-soft-blue);
    color: var(--gwb-blue-dark);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 18px;
}

.gwb-auth-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gwb-green);
}

.gwb-auth-title {
    margin: 0;
    color: var(--gwb-text);
    font-size: 32px;
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight:700 ;
}

.gwb-auth-description {
    margin: 12px 0 0;
    color: var(--gwb-muted);
    font-size: 14px;
}

/* Поля оставляем Flux/Laravel, меняем только скругления */
.gwb-auth-shell input[type="email"],
.gwb-auth-shell input[type="password"],
.gwb-auth-shell input[type="text"] {
    border-radius: 999px !important;
}

/* Ссылка "Забыли пароль?" */
.gwb-auth-forgot-link {
    color: var(--gwb-blue) !important;
    font-weight: 600;
}

.gwb-auth-forgot-link:hover {
    color: var(--gwb-blue-dark) !important;
}

/* Кнопка как на welcome */
.gwb-auth-button,
.gwb-auth-shell button[type="submit"] {
    min-height: 46px !important;
    border-radius: 999px !important;
    background: var(--gwb-blue) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.26) !important;
    border: 1px solid transparent !important;
    transition: 0.2s ease !important;
}

.gwb-auth-button:hover,
.gwb-auth-shell button[type="submit"]:hover {
    background: var(--gwb-blue-dark) !important;
    transform: translateY(-1px);
}

/* Нижние ссылки */
.gwb-auth-bottom {
    text-align: center;
    color: var(--gwb-muted);
    font-size: 14px;
    margin-bottom: -8px;
}

.gwb-auth-bottom a {
    color: var(--gwb-blue);
    font-weight: 700;
    text-decoration: none;
}

.gwb-auth-bottom a:hover {
    color: var(--gwb-blue-dark);
}

.gwb-auth-home {
    text-align: center;
    font-size: 14px;
}

.gwb-auth-home a {
    color: var(--gwb-muted);
    text-decoration: none;
}

.gwb-auth-home a:hover {
    color: var(--gwb-blue-dark);
}

@media (max-width: 640px) {
    .gwb-auth-shell {
        width: 100%;
    }

    .gwb-auth-title {
        font-size: 29px;
    }

    .gwb-auth-forgot-link {
        position: static !important;
        display: inline-flex;
        margin-top: 8px;
    }
}

.gwb-auth-register-submit {
    margin-top: 14px;
}

.gwb-auth-success {
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(22, 163, 74, 0.10);
    color: #15803d;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.gwb-auth-ghost-button {
    min-height: 44px !important;
    border-radius: 999px !important;
    color: var(--gwb-muted) !important;
    font-weight: 700 !important;
}

.gwb-auth-ghost-button:hover {
    color: var(--gwb-blue-dark) !important;
    background: var(--gwb-soft-blue) !important;
}