/* ==========================================================================
   SMART FEEDBACK SYSTEM - UNIFIED GLOBAL CSS
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. SHARED DESIGN TOKENS & VARIABLES
   -------------------------------------------------------------------------- */
:root {
    --sf-accent: #00D1FF;
    --sf-accent-hover: #577cff;
    --sf-accent-gradient: linear-gradient(135deg, #00D1FF, #2f5bff);
    --sf-accent-gradient-hover: linear-gradient(135deg, #00D1FF, #577cff);
    --sf-bg-dark: #000000;
    --sf-panel-dark: #111111;
    --sf-text-light: #FFFFFF;
    --sf-text-muted: #94A3B8;
    --sf-border-dark: rgba(0, 209, 255, .18);
    --sf-font-family: Inter, "Segoe UI", Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   2. CORE SYSTEM STYLES (DARK THEME PORTAL)
   -------------------------------------------------------------------------- */
.sf-page,
.sf-reviews-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 18% 0%, rgba(0, 209, 255, .18), transparent 32%),
        radial-gradient(circle at 82% 16%, rgba(47, 91, 255, .15), transparent 30%),
        linear-gradient(180deg, #000000 0%, #111111 45%, #000000 100%);
    color: var(--sf-text-light);
    font-family: var(--sf-font-family);
}

.sf-card,
.sf-reviews-hero-card,
.sf-no-reviews,
.sf-client-info,
.sf-client-form-card,
.sf-result-card,
.sf-profile-panel,
.sf-review-card,
.sf-dashboard-row {
    border: 1px solid var(--sf-border-dark);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(17, 17, 17, .96), rgba(11, 14, 20, .96));
    box-shadow: 0 22px 60px rgba(0, 0, 0, .38);
}

.sf-card,
.sf-reviews-hero-card,
.sf-no-reviews {
    width: min(780px, 100%);
    margin: 0 auto;
    padding: 36px 34px;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.sf-card:before,
.sf-reviews-hero-card:before,
.sf-no-reviews:before,
.sf-client-info:before,
.sf-client-form-card:before,
.sf-result-card:before,
.sf-profile-panel:before,
.sf-review-card:before,
.sf-dashboard-row:before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(0, 209, 255, .08) 1px, transparent 1px),
        linear-gradient(180deg, rgba(0, 209, 255, .06) 1px, transparent 1px);
    background-size: 46px 46px;
    opacity: .23;
}

.sf-card h1,
.sf-reviews-hero-card h1,
.sf-client-info h1,
.sf-result-card h1 {
    margin: 0;
    color: var(--sf-text-light);
    font-size: 44px;
    line-height: 1.08;
    font-weight: 850;
    letter-spacing: 0;
}

.sf-client-form-card h2,
.sf-profile-panel h2 {
    margin: 0 0 22px;
    color: var(--sf-text-light);
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0;
}

.sf-subtitle,
.sf-reviews-hero-card p,
.sf-no-reviews p,
.sf-client-info p,
.sf-client-form-card p,
.sf-result-card p {
    margin: 14px auto 28px;
    max-width: 620px;
    color: var(--sf-text-muted);
    font-size: 16px;
    line-height: 1.65;
}

.sf-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 18px;
    padding: 5px 11px;
    border: 1px solid rgba(0, 209, 255, .38);
    border-radius: 999px;
    background: rgba(11, 14, 20, .72);
    color: var(--sf-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sf-badge:before {
    content: "";
    width: 7px;
    height: 7px;
    margin-right: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 18px rgba(16, 185, 129, .7);
}

.sf-logo-box,
.sf-business-logo-wrap {
    width: 92px;
    height: 92px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(0, 209, 255, .28);
    border-radius: 8px;
    background: rgba(11, 14, 20, .92);
    box-shadow: inset 0 0 22px rgba(0, 209, 255, .09);
}

.sf-logo-img,
.sf-business-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-icon,
.sf-business-logo-empty span {
    color: var(--sf-accent);
    font-size: 38px;
}

.sf-brand-name {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 0 auto 18px;
    padding: 8px 12px;
    border: 1px solid rgba(0, 209, 255, .24);
    border-radius: 8px;
    background: rgba(11, 14, 20, .74);
    color: var(--sf-text-light);
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .26);
}

.sf-bad { border-top: 4px solid #ff6b7a; }
.sf-neutral { border-top: 4px solid #ffd166; }
.sf-good { border-top: 4px solid #10B981; }

.sf-rate-card {
    width: min(620px, 100%);
    text-align: center;
}

.sf-rate-card h5 {
    font-size: 1.20rem;
    font-weight: 400;
}

.sf-rate-logo {
    width: 88px;
    height: 88px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(0, 209, 255, .25);
    border-radius: 20px;
    background: rgba(0, 209, 255, .08);
}

.sf-rate-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-rate-logo-initials {
    color: var(--sf-accent);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: .02em;
}

.sf-rate-name {
    max-width: 100%;
    margin-bottom: 22px;
    font-size: 38px;
    font-weight: 700;
    text-align: center;
    letter-spacing: -.01em;
    overflow-wrap: anywhere;
    word-break: normal;
    background: linear-gradient(to right, #00f0ff, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sf-rate-divider {
    margin: 0 0 22px;
    height: 1px;
    background: rgba(255, 255, 255, .08);
}

.sf-rate-card .sf-rate-title {
    margin: 0 auto 10px;
    color: var(--sf-text-muted);
    font-size: 24px !important;
    font-weight: 800 !important;
    line-height: 1.25;
    text-align: center;
}

.sf-rate-card .sf-rate-title span {
    color: var(--sf-text-muted);
    font-weight: 800;
}

.sf-rate-subtitle {
    margin: 0 0 22px;
    max-width: none;
    color: var(--sf-text-muted);
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

.sf-rate-label {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin: 0 0 12px;
    color: #7f93ad;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.sf-rate-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sf-rate-row {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) 112px;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 56px;
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    background: rgba(255, 255, 255, .03);
    color: var(--sf-text-light) !important;
    text-align: left;
    cursor: pointer;
    transition: border-color .16s ease, background-color .16s ease, transform .16s ease;
}

.sf-rate-row:hover,
.sf-rate-row:focus {
    border-color: rgba(0, 209, 255, .4);
    background: rgba(0, 209, 255, .06);
    outline: none;
    transform: translateY(-1px);
}

.sf-rate-stars {
    display: flex;
    justify-self: start;
    gap: 4px;
    color: #FBBF24;
    font-size: 17px;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.95), 0 0 20px rgba(251, 191, 36, 0.6), 0 0 36px rgba(251, 191, 36, 0.3);
}

.sf-rate-label-text {
    min-width: 0;
    text-align: center;
    font-size: 13px;
    font-weight: 400;
}

.sf-rate-chevron {
    justify-self: end;
    color: #5b6b82;
    font-size: 18px;
}

.sf-rating-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    margin-bottom: 6px;
    padding: 12px 18px;
    border: 1px solid rgba(0, 209, 255, .22);
    border-radius: 8px;
    background: rgba(4, 14, 28, .9);
    text-align: center;
}

.sf-rating-banner.sf-bad { border-color: rgba(255, 107, 122, .45); background: rgba(255, 107, 122, .12); }
.sf-rating-banner.sf-neutral { border-color: rgba(255, 209, 102, .45); background: rgba(255, 209, 102, .12); }
.sf-rating-banner.sf-good { border-color: rgba(16, 185, 129, .45); background: rgba(16, 185, 129, .12); }

.sf-rating-banner-emoji {
    font-size: 24px;
    line-height: 1;
}

.sf-rating-banner-text {
    color: var(--sf-text-light);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .01em;
}

.sf-form-card {
    text-align: left;
    width: min(620px, 100%);
}

.sf-review-step[hidden] {
    display: none !important;
}

.sf-private-note {
    margin: -8px 0 12px;
    color: var(--sf-text-muted);
    font-size: 14px;
    line-height: 1.55;
    text-align: center;
}

.sf-info-step {
    width: min(522px, 100%);
    margin: 0 auto;
    text-align: center;
}

.sf-info-check {
    width: 52px;
    height: 52px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(16, 185, 129, .38);
    border-radius: 50%;
    background: rgba(16, 185, 129, .11);
    color: #34D399;
    font-size: 28px;
    font-weight: 800;
}

.sf-info-title {
    margin: 0 0 12px;
    color: var(--sf-text-light);
    font-size: 24px;
    line-height: 1.2;
    font-weight: 850;
    text-align: center;
}

.sf-info-copy {
    margin: 0 auto 30px;
    max-width: 460px;
    color: var(--sf-text-muted);
    font-size: 16px;
    line-height: 1.55;
    text-align: center;
}

.sf-info-divider {
    height: 1px;
    margin: 0 0 28px;
    background: rgba(255, 255, 255, .08);
}

.sf-review-form label,
.sf-client-form label,
.sf-profile-panel label,
.sf-info-step label {
    display: block;
    margin: 0 0 9px;
    color: var(--sf-text-muted);
    font-size: 12px;
    font-weight: 850;
    line-height: 1.25;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.sf-info-step label {
    width: 100%;
    text-align: left;
}

.sf-review-form label span,
.sf-client-form label span,
.sf-profile-panel label span,
.sf-info-step label span {
    margin-left: 5px;
    color: #8EA4BF;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0;
    text-transform: none;
}

.sf-form-card h3 {
    margin: 0 0 14px;
    color: var(--sf-text-light);
    font-size: 1.20rem;
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: 0;
    text-align: center;
}

.sf-form-card h1,
.sf-form-card .sf-subtitle,
.sf-thank-card {
    text-align: center;
}

.sf-review-form,
.sf-client-form,
.sf-profile-panel form {
    display: block;
}

.sf-auth-form label {
    text-align: left;
    width: 100%;
}

.sf-input,
.sf-textarea,
.sf-file-input {
    width: 100%;
    min-height: 56px;
    margin: 0 0 26px;
    padding: 15px 16px;
    border: 1px solid rgba(0, 209, 255, .22);
    border-radius: 11px;
    outline: none;
    background: rgba(4, 14, 28, .9);
    color: var(--sf-text-light);
    font-size: 15px;
    line-height: 1.35;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.sf-select-wrap {
    width: 100%;
}

.sf-select-wrap select.sf-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 42px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235b6b82' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
}

.sf-input::placeholder,
.sf-textarea::placeholder {
    color: #7287a3;
}

.sf-input:focus,
.sf-textarea:focus,
.sf-file-input:focus {
    border-color: var(--sf-accent);
    box-shadow: 0 0 0 3px rgba(0, 209, 255, .16);
}

.sf-textarea {
    min-height: 146px;
    padding-top: 15px;
    resize: vertical;
}

.sf-file-input {
    background: rgba(7, 22, 40, .9);
    border-style: dashed;
    color: var(--sf-text-muted);
}

.sf-submit-btn,
.sf-link-btn,
.sf-leave-review-btn,
.sf-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 14px 20px;
    border-radius: 11px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.sf-submit-btn,
.sf-link-btn,
.sf-leave-review-btn {
    border: 1px solid var(--sf-accent);
    background: var(--sf-accent-gradient);
    color: #0B0E14 !important;
    box-shadow: 0 14px 30px rgba(0, 209, 255, .22);
}

.sf-submit-btn {
    width: 100%;
    margin-top: 2px;
    margin-bottom: 0;
}

.sf-info-step .sf-submit-btn {
    margin-top: 0;
    margin-bottom: 15px;
}

.sf-submit-btn:hover,
.sf-link-btn:hover,
.sf-leave-review-btn:hover,
.sf-submit-btn:focus,
.sf-link-btn:focus,
.sf-leave-review-btn:focus {
    border-color: var(--sf-accent);
    background: var(--sf-accent-gradient-hover);
    color: #0B0E14 !important;
    box-shadow: 0 18px 38px rgba(0, 209, 255, .32);
    transform: translateY(-1px);
}

.sf-secondary-btn {
    border: 1px solid rgba(0, 209, 255, .24);
    background: rgba(17, 17, 17, .88);
    color: var(--sf-text-light) !important;
}

.sf-secondary-btn:hover,
.sf-secondary-btn:focus {
    border-color: var(--sf-accent);
    background: rgba(10, 36, 64, .94);
    color: #ffffff !important;
    box-shadow: 0 10px 24px rgba(0, 209, 255, .16);
}

.sf-card-toprow {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 18px;
}

.sf-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(0, 209, 255, .24);
    border-radius: 8px;
    background: rgba(17, 17, 17, .88);
    color: var(--sf-text-light) !important;
    font-size: 18px;
    line-height: 1;
    text-decoration: none !important;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.sf-back-btn:hover,
.sf-back-btn:focus {
    border-color: var(--sf-accent);
    box-shadow: 0 10px 24px rgba(0, 209, 255, .16);
    outline: none;
    transform: translateY(-1px);
}

.sf-success-icon,
.sf-countdown {
    width: 82px;
    height: 82px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 38px;
    font-weight: 850;
}

.sf-success-icon {
    border: 1px solid rgba(16, 185, 129, .42);
    background: rgba(16, 185, 129, .1);
    color: #10B981;
}

.sf-countdown {
    margin-top: 12px;
    border: 1px solid rgba(0, 209, 255, .36);
    background: rgba(0, 209, 255, .1);
    color: var(--sf-accent);
}

.sf-redirect-note {
    margin: 12px 0 0;
    color: var(--sf-text-muted);
    font-size: 14px;
    font-weight: 750;
}

.sf-redirect-loader[hidden] {
    display: none !important;
}

.sf-redirect-loader {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--sf-text-light);
    font-size: 16px;
    font-weight: 750;
    background: rgba(5, 8, 14, .86);
}

.sf-redirect-loader-spinner {
    width: 42px;
    height: 42px;
    border: 4px solid rgba(0, 209, 255, .25);
    border-top-color: var(--sf-accent);
    border-radius: 50%;
    animation: sf-redirect-loader-spin .75s linear infinite;
}

@keyframes sf-redirect-loader-spin {
    to { transform: rotate(360deg); }
}

.sf-review-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0;
}

.sf-review-summary div {
    min-height: 96px;
    padding: 18px;
    border: 1px solid rgba(0, 209, 255, .18);
    border-radius: 8px;
    background: rgba(11, 14, 20, .68);
}

.sf-review-summary strong {
    display: block;
    color: var(--sf-accent);
    font-size: 32px;
    line-height: 1.1;
}

.sf-review-summary span {
    color: var(--sf-text-muted);
    font-weight: 750;
}

.sf-reviews-container {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.sf-review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.sf-review-card {
    padding: 22px;
    position: relative;
    overflow: hidden;
}

.sf-review-top {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.sf-review-avatar {
    width: 46px;
    height: 46px;
    display: flex;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 209, 255, .28);
    border-radius: 8px;
    background: rgba(0, 209, 255, .1);
    color: var(--sf-accent);
    font-weight: 850;
}

.sf-review-top h3 {
    margin: 0;
    color: var(--sf-text-light);
    font-size: 16px;
    font-weight: 800;
}

.sf-stars {
    color: #ffd166;
    letter-spacing: 0;
}

.sf-review-message {
    color: #b6c6dc;
    line-height: 1.65;
}

.sf-review-footer {
    color: #8fa3be;
    font-size: 13px;
    font-weight: 750;
}

.sf-client-wrap {
    width: min(1060px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
    gap: 28px;
    align-items: stretch;
}

.sf-client-info,
.sf-client-form-card,
.sf-result-card,
.sf-profile-panel {
    padding: 34px;
    position: relative;
    overflow: hidden;
}

.sf-client-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sf-client-steps {
    margin-top: 24px;
    display: grid;
    gap: 12px;
}

.sf-client-step {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    color: var(--sf-text-muted);
    font-weight: 750;
}

.sf-client-step span {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 209, 255, .32);
    border-radius: 8px;
    background: rgba(0, 209, 255, .1);
    color: var(--sf-accent);
    font-weight: 850;
}

.sf-client-error,
.sf-client-success {
    margin-bottom: 24px;
    padding: 13px 15px;
    border-radius: 11px;
    font-weight: 750;
    text-align: left;
}

.sf-client-error {
    border: 1px solid rgba(255, 107, 122, .38);
    background: rgba(255, 107, 122, .1);
    color: #ffb7bf;
}

.sf-client-success {
    border: 1px solid rgba(16, 185, 129, .38);
    background: rgba(16, 185, 129, .1);
    color: #a7ffd4;
}

.sf-result-shell {
    width: min(620px, 100%);
    margin: 0 auto;
}

.sf-result-card {
    text-align: center;
}

.sf-result-logo {
    width: 84px;
    height: 84px;
    margin-bottom: 14px;
    border: 1px solid rgba(0, 209, 255, .28);
    border-radius: 8px;
    object-fit: cover;
}

.sf-qr-preview {
    width: min(320px, 100%);
    margin: 22px auto;
    padding: 14px;
    border: 1px solid rgba(0, 209, 255, .24);
    border-radius: 8px;
    background: #FFFFFF;
}

.sf-qr-preview img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.sf-generated-url {
    display: block;
    padding: 13px 14px;
    border: 1px solid rgba(0, 209, 255, .22);
    border-radius: 8px;
    background: rgba(11, 14, 20, .72);
    color: var(--sf-text-light);
    font-weight: 750;
    text-align: left;
    word-break: break-word;
}

.sf-result-actions,
.sf-dashboard-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.sf-dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.sf-dashboard-list {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.sf-dashboard-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    text-align: left;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.sf-dashboard-row h3 {
    margin: 0 0 5px;
    color: var(--sf-text-light);
    font-size: 17px;
    font-weight: 800;
}

.sf-dashboard-row p {
    margin: 0;
    color: var(--sf-text-muted);
    word-break: break-word;
}

.sf-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
    margin-top: 18px;
    text-align: left;
}

.sf-profile-panel {
    padding: 22px;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.sf-profile-entries {
    margin-top: 22px;
}

.sf-profile-edit-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.sf-profile-edit-toggle:not(:checked) ~ .sf-profile-edit-panel,
.sf-profile-edit-toggle:checked ~ .sf-profile-readonly-panel {
    display: none;
}

.sf-profile-avatar {
    width: 96px;
    height: 96px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(0, 209, 255, .28);
    border-radius: 50%;
    background: rgba(11, 14, 20, .92);
    color: var(--sf-accent);
    font-size: 34px;
    font-weight: 850;
    box-shadow: inset 0 0 22px rgba(0, 209, 255, .09);
}

.sf-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-profile-detail-list {
    display: grid;
    gap: 12px;
    margin: 22px 0;
    text-align: left;
}

.sf-profile-detail-row {
    padding: 14px 16px;
    border: 1px solid rgba(0, 209, 255, .16);
    border-radius: 8px;
    background: rgba(4, 14, 28, .66);
}

.sf-profile-detail-row span {
    display: block;
    margin-bottom: 4px;
    color: var(--sf-text-muted);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.sf-profile-detail-row strong {
    display: block;
    color: var(--sf-text-light);
    font-size: 16px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.sf-skip-btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 8px 14px;
    border: 0;
    background: transparent;
    color: var(--sf-text-muted);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
}

.sf-skip-btn:hover,
.sf-skip-btn:focus {
    color: var(--sf-text-light);
    outline: none;
}

/* --------------------------------------------------------------------------
   3. SCOPED LIGHT THEME STYLES (REDIRECT MODULE)
   -------------------------------------------------------------------------- */
.sf-redirect-layout .sf-page {
    min-height: 80vh;
    padding: 60px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.22), transparent 32%),
                linear-gradient(135deg, #071527 0%, #0b1f3a 50%, #111827 100%);
}

.sf-redirect-layout .sf-card {
    width: 100%;
    max-width: 760px;
    padding: 42px;
    border-radius: 28px;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 24px 70px rgba(0,0,0,0.28);
    text-align: center;
}

.sf-redirect-layout .sf-card h1 {
    color: #0b1f3a;
    font-size: 34px;
    line-height: 1.2;
    margin: 12px 0 10px;
    font-weight: 800;
}

.sf-redirect-layout .sf-subtitle {
    color: #526071;
    font-size: 17px;
    margin-bottom: 28px;
}

.sf-redirect-layout .sf-badge {
    display: inline-block;
    padding: 8px 14px;
    border: 0;
    border-radius: 999px;
    background: #eaf7ff;
    color: #2563eb;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.02em;
}
.sf-redirect-layout .sf-badge:before {
    display: none;
}

.sf-redirect-layout .sf-rating-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.sf-redirect-layout .sf-rating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 74px;
    border-radius: 18px;
    text-decoration: none !important;
    color: #fff !important;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(0,0,0,0.14);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.sf-redirect-layout .sf-rating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.18);
}

.sf-redirect-layout .sf-low { background: linear-gradient(135deg, #ef4444, #b91c1c); }
.sf-redirect-layout .sf-mid { background: linear-gradient(135deg, #f59e0b, #d97706); }
.sf-redirect-layout .sf-high { background: linear-gradient(135deg, #2563eb, #7c3aed); }
.sf-redirect-layout .sf-form-card { max-width: 620px; text-align: left; }
.sf-redirect-layout .sf-form-card h1,
.sf-redirect-layout .sf-form-card .sf-subtitle { text-align: left; }

.sf-redirect-layout .sf-form {
    display: grid;
    gap: 10px;
}

.sf-redirect-layout .sf-form label {
    color: #0b1f3a;
    font-weight: 700;
    margin-top: 8px;
    text-transform: none;
    font-size: 14px;
    letter-spacing: 0;
}

.sf-redirect-layout .sf-form input,
.sf-redirect-layout .sf-form textarea {
    width: 100%;
    border: 1px solid #d8e0ea;
    border-radius: 14px;
    padding: 13px 15px;
    color: #0b1f3a;
    background: #fff;
    outline: none;
    margin-bottom: 0;
    min-height: auto;
}

.sf-redirect-layout .sf-form input:focus,
.sf-redirect-layout .sf-form textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37,99,235,0.12);
}

.sf-redirect-layout .sf-submit-btn {
    margin-top: 16px;
    border: 0;
    border-radius: 16px;
    padding: 15px 22px;
    color: #fff !important;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    font-weight: 800;
    width: auto;
}
.sf-redirect-layout .sf-thanks { max-width: 620px; }

/* --------------------------------------------------------------------------
   4. SCOPED QR GENERATOR STYLES (CUSTOM QR MODULE)
   -------------------------------------------------------------------------- */
.qr-ai-page {
    position: relative;
    min-height: 92vh;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 0%, rgba(0, 240, 255, 0.18), transparent 28%),
        radial-gradient(circle at 18% 18%, rgba(37, 99, 235, 0.14), transparent 26%),
        radial-gradient(circle at 72% 72%, rgba(124, 58, 237, 0.14), transparent 30%),
        #020617;
    color: #ffffff;
    padding: 90px 0;
    font-family: var(--sf-font-family);
}

.qr-ai-page:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(115deg, transparent 0 19%, rgba(0, 240, 255, 0.16) 19.2%, transparent 19.5% 41%, rgba(0, 240, 255, 0.12) 41.3%, transparent 41.6% 72%, rgba(37, 99, 235, 0.12) 72.2%, transparent 72.5%),
        linear-gradient(65deg, transparent 0 14%, rgba(0, 240, 255, 0.10) 14.2%, transparent 14.6% 35%, rgba(124, 58, 237, 0.10) 35.3%, transparent 35.7% 78%, rgba(0, 240, 255, 0.10) 78.1%, transparent 78.4%);
    opacity: 0.8;
    pointer-events: none;
}

.qr-ai-page:after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(0, 240, 255, 0.9) 0 2px, transparent 3px),
        radial-gradient(circle, rgba(37, 99, 235, 0.7) 0 2px, transparent 3px),
        radial-gradient(circle, rgba(124, 58, 237, 0.65) 0 2px, transparent 3px);
    background-size: 220px 180px, 340px 280px, 460px 360px;
    background-position: 20px 30px, 130px 95px, 260px 160px;
    opacity: 0.55;
    pointer-events: none;
}

.qr-ai-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 56px;
    align-items: center;
}

.qr-ai-copy {
    position: sticky;
    top: 110px;
    align-self: start;
    padding-top: 44px;
}

.qr-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    border: 1px solid rgba(255,255,255,0.13);
    background: rgba(255,255,255,0.06);
    border-radius: 999px;
    color: #f8fafc;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.qr-ai-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 18px rgba(34, 197, 94, 0.8);
}

.qr-ai-title {
    margin: 30px 0 22px;
    max-width: 680px;
    font-size: clamp(42px, 5.5vw, 82px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.055em;
    color: #ffffff;
}

.qr-ai-gradient-text {
    display: block;
    background: linear-gradient(90deg, #22d3ee 0%, #38bdf8 38%, #2563eb 65%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.qr-ai-subtitle {
    max-width: 610px;
    color: #a6adbd;
    font-size: 18px;
    line-height: 1.75;
    margin-bottom: 34px;
}

.qr-ai-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.qr-ai-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.08);
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 750;
}

.qr-ai-pill span {
    color: #22d3ee;
    font-weight: 900;
}

.qr-form-shell {
    position: relative;
}

.qr-floating-card {
    position: absolute;
    z-index: 1;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(15, 23, 42, 0.64);
    backdrop-filter: blur(18px);
    border-radius: 18px;
    box-shadow: 0 25px 70px rgba(0,0,0,0.35);
    padding: 16px 20px;
    color: #e2e8f0;
}

.qr-floating-card small {
    display: block;
    color: #818cf8;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 5px;
}

.qr-floating-card strong {
    display: block;
    font-size: 20px;
    color: #ffffff;
}

.qr-float-one {
    top: -46px;
    right: -24px;
}

.qr-float-two {
    bottom: -34px;
    left: -34px;
}

.qr-card {
    position: relative;
    z-index: 3;
    background: rgba(2, 6, 23, 0.82);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 30px;
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.55), 0 0 40px rgba(0, 240, 255, 0.08);
    overflow: hidden;
    backdrop-filter: blur(22px);
}

.qr-card:before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 30px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(34,211,238,0.55), rgba(124,58,237,0.35), rgba(255,255,255,0.05));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.qr-card-header {
    padding: 32px 34px 16px;
}

.qr-card-header h2 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 900;
    margin: 0 0 8px;
    letter-spacing: -0.03em;
}

.qr-card-header p {
    margin: 0;
    color: #94a3b8;
    line-height: 1.6;
}

.qr-card-body {
    padding: 18px 34px 34px;
}

.qr-field-label {
    display: block;
    color: #e5e7eb;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 9px;
}

.qr-input {
    width: 100%;
    min-height: 54px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 15px;
    padding: 13px 15px;
    color: #ffffff !important;
    background: rgba(15, 23, 42, 0.72) !important;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.qr-input::placeholder {
    color: #64748b;
}

.qr-input:focus {
    border-color: #22d3ee;
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12), 0 0 26px rgba(34, 211, 238, 0.12);
}

input[type="file"].qr-input {
    padding-top: 14px;
}

input[type="file"]::file-selector-button {
    border: 0;
    border-radius: 10px;
    padding: 8px 12px;
    margin-right: 12px;
    background: linear-gradient(90deg, #22d3ee, #6366f1);
    color: #020617;
    font-weight: 900;
    cursor: pointer;
}

.qr-color-panel {
    position: relative;
    border: 1px solid rgba(34, 211, 238, 0.30);
    border-radius: 20px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(2, 6, 23, 0.92));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 18px 42px rgba(0,0,0,0.34),
        0 0 26px rgba(34, 211, 238, 0.08);
    color: #e5e7eb;
}

.qr-color-panel:before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background:
        radial-gradient(circle at 88% 18%, rgba(34, 211, 238, 0.18), transparent 25%),
        radial-gradient(circle at 10% 95%, rgba(124, 58, 237, 0.14), transparent 28%);
    pointer-events: none;
}

.qr-color-title,
.qr-picker-main,
.qr-picker-controls {
    position: relative;
    z-index: 1;
}

.qr-color-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 18px;
    color: #f8fafc;
    border-bottom: 1px solid rgba(34, 211, 238, 0.16);
    font-size: 17px;
    font-weight: 900;
    background: rgba(2, 6, 23, 0.68);
    letter-spacing: -0.01em;
}

.qr-color-title span:first-child:before {
    content: "";
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 9px;
    border-radius: 999px;
    background: var(--qr-preview-color, #22d3ee);
    box-shadow: 0 0 14px var(--qr-preview-color, #22d3ee);
    vertical-align: 1px;
}

.qr-color-share {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #67e8f9;
    background: rgba(34, 211, 238, 0.10);
    border: 1px solid rgba(34, 211, 238, 0.18);
    font-size: 18px;
    line-height: 1;
}

.qr-picker-main {
    display: grid;
    grid-template-columns: 31.5% 68.5%;
    min-height: 220px;
    border-bottom: 1px solid rgba(34, 211, 238, 0.16);
}

.qr-picker-swatch {
    background:
        linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0)),
        var(--qr-preview-color, #22d3ee);
    box-shadow: inset -1px 0 0 rgba(255,255,255,0.08);
}

.qr-sv-area {
    position: relative;
    min-height: 220px;
    cursor: crosshair;
    touch-action: none;
    background:
        linear-gradient(to bottom, rgba(255,255,255,0), #020617),
        linear-gradient(to right, rgba(255,255,255,0.90), hsl(var(--qr-hue, 188), 100%, 50%));
}

.qr-sv-pointer {
    position: absolute;
    width: 24px;
    height: 24px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    left: calc(var(--qr-sat, 90) * 1%);
    top: calc((100 - var(--qr-val, 88)) * 1%);
    transform: translate(-50%, -50%);
    box-shadow: 0 6px 18px rgba(0,0,0,0.65), 0 0 18px rgba(255,255,255,0.18);
    pointer-events: none;
}

.qr-picker-controls {
    padding: 18px 20px 18px;
    background: rgba(2, 6, 23, 0.70);
}

.qr-hue-slider {
    width: 100%;
    height: 8px;
    display: block;
    border-radius: 999px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background: linear-gradient(to right, #ff0000 0%, #ffff00 16.6%, #00ff00 33.3%, #00ffff 50%, #0000ff 66.6%, #ff00ff 83.3%, #ff0000 100%);
    cursor: pointer;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 10px 22px rgba(0,0,0,0.28);
}

.qr-hue-slider::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    background: hsl(var(--qr-hue, 188), 100%, 50%);
    box-shadow: 0 4px 14px rgba(0,0,0,0.45), 0 0 14px hsl(var(--qr-hue, 188), 100%, 50%);
}

.qr-hue-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    background: hsl(var(--qr-hue, 188), 100%, 50%);
    box-shadow: 0 4px 14px rgba(0,0,0,0.45), 0 0 14px hsl(var(--qr-hue, 188), 100%, 50%);
}

.qr-hex-input-wrap {
    position: relative;
    margin-top: 24px;
}

.qr-hex-input-wrap:before {
    content: "HEX";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #020617;
    color: #67e8f9;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;
}

.qr-hex-input {
    width: 100%;
    height: 40px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.82);
    color: #ffffff !important;
    text-align: center;
    font-weight: 900;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.qr-hex-input:focus {
    border-color: #22d3ee;
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}

.qr-copy-hex {
    position: absolute;
    right: 12px;
    top: 9px;
    color: #67e8f9;
    font-size: 16px;
    line-height: 1;
    opacity: 0.85;
}

.qr-color-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.qr-value-box {
    position: relative;
    min-height: 42px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 12px;
    padding: 9px 10px 6px;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.15;
    background: rgba(15, 23, 42, 0.74);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
}

.qr-value-box span {
    position: absolute;
    top: -8px;
    left: 10px;
    background: #020617;
    padding: 0 5px;
    font-size: 10px;
    color: #67e8f9;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.qr-value-box strong {
    font-weight: 800;
    color: #e5e7eb;
}

.qr-btn {
    width: 100%;
    min-height: 56px;
    border: 0;
    border-radius: 17px;
    background: linear-gradient(90deg, #22d3ee 0%, #38bdf8 35%, #6366f1 72%, #8b5cf6 100%);
    color: #020617;
    font-size: 15px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 24px;
    box-shadow: 0 16px 36px rgba(34, 211, 238, 0.26), 0 0 22px rgba(99, 102, 241, 0.18);
    transition: transform .2s ease, box-shadow .2s ease;
}

.qr-btn:hover {
    transform: translateY(-2px);
    color: #020617;
    box-shadow: 0 22px 45px rgba(34, 211, 238, 0.32), 0 0 34px rgba(99, 102, 241, 0.25);
}

.qr-result {
    text-align: center;
    padding: 22px 34px 36px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(255,255,255,0.025);
}

.qr-result h3 {
    color: #ffffff;
    font-weight: 900;
    margin-bottom: 16px;
}

.qr-result img {
    max-width: 300px;
    width: 100%;
    margin: 8px auto 20px;
    border: 1px solid rgba(34, 211, 238, 0.24);
    border-radius: 22px;
    padding: 14px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(0,0,0,0.35);
}

.qr-download-btn,
.qr-secondary-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    border-radius: 13px;
    padding: 10px 18px;
    font-weight: 900;
    text-decoration: none !important;
}

.qr-download-btn {
    background: linear-gradient(90deg, #22d3ee, #6366f1);
    color: #020617 !important;
}

.qr-secondary-btn {
    border: 1px solid rgba(255,255,255,0.16);
    color: #e2e8f0 !important;
    background: rgba(255,255,255,0.06);
}

/* --------------------------------------------------------------------------
   5. UNIFIED RESPONSIVENESS AND DESIGN BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .qr-ai-page {
        padding: 60px 0;
    }

    .qr-ai-inner {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .qr-ai-copy {
        position: relative;
        top: auto;
        padding-top: 0;
    }

    .qr-floating-card {
        display: none;
    }
}

@media (max-width: 900px) {
    .sf-page,
    .sf-reviews-page {
        padding: 0 16px;
    }

    .sf-login-page {
        align-items: flex-start;
        justify-content: flex-start;
        min-height: 100dvh;
        padding-top: 0;
    }

    .sf-login-page .sf-result-shell {
        margin-top: 0;
    }

    .sf-login-page .sf-result-card {
        margin-top: 8px;
        padding-top: 24px;
    }

    .sf-card,
    .sf-reviews-hero-card,
    .sf-no-reviews,
    .sf-client-info,
    .sf-client-form-card,
    .sf-result-card {
        padding: 26px 18px;
    }

    .sf-card h1,
    .sf-reviews-hero-card h1,
    .sf-client-info h1,
    .sf-result-card h1 {
        font-size: 32px;
    }

    .sf-review-grid,
    .sf-client-wrap,
    .sf-profile-grid,
    .sf-result-actions,
    .sf-review-summary {
        grid-template-columns: 1fr;
    }

    .sf-dashboard-row {
        grid-template-columns: 1fr;
    }

    .sf-rate-page {
        padding: 0px;
    }

    .sf-rate-card {
        width: 100%;
        padding: 0;
    }

    .sf-rate-name {
        font-size: 30px;
        line-height: 1.15;
    }

    .sf-rate-stars {
        gap: 3px;
        font-size: 15px;
    }

    .sf-rate-row {
        grid-template-columns: 84px minmax(0, 1fr) 84px;
    }
}

@media (max-width: 720px) {
    .sf-redirect-layout .sf-card {
        padding: 28px 18px;
        border-radius: 22px;
    }

    .sf-redirect-layout .sf-card h1 {
        font-size: 26px;
    }

    .sf-redirect-layout .sf-rating-grid {
        grid-template-columns: 1fr;
    }

    .sf-redirect-layout .sf-rating-btn {
        min-height: 58px;
    }
}

@media (max-width: 600px) {
    .sf-input,
    .sf-textarea,
    .sf-file-input,
    .sf-info-step .sf-input {
        margin-bottom: 22px;
    }
}

@media (max-width: 576px) {
    .qr-picker-main {
        grid-template-columns: 1fr;
    }

    .qr-picker-swatch {
        min-height: 74px;
    }

    .qr-color-values {
        grid-template-columns: 1fr 1fr;
    }

    .qr-ai-title {
        font-size: 40px;
    }

    .qr-card-header,
    .qr-card-body,
    .qr-result {
        padding-left: 20px;
        padding-right: 20px;
    }

    .qr-card-header h2 {
        font-size: 24px;
    }
}

.sf-forgot-password-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: -18px;
    margin-bottom: 22px;
}

.sf-forgot-password-btn {
    background: none;
    border: none;
    padding: 0;
    color: var(--sf-accent);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.15s ease;
}

.sf-forgot-password-btn:hover,
.sf-forgot-password-btn:focus {
    color: var(--sf-text-light);
    text-decoration: underline;
    outline: none;
}

@media (max-width: 900px) {
    .sf-page:has(form[action="/smart-feedback/app/login"]) {
        align-items: flex-start !important;
        justify-content: flex-start !important;
        min-height: 100dvh !important;
        padding-top: 0 !important;
    }

    .sf-page:has(form[action="/smart-feedback/app/login"]) .sf-result-shell {
        margin-top: 0 !important;
    }

    .sf-page:has(form[action="/smart-feedback/app/login"]) .sf-result-card {
        margin-top: 8px !important;
        padding-top: 24px !important;
    }

    .sf-login-card {
        margin-top: 8px !important;
        padding-top: 24px !important;
    }
}
