/* Modern Login Panel - Főoldal színekkel - 2025-12-18 */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Ubuntu', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #dedede;
    padding: 20px;
}

a {
    text-decoration: none;
    color: #ff7600;
    transition: color 0.3s ease;
}

a:hover {
    color: #d46200;
}

.mainbox.login {
    width: 100%;
    max-width: 420px;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
    position: relative;
}

.formbox {
    background: #ececec;
    border-radius: 12px;
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #c8c8c8;
    width: 100%;
    min-width: unset;
    max-width: unset;
    display: block;
    margin: 0;
}

.login-logo {
    display: block;
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background-color: #ff7600;
    background-image: url('../images/zbank_icon.svg');
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(255, 118, 0, 0.35);
}

.logintext {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: 0.5px;
}

.logintext.bottom {
    margin-top: 25px;
    margin-bottom: 0;
    font-size: 12px;
    color: #666;
    text-align: center;
    width: 100%;
    float: none;
}

.logintext.bottom:hover {
    color: #ff7600;
}

form {
    width: 100%;
    display: block;
}

.megnevezes {
    display: block;
    float: none;
    width: 100%;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
    margin-left: 0;
    margin-right: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

input#nev,
input#pass {
    width: 100%;
    float: none;
    height: 50px;
    margin-bottom: 20px;
    padding: 0 15px;
    font-size: 15px;
    border: 1px solid #c8c8c8;
    border-radius: 8px;
    background-color: #fff;
    color: #333;
    transition: all 0.3s ease;
    min-width: unset;
    max-width: unset;
}

input#nev:focus,
input#pass:focus {
    outline: none;
    border-color: #ff7600;
    box-shadow: 0 0 0 3px rgba(255, 118, 0, 0.15);
}

input#nev::placeholder,
input#pass::placeholder {
    color: #aaa;
}

.submitbutton {
    width: 100%;
    height: 55px;
    margin: 10px 0 0 0;
    padding: 0;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: white;
    background-color: #ff7600;
    border: 1px solid #d46200;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 118, 0, 0.3);
}

.submitbutton:hover {
    background-color: #e66a00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 118, 0, 0.4);
}

.submitbutton:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 118, 0, 0.3);
}

.alert {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff4444;
    color: white;
    padding: 20px 40px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 8px 25px rgba(255, 68, 68, 0.35);
    z-index: 1000;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 480px) {
    .formbox {
        padding: 40px 25px;
    }

    .login-logo {
        width: 80px;
        height: 80px;
    }

    input#nev,
    input#pass {
        height: 45px;
        font-size: 14px;
    }

    .submitbutton {
        height: 50px;
        font-size: 14px;
    }
}
