/* Lean maintenance page — no Font Awesome / Vite / dashboard.css */

*,
*::before,
*::after {
    box-sizing: border-box;
}

.welcome-auth-body {
    margin: 0;
    min-height: 100vh;
    background: #1c212e;
    font-family: Poppins, system-ui, -apple-system, Segoe UI, sans-serif;
}

.welcome-auth {
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    background: #1c212e;
}

.welcome-auth-stage {
    position: relative;
    display: flex;
    flex: 1 0 auto;
    min-height: calc(100vh - 100px);
    width: 100%;
    padding-bottom: 72px;
}

.welcome-auth-panel,
.welcome-auth-visual {
    flex: 0 0 50%;
    width: 50%;
    min-height: calc(100vh - 100px);
}

.welcome-auth-panel {
    display: flex;
    flex-direction: column;
    background: #1c212e;
    z-index: 2;
}

.welcome-auth-visual {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    background:
        linear-gradient(180deg, rgba(28, 33, 46, 0.2) 0%, rgba(28, 33, 46, 0.55) 55%, #1c212e 100%),
        url(/assets/images/ascend/backgroundhotel.jpg) center / cover no-repeat;
    z-index: 1;
}

.welcome-auth-stage::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    pointer-events: none;
    z-index: 4;
    background: linear-gradient(
        180deg,
        rgba(28, 33, 46, 0) 0%,
        rgba(28, 33, 46, 0.55) 45%,
        #1c212e 100%
    );
}

.welcome-auth-panel-inner {
    width: 100%;
    max-width: 36rem;
    margin: 0 auto;
    padding: 2rem 1.25rem 5.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.welcome-auth-hello {
    color: #fff;
    font-size: 1.85rem;
    font-weight: 600;
    margin: 0 0 0.35rem;
    line-height: 1.25;
}

.welcome-auth-hello em {
    color: #2fbdbd;
    font-style: normal;
}

.welcome-auth-online {
    color: #9aa3b8;
    font-size: 0.92rem;
    margin: 0 0 1.25rem;
}

.welcome-auth-online strong {
    color: #fff;
}

.welcome-maint-message {
    margin: 0 0 1.25rem;
    padding: 0.9rem 1rem;
    border-radius: 0.65rem;
    background: #191e29;
    border: 2px solid #282f42;
    color: #c8cedd;
    font-size: 0.92rem;
    line-height: 1.5;
}

.welcome-auth-errors {
    margin-bottom: 1rem;
    padding: 0.75rem 0.9rem;
    background: rgba(180, 40, 60, 0.18);
    border: 1px solid rgba(220, 80, 100, 0.45);
    border-radius: 0.65rem;
    color: #f2b8c0;
    font-size: 0.85rem;
}

.welcome-auth-errors p {
    margin: 0;
}

.welcome-auth-errors p + p {
    margin-top: 0.25rem;
}

.welcome-auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.welcome-auth-label {
    display: block;
    color: #c8cedd;
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0.55rem 0 0.35rem;
}

.welcome-auth-field {
    position: relative;
    display: flex;
    align-items: center;
}

.welcome-auth-field-icon {
    position: absolute;
    left: 1.15rem;
    width: 1rem;
    height: 1rem;
    color: #6b7388;
    pointer-events: none;
}

.welcome-auth-field input {
    width: 100%;
    background: #191e29;
    border: 3px solid #282f42;
    border-radius: 0.65rem;
    color: #d5d5d5;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.9rem 1rem 0.9rem 3.25rem;
    outline: none;
    transition: border-color 0.15s ease;
}

.welcome-auth-field input::placeholder {
    color: rgba(200, 206, 221, 0.45);
}

.welcome-auth-field input:focus {
    border-color: #2fbdbd;
}

.welcome-auth-submit {
    margin-top: 1rem;
    width: 100%;
    height: 3rem;
    border: 2px solid #008787;
    border-radius: 0.65rem;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    background: linear-gradient(90deg, rgba(0, 65, 65, 1) 35%, rgba(0, 135, 135, 1) 100%);
    transition: filter 0.15s ease;
}

.welcome-auth-submit:hover {
    filter: brightness(1.08);
}

.welcome-auth-logo {
    max-width: 320px;
    width: 70%;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
}

.welcome-auth-blurb {
    max-width: 620px;
    width: 100%;
    padding: 1.25rem 2.25rem;
    border-radius: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.55;
    letter-spacing: 0.01em;
    background: linear-gradient(90deg, #00000050, transparent);
}

.welcome-auth-blurb strong {
    color: #fff;
    font-weight: 600;
}

.welcome-visual-discord-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 0.5rem;
    min-width: 180px;
    padding: 0.85rem 1.25rem;
    border-radius: 20px;
    border: 2px solid #2fbdbd;
    background: #008787;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none !important;
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.welcome-visual-discord-btn svg {
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
}

.welcome-visual-discord-btn:hover {
    opacity: 0.88;
    filter: brightness(1.08);
    color: #fff !important;
}

.welcome-maint-visual {
    display: flex !important;
    min-height: auto;
}

.welcome-auth .ascend-footer {
    margin-top: -90px;
    flex-shrink: 0;
    width: 100%;
    position: relative;
    z-index: 6;
}

.ascend-footer {
    position: relative;
    width: 100%;
    height: 140px;
    margin-top: 40px;
    flex-shrink: 0;
    overflow: hidden;
    background:
        linear-gradient(180deg, #1c212e 0%, rgba(28, 33, 46, 0.6) 16%, rgba(28, 33, 46, 0.18) 36%, transparent 55%),
        url("/assets/images/ascend/footer-bg.png") center / cover no-repeat;
}

.ascend-footer-left {
    display: flex;
    align-items: flex-end;
    max-width: 1100px;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px 22px;
}

.ascend-footer-img-h {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: url("/assets/images/ascend/footer-icon-new.png") center / contain no-repeat;
    image-rendering: pixelated;
    filter: brightness(0.7);
}

.ascend-footer-text-title {
    color: #4d9191;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 5px;
}

.ascend-footer-text {
    max-width: 576px;
    color: #a0a0a0;
    margin-left: 28px;
    font-size: 14px;
    line-height: 1.45;
}

.ascend-footer-text p {
    margin: 0;
}

@media (min-width: 1024px) {
    .welcome-auth-visual {
        display: flex;
    }

    .welcome-auth-panel-inner {
        margin-top: 2.5rem;
    }
}

@media (max-width: 1023px) {
    .welcome-auth-stage {
        flex-direction: column;
    }

    .welcome-auth-panel,
    .welcome-auth-visual {
        flex: none;
        width: 100%;
        min-height: auto;
    }

    .welcome-auth-panel {
        min-height: calc(100vh - 140px);
    }

    .welcome-auth-hello {
        font-size: 1.45rem;
    }

    .welcome-maint-visual {
        padding: 2rem 1.25rem 2.5rem;
        min-height: 280px;
    }
}
