body {
    font-family: Arial, sans-serif;
    display: grid;
    place-items: center;
    min-height: 100vh;
    background-color: #f4f4f4;
    margin: 0;
}

form {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    width: 320px;
}

h2 {
    text-align: center;
    margin-top: 0;
}

.form-group,
.captcha-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 44px;
}

.password-toggle {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: #333;
    cursor: pointer;
    font-size: 17px;
}

.password-toggle:hover {
    background: #eef2ff;
}

.hcaptcha-container {
    min-height: 78px;
    overflow: hidden;
}

.hcaptcha-container iframe {
    max-width: 100%;
}

#loginSubmit {
    width: 100%;
    padding: 10px;
    background-color: #0068ff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

#loginSubmit:hover {
    background-color: #0052cc;
}

button:disabled {
    background-color: #a0bdf5;
    cursor: not-allowed;
}

.error {
    color: red;
    text-align: center;
    margin-top: 10px;
    font-size: 0.9rem;
}
