html,
body {
    min-height: 100%;
}

body:has(.ssh-auth-page) {
    min-height: 100vh;
    background:
        radial-gradient(circle at top center, rgba(37, 89, 198, 0.14), transparent 34%),
        radial-gradient(circle at 78% 18%, rgba(84, 195, 175, 0.08), transparent 24%),
        linear-gradient(180deg, #010816 0%, #020b23 34%, #020b23 100%);
    background-repeat: no-repeat;
    background-size: cover;
}

.ssh-auth-page {
    position: relative;
    min-height: 100vh;
    color: #f8fafc;
    background: transparent;
}
.ssh-auth-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
}

.ssh-auth-container {
    width: 100%;
    max-width: 520px;
}

.ssh-auth-logo-wrap {
    margin-bottom: 26px;
    text-align: center;
}

.ssh-auth-logo-link,
.ssh-auth-logo-link:hover,
.ssh-auth-logo-link:focus,
.ssh-auth-logo-link:active,
.ssh-auth-logo-link:visited {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #f8fafc;
}

.ssh-auth-logo-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.ssh-auth-logo-text {
    font-size: 19px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #f3f6fb;
}

.ssh-auth-logo-hub {
    color: rgb(84, 195, 175);
}

.ssh-auth-box {
    border-radius: 32px;
    padding: 34px;
    background: linear-gradient(180deg, rgba(13, 23, 49, 0.9) 0%, rgba(10, 18, 41, 0.96) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.ssh-auth-head {
    margin-bottom: 26px;
	text-align: center;
}

.ssh-auth-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 14px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(17, 27, 55, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(184, 193, 214, 0.72);
    font-size: 13px;
    font-weight: 500;
}

.ssh-auth-box h2 {
    margin: 0 0 10px;
    color: #f8fafc;
    font-size: 2rem;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.ssh-auth-head p,
.ssh-auth-footer-note {
    margin: 0;
    color: rgba(232, 238, 250, 0.76);
    font-size: .875rem;
    line-height: 1.625;
}

.ssh-auth-form {
    display: grid;
    gap: 16px;
}

.ssh-auth-field label {
    display: block;
    margin-bottom: 8px;
    color: #f8fafc;
    font-weight: 600;
    font-size: .875rem;
    line-height: 1.4;
}

.ssh-auth-field input {
    width: 100%;
    min-height: 56px;
    padding: 0 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(13, 23, 49, 0.86) 0%, rgba(10, 18, 41, 0.92) 100%);
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.625;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.ssh-auth-field input::placeholder {
    color: rgba(184, 193, 214, 0.40);
}

.ssh-auth-field input:hover,
.ssh-auth-field input:focus {
    border-color: rgb(84, 195, 175);
    box-shadow: 0 0 0 1px rgba(84, 195, 175, 0.24), 0 14px 34px rgba(12, 34, 78, 0.28);
}

.ssh-auth-actions {
    margin-top: 8px;
}

.ssh-auth-actions-stack {
    display: grid;
    gap: 14px;
}

.ssh-auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    width: 100%;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    text-decoration: none !important;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    color: #ffffff !important;
    background: linear-gradient(90deg, #5e86ea 0%, #68d3c4 100%);
    box-shadow: 0 14px 34px rgba(20, 58, 137, 0.34), 0 0 34px rgba(56, 114, 255, 0.16);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.ssh-auth-btn:hover,
.ssh-auth-btn:focus {
    transform: scale(1.03);
    filter: brightness(1.03);
    box-shadow: 0 20px 44px rgba(20, 58, 137, 0.42), 0 0 42px rgba(104, 211, 196, 0.20);
}

.ssh-auth-btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(232, 238, 250, 0.84) !important;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ssh-auth-btn-secondary:hover,
.ssh-auth-btn-secondary:focus {
    background: rgba(20, 33, 69, 0.9);
    border-color: rgb(84, 195, 175);
    box-shadow: 0 0 0 1px rgba(84, 195, 175, 0.18), 0 10px 30px rgba(12, 34, 78, 0.26);
}

.ssh-auth-message {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 18px;
    font-size: .875rem;
    line-height: 1.625;
}

.ssh-auth-error {
    background: rgba(77, 32, 39, 0.72);
    border: 1px solid rgba(239, 125, 136, 0.28);
    color: #ffd7dc;
}

.ssh-auth-footer-note {
    margin-top: 20px;
    text-align: center;
}

.ssh-auth-footer-note a,
.ssh-auth-footer-note a:hover,
.ssh-auth-footer-note a:focus,
.ssh-auth-footer-note a:visited {
    color: rgb(84, 195, 175);
    text-decoration: none;
}

.ssh-auth-footer-note a:hover,
.ssh-auth-footer-note a:focus {
    text-shadow: 0 0 16px rgba(84, 195, 175, 0.26);
}

@media (max-width: 767px) {
    .ssh-auth-wrapper {
        padding: 32px 16px;
        align-items: flex-start;
    }

    .ssh-auth-container {
        max-width: 100%;
    }

    .ssh-auth-box {
        padding: 24px 20px;
        border-radius: 26px;
    }

    .ssh-auth-box h2 {
        font-size: 1.75rem;
        line-height: 1.12;
    }

    .ssh-auth-btn {
        min-height: 58px;
        font-size: 17px;
    }
}

h1.ssh-auth-logo {
    display: none !important;
}
.cf-turnstile {
    transform: scale(0.95);
    opacity: 0.9;
}