* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #101827;
    color: #0f172a;
}

.wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.card {
    width: 460px;
    background: #fff;
    border-radius: 18px;
    padding: 38px;
    box-shadow: 0 20px 60px #0005;
}

.logo {
    display: block;
    width: 86px;
    height: 86px;
    margin: 0 auto 18px;
}

h1 {
    margin: 0;
    text-align: center;
    font-size: 28px;
}

.sub {
    margin: 7px 0 30px;
    text-align: center;
    color: #64748b;
}

label {
    display: block;
    margin: 0 0 8px;
    font-weight: 700;
}

input {
    width: 100%;
    padding: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    font-size: 16px;
}

button {
    width: 100%;
    margin-top: 16px;
    padding: 14px;
    border: 0;
    border-radius: 9px;
    background: #2866e8;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

button:hover {
    background: #1f56c9;
}

button:disabled {
    opacity: .6;
    cursor: wait;
}

#error {
    min-height: 20px;
    margin-top: 15px;
    text-align: center;
    color: #dc2626;
}

#activeBox {
    display: none;
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #f59e0b;
    border-radius: 10px;
    background: #fffbeb;
}

.active-title {
    color: #92400e;
    font-weight: 700;
}

.active-info {
    margin-top: 7px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}

#takeoverBtn {
    background: #dc2626;
}

#takeoverBtn:hover {
    background: #b91c1c;
}

.note {
    margin-top: 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 12px;
}
