body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: #c7ccd4;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #2c3e50;
}

.login_wrap {
    width: 100%;
    padding: 40px 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.login {
    width: 100%;
    max-width: 360px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    overflow: hidden;
}

.title {
    background: #3b82f6;
    color: #ffffff;
    font-weight: bold;
    font-size: 108%;
    letter-spacing: 0.04em;
    padding: 16px 20px;
    text-align: center;
}

.login_error {
    margin: 18px 22px -4px;
    padding: 9px 12px;
    background: #fdecea;
    border: 1px solid #f5c2c0;
    border-radius: 8px;
    color: #b52b27;
    font-size: 13px;
    text-align: center;
}

form {
    padding: 22px 24px 26px;
}

.form_row {
    margin-bottom: 14px;
}

.form_row label {
    display: block;
    margin-bottom: 5px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
}

.form_row input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form_row input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.20);
}

.login_button {
    width: 100%;
    margin-top: 6px;
    padding: 11px;
    background: #3b82f6;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}
.login_button:hover { background: #2563eb; }
