.auth-wrapper {
    display: flex; flex-direction: column; align-items: center;
    width: 100%; max-width: 1200px; margin: 40px auto; padding: 20px;
    box-sizing: border-box; animation: fadeIn 0.6s ease-out;
}
.auth-header-top { text-align: center; margin-bottom: 30px; z-index: 10; }
.login-logo { width: 100%; max-width: 300px; height: auto; margin: 0 auto 10px auto; display: block; }
.auth-header-top h1 { font-size: 3.5rem; margin: 0; letter-spacing: 5px; font-weight: 800; color: #ffffff; }
.tagline { font-size: 1.1rem; color: #a0a39c; margin-top: 5px; }

.auth-main-content { position: relative; width: 100%; max-width: 480px; z-index: 5; }
.login-card {
    background: rgba(54, 69, 77, 0.85); backdrop-filter: blur(12px);      
    border: 1px solid rgba(255,255,255,0.1); padding: 50px 40px;
    border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,0.4); width: 100%;
}
.login-dog-img-right {
    position: absolute; left: 85%; bottom: -40px; height: 450px;
    z-index: 25; pointer-events: none; filter: drop-shadow(10px 10px 20px rgba(0,0,0,0.3));
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #77d9b7; /* Pawchi zöld szín a pipának */
}

.checkbox-group label {
    font-size: 0.85rem;
    color: #a0a39c;
    line-height: 1.4;
    cursor: pointer;
}

.checkbox-group label a {
    color: #77d9b7;
    text-decoration: underline;
}

/* Modál stílusok */
.pdf-modal {
    display: none;
    position: fixed;
    top: 0 !important; /* Kényszerített felső igazítás */
    left: 0 !important;
    width: 100vw;
    height: 100dvh;
    z-index: 999999;
    background-color: rgba(0,0,0,0.8);
}

/* Ez biztosítja, hogy ha megnyitod, ne csak block, hanem fix maradjon */
.pdf-modal[style*="display: block"] {
    display: block !important;
}
.pdf-modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 2% auto;
    width: 90%;
    max-width: 1000px;
    height: 90vh;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pdf-modal-header {
    padding: 10px;
    background: #f1f1f1;
    text-align: right;
    border-bottom: 1px solid #ddd;
}

.pdf-close {
    color: #333;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.pdf-close:hover {
    color: #ff0000;
}

.pdf-modal-body {
    flex: 1;
}

#pdfFrame {
    width: 100%;
    height: 100%;
    display: block;
}


@media (max-width: 992px) {
    .auth-header-top h1 { font-size: 2.5rem; }
    .login-dog-img-right { position: relative; left: 0; bottom: 0; height: 300px; margin: 20px auto; display: block; }
    .auth-main-content { max-width: 100%; display: flex; flex-direction: column; align-items: center; }
    .pdf-modal-content {
        width: 95%;
        margin: 5% auto;
        height: 85vh;
    }
}