body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: url('../media/fon.jpg') no-repeat center center fixed;
    background-size: cover;
}

main {
    background-color: rgba(255, 255, 255, 0.75);
    width: 350px;
    margin: 80px auto;
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: 0 0 25px rgba(0,0,0,0.3);
    text-align: center;
    backdrop-filter: blur(5px);
}

h2 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 24px;
}

.form-group {
    text-align: left;
    margin-bottom: 20px;
}

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

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

input[type="submit"] {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-weight: bold;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

.register-link {
    margin-top: 18px;
    font-size: 14px;
}

.register-button {
    color: #0056b3;
    font-weight: bold;
    margin-left: 6px;
    text-decoration: none;
}

.register-button:hover {
    text-decoration: underline;
}

.error {
    color: red;
    font-weight: bold;
    margin-bottom: 12px;
}
