body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0f0f0f, #1a1a1a 60%, #0f0f0f);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;
    overflow: hidden;
    position: relative;
}

/* Login doboz */
.login-container {
    position: relative;
    z-index: 1;
    max-width: 400px;
    width: 100%;
    padding: 20px;
}

.login-card {
    background: rgba(26, 26, 26, 0.95);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.2);
}

.logo {
    display: block;
    margin: 0 auto 20px auto;
    max-width: 180px;
}

h1 {
    text-align: center;
    font-size: 26px;
    margin-bottom: 20px;
    color: #fff;
}

.input-group {
    display: flex;
    align-items: center;
    background: #111;
    margin-bottom: 20px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #333;
}

.input-group label {
    padding: 14px;
    background: #ED1C2E;
    color: white;
    min-width: 45px;
    text-align: center;
}

.input-group input {
    width: 100%;
    padding: 14px;
    border: none;
    background: #1f1f1f;
    color: #fff;
    outline: none;
}

input[type="submit"] {
    width: 100%;
    padding: 14px;
    background: #ED1C2E;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

input[type="submit"]:hover {
    background: #aa1623;
}

/* Háttérrétegek */
.bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
    opacity: 0.05;
    mix-blend-mode: lighten;
    pointer-events: none;
}

#statusModal {
    display: none; /* Ezzel kezdődjön */
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.75);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-box {
    background: #1a1a1a;
    padding: 40px 50px;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(0,0,0,0.7);
    text-align: center;
    animation: popup 0.3s ease;
    max-width: 90%;
    width: 400px;
}

.modal-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.modal-text {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

.modal-success .modal-icon {
    color: #28a745;
}
.modal-error .modal-icon {
    color: #dc3545;
}
.modal-warning .modal-icon {
    color: #ffc107;
}

@keyframes popup {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

