/* Стили для страниц авторизации/регистрации внутри фрейма */
.auth-page {
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    padding: 0;
}

.auth-box {
    width: 100%;
    max-width: 320px;
    padding: 30px;
    border: 1px solid #e5e5ea;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.auth-box h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    color: #1d1d1f;
    text-align: center;
}

.field-group {
    margin-bottom: 15px;
}

.field-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #515154;
}

.field-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #d2d2d7;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 14px;
}

.field-group input:focus {
    border-color: #0066cc;
    outline: none;
}

button[type="submit"] {
    width: 100%;
    padding: 12px;
    background: #0066cc;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

button[type="submit"]:hover {
    background: #0053a6;
}

.auth-links {
    margin-top: 20px;
    text-align: center;
}

.auth-links a {
    font-size: 13px;
    color: #0066cc;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

.error-block {
    background: #ffe5e5;
    color: #cc0000;
    padding: 10px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 15px;
    text-align: center;
    border: 1px solid #ffa3a3;
}
