﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #e6f0ff;
    color: #1f1f1f;
}

#status-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 600;
    color: #1f1f1f;
    background: rgba(230, 240, 255, 0.97);
    z-index: 200;
    letter-spacing: 0.02em;
}

.screen {
    display: none;
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.screen.active {
    display: flex;
    opacity: 1;
}

.card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(32, 56, 117, 0.16);
}

.card-loading {
    padding: 32px 24px;
    max-width: 520px;
    width: 100%;
    text-align: center;
    background: #ffffff;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
}

.logo span:first-child { color: #005ff9; }
.logo span:last-child { color: #ff2d55; }

.page-login {
    max-width: 900px;
    width: 100%;
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.card-login {
    padding: 32px 30px 24px;
    min-width: 360px;
}

.logo-login { margin-bottom: 16px; }
.lang-row { font-size: 13px; color: #5c6470; margin-bottom: 18px; }
.login-image img { width: 100%; display: block; border-radius: 12px; margin-bottom: 12px; }
.field-label { display: block; font-size: 13px; margin-bottom: 6px; }
.input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #d5d9e2;
    font-size: 14px;
    margin-bottom: 14px;
    outline: none;
    background: #fdfdff;
}
.input:focus { border-color: #005ff9; box-shadow: 0 0 0 1px rgba(0, 95, 249, 0.2); }
.btn-primary {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: none;
    background: #005ff9;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin: 6px 0 10px;
}
.btn-primary:active { transform: translateY(1px); }
.link { font-size: 13px; color: #005ff9; text-decoration: none; }
.restore-link { display: inline-block; margin-bottom: 6px; }
.small-text { font-size: 13px; color: #7a8190; }
.small-problem { text-align: center; margin: 6px 0 10px; }
.alt-login { margin-top: 4px; display: flex; gap: 8px; }
.alt-btn {
    flex: 1;
    border-radius: 8px;
    border: 1px solid #d5d9e2;
    padding: 8px 10px;
    background: #ffffff;
    font-size: 13px;
    cursor: pointer;
}
.register-link { display: block; margin-top: 14px; text-align: center; }

.hack-wrapper {
    max-width: 700px;
    width: 100%;
    color: #1f1f1f;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    padding: 0;
}

.status-banner {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto 22px;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(32, 56, 117, 0.12);
}

.process-label {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #eef4ff;
    color: #005ff9;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
}

.status-notification {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 176px;
    padding: 30px 32px;
    border: 1px solid #cfe0ff;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(32, 56, 117, 0.16);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.status-notification.is-visible { opacity: 1; transform: translateY(0); }
.status-notification.is-done { border-color: #005ff9; }
.status-dot {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #005ff9;
    box-shadow: 0 0 0 6px rgba(0, 95, 249, 0.12);
}
.notification-title {
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    color: #1f1f1f;
    margin-bottom: 8px;
}
.notification-text { font-size: 16px; line-height: 1.45; color: #5c6470; }
.overall-progress { margin-top: 16px; padding: 0 2px; }
.progress-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #3f4a5a;
    margin-bottom: 8px;
}
.progress-track { height: 12px; overflow: hidden; border-radius: 999px; background: #e3e9f5; }
.progress-fill {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #005ff9;
    transition: width 0.25s ease;
}
#joke {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #eef4ff;
    font-size: 13px;
    font-weight: 600;
    color: #005ff9;
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}
#joke.visible { opacity: 1; }
.prank-note {
    margin-top: 16px;
    color: #5c6470;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.page-login { }
.card-tip { flex: 2; padding: 18px 18px; display: flex; flex-direction: column; justify-content: flex-start; font-size: 14px; color: #3f4a5a; border-left: 4px solid #005ff9; }
.tip-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.tip-icon { font-size: 22px; }
.tip-title { font-weight: 600; }
.tip-text { font-size: 13px; color: #5c6470; }

@media (max-width: 900px) {
    .page-login { flex-direction: column; max-width: 420px; }
    .card-tip { border-left: none; border-top: 4px solid #005ff9; margin-top: 10px; }
}

@media (max-width: 768px) {
    .card-login { padding: 24px 20px 20px; min-width: auto; }
    .status-banner { margin-bottom: 18px; border-radius: 14px; }
    .status-notification { align-items: flex-start; min-height: 156px; padding: 24px 22px; border-radius: 16px; }
    .notification-title { font-size: 24px; }
    .notification-text { font-size: 15px; }
    .card-tip { display: none; }
}
