* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f7f9;
    color: #163756;
}

.page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.card {
    width: 100%;
    max-width: 520px;
    background: #fff;
    border-radius: 16px;
    padding: 34px;
    box-shadow: 0 10px 35px rgba(22, 55, 86, .12);
}

.admin-card { max-width: 480px; }

.brand {
    font-size: 25px;
    font-weight: 800;
    color: #0c5d8d;
    margin-bottom: 24px;
}

h1 {
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.2;
}

.subtitle, .muted {
    color: #657482;
    line-height: 1.6;
}

label {
    display: block;
    margin: 22px 0 8px;
    font-weight: 700;
}

input {
    width: 100%;
    height: 52px;
    border: 1px solid #ccd6dd;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 17px;
    outline: none;
}

input:focus {
    border-color: #0c8f8a;
    box-shadow: 0 0 0 3px rgba(12, 143, 138, .12);
}

.phone-row {
    display: flex;
    gap: 8px;
}

.prefix {
    width: 92px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef3f6;
    border: 1px solid #ccd6dd;
    border-radius: 10px;
    font-weight: 800;
    font-size: 17px;
}

.phone-row input { flex: 1; }

button, .secondary-button {
    width: 100%;
    min-height: 52px;
    margin-top: 18px;
    border: 0;
    border-radius: 10px;
    background: #0c8f8a;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

button:hover { filter: brightness(.96); }
button:disabled { opacity: .6; cursor: wait; }

.notice {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    background: #f0f7f7;
    border-left: 4px solid #0c8f8a;
    line-height: 1.55;
}

.notice span, .notice small {
    display: block;
}

.notice small {
    margin-top: 8px;
    color: #5d6c77;
}

code {
    background: #e9eef1;
    padding: 2px 5px;
    border-radius: 4px;
}

.status, .result, .settings-box, .alert {
    margin-top: 18px;
    padding: 13px 15px;
    border-radius: 10px;
    line-height: 1.55;
}

.status.info { background: #eef3f7; }
.status.success, .alert.success { background: #e8f7ef; color: #17613a; }
.status.error, .alert.error { background: #fff0f0; color: #9b2929; }

.result, .settings-box {
    background: #f6f8fa;
}

.secondary-button {
    background: #163756;
}

.text-link, .admin-link {
    display: block;
    text-align: center;
    margin-top: 18px;
    color: #0c5d8d;
    text-decoration: none;
    font-weight: 700;
}

.admin-link {
    margin-top: 28px;
    font-size: 13px;
    color: #8a969f;
}

@media (max-width: 560px) {
    .page { padding: 14px; }
    .card { padding: 24px 18px; border-radius: 12px; }
    h1 { font-size: 24px; }
    .prefix { width: 78px; font-size: 15px; }
}
