* {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    margin: 0;
    min-height: 100vh;
    background: #f4f6f8;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* FORMULÁR */
.form-box {
    width: 50%;
    background: #ffffff;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-box h2 {
    margin-bottom: 20px;
    color: #333;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.form-group input:focus {
    outline: none;
    border-color: #0077cc;
}

button {
    margin-top: 10px;
    padding: 14px;
    background: #0077cc;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
}

button:hover {
    background: #005fa3;
}

/* CHYBOVÁ HLÁŠKA */
.error-box {
    background: #f8d7da;
    color: #842029;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* FOOTER POD FORMULÁROM */
.form-footer {
    margin-top: 20px;
    font-size: 14px;
}

.form-footer a {
    color: #0077cc;
    text-decoration: none;
    font-weight: bold;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* OBRÁZOK */
.image-box {
    width: 50%;
    background: url("img/login.jpg") center center / cover no-repeat;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .container {
        flex-direction: column;
    }

    .form-box,
    .image-box {
        width: 100%;
    }

    .image-box {
        height: 300px;
    }
}

/* ===== REMEMBER CHECKBOX (OPRAVA) ===== */

.remember-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

/* zruší zdedené vlastnosti z .form-group input */
.remember-group input[type="checkbox"] {
    width: auto;
    padding: 0;
    margin: 0;
}

/* zruší block správanie labelu */
.remember-group label {
    display: inline;
    margin: 0;
    font-size: 14px;
    color: #555;
    cursor: pointer;
}
.image-box {
    width: 50%;
    background: url("img/uran.jpg") center center / cover no-repeat;
}
