.qr-auth-page {
    min-height: 100vh;
    background:
            radial-gradient(circle at top left, rgba(53, 168, 107, 0.10), transparent 28%),
            radial-gradient(circle at top right, rgba(31, 122, 77, 0.08), transparent 26%),
            linear-gradient(to bottom, #f5f8fb 0%, #eaf1f5 100%);
    padding: 24px 0 40px;
    overflow-x: hidden;
}

.qr-auth-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

.qr-auth-hero {
    max-width: 820px;
    margin: 0 auto 22px;
    text-align: center;
}

.qr-auth-title {
    margin: 0 0 12px;
    font-size: 2.05rem;
    font-weight: 700;
    line-height: 1.18;
    color: var(--qr-text-main);
}

.qr-auth-subtitle {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #56705f;
}

.qr-auth-subtitle strong {
    color: var(--qr-text-main);
    font-weight: 600;
}

.qr-auth-note {
    margin: 10px 0 0;
    font-size: 0.96rem;
    line-height: 1.65;
    color: #6b7f73;
}

.qr-auth-card-wrap {
    display: flex;
    justify-content: center;
    margin-top: 0;
}

.qr-auth-card {
    width: 100%;
    max-width: 520px;
    border: 1px solid var(--qr-border-soft);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.qr-auth-card-header {
    padding: 18px 22px;
    background: linear-gradient(180deg, #23834f 0%, #17663a 100%);
    border-bottom: 1px solid rgba(122, 214, 147, 0.24);
}

.qr-auth-card-title {
    margin: 0;
    color: #fff;
    font-size: 1.16rem;
    font-weight: 700;
    text-align: center;
}

.qr-auth-card-body {
    padding: 22px;
}

.qr-auth-field {
    margin-bottom: 16px;
}

.qr-auth-label {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--qr-text-main);
    font-size: 0.95rem;
    font-weight: 600;
}

.qr-auth-input.form-control {
    min-height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(31, 122, 77, 0.18);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: none;
}

.qr-auth-input.form-control:focus {
    border-color: rgba(31, 122, 77, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(31, 122, 77, 0.12);
}

.qr-auth-error {
    display: block;
    margin-top: 6px;
    font-size: 0.82rem;
    color: #c0392b;
}

.qr-auth-actions {
    margin-top: 20px;
    align-items: center;
    row-gap: 14px;
}

.qr-auth-submit {
    min-width: 172px;
    height: 42px;
    border-radius: 10px !important;
}

.qr-auth-google {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.qr-auth-link-row {
    text-align: center;
    margin-top: 18px;
}

.qr-auth-link {
    color: var(--qr-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-style: italic;
}

.qr-auth-link:hover,
.qr-auth-link:focus {
    color: var(--qr-primary-light);
    text-decoration: underline;
}

.qr-auth-invite {
    margin-top: 14px;
    text-align: center;
    color: #6b7f73;
    font-size: 0.92rem;
    font-style: italic;
    font-weight: 500;
}

@media (max-width: 767.98px) {
    .qr-auth-page {
        padding: 18px 0 28px;
    }

    .qr-auth-hero {
        margin-bottom: 16px;
    }

    .qr-auth-title {
        font-size: 1.55rem;
    }

    .qr-auth-card-body {
        padding: 18px 16px;
    }

    .qr-auth-submit {
        width: 100%;
        min-width: 0;
        height: 46px;
    }

    .qr-auth-google {
        justify-content: center;
    }
}