:root {
    --ua-green-1: #0f694b;
    --ua-green-2: #1f8760;
    --ua-green-3: #0f6f4d;
    --ua-bg: #eef2f1;
    --ua-text: #263238;
    --ua-soft: #607077;
    --ua-border: #d5dddf;
}

* {
    box-sizing: border-box;
}

body.user-auth-body {
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--ua-text);
    background:
        linear-gradient(180deg, rgba(244, 247, 246, 0.95) 0%, rgba(243, 246, 246, 0.9) 70%, rgba(20, 114, 82, 0.88) 70%, rgba(12, 95, 67, 0.92) 100%);
}

.ua-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 10px;
}

.ua-card {
    width: min(100%, 430px);
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.14);
}

.ua-top {
    background: linear-gradient(150deg, var(--ua-green-1), var(--ua-green-2));
    color: #fff;
    text-align: center;
    padding: 16px 14px 20px;
}

.ua-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ua-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: #165d44;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.95);
}

.ua-logo {
    width: 86px;
    height: 86px;
    margin: 12px auto 10px;
    border-radius: 50%;
    border: 4px solid #d6eee4;
    background-image: url(/storage/app/public/images/logo.png);
    color: #0e5f43;
    font-weight: 800;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ua-top h1 {
    margin: 0;
    font-size: 38px;
    line-height: 1.1;
}

.ua-top p {
    margin: 8px 0 0;
    font-size: 17px;
    color: #e7f6ef;
}

.ua-content {
    padding: 18px 14px 16px;
}

.ua-content h2 {
    margin: 0;
    text-align: center;
    color: #115e42;
    font-size: 36px;
    line-height: 1.1;
}

.ua-subtitle {
    margin: 8px 0 14px;
    text-align: center;
    font-size: 18px;
    color: #30564a;
}

.ua-form {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--ua-border);
    border-radius: 14px;
    padding: 12px;
}

.ua-form label {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #145f43;
    margin: 8px 0 6px;
}

.ua-form input {
    width: 100%;
    border: 1px solid #c8d2d6;
    border-radius: 10px;
    background: #fcfdfd;
    padding: 11px 12px;
    font-size: 18px;
    color: var(--ua-text);
    margin-bottom: 10px;
}

.ua-form input:focus {
    outline: none;
    border-color: #1e8c62;
    box-shadow: 0 0 0 3px rgba(30, 140, 98, 0.16);
}

.ua-form button {
    width: 100%;
    margin-top: 6px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(180deg, #228a62 0%, var(--ua-green-3) 100%);
    color: #fff;
    font-size: 31px;
    font-weight: 800;
    padding: 10px 14px;
    cursor: pointer;
}

.ua-error {
    margin: -3px 0 8px;
    color: #ba2b2b;
    font-size: 13px;
}

.ua-links {
    margin: 10px 0 0;
    text-align: center;
    font-size: 16px;
    color: var(--ua-soft);
}

.ua-links a {
    color: #126544;
    font-weight: 700;
    text-decoration: none;
}

.ua-copy {
    margin: 14px 0 2px;
    text-align: center;
    color: #5f6c72;
    font-size: 13px;
}

@media (min-width: 768px) {
    .ua-shell {
        padding: 24px;
    }

    .ua-card {
        width: min(100%, 470px);
    }

    .ua-top h1 {
        font-size: 42px;
    }

    .ua-content h2 {
        font-size: 40px;
    }

    .ua-form {
        padding: 14px;
    }
}

@media (max-width: 380px) {
    .ua-pill {
        min-width: 62px;
        padding: 7px 10px;
        font-size: 12px;
    }

    .ua-logo {
        width: 72px;
        height: 72px;
    }

    .ua-top h1 {
        font-size: 32px;
    }

    .ua-content h2 {
        font-size: 30px;
    }

    .ua-form label {
        font-size: 18px;
    }

    .ua-form input {
        font-size: 16px;
    }

    .ua-form button {
        font-size: 26px;
    }

    .ua-links {
        font-size: 14px;
    }
}
