.container { margin-top: 5rem; background-color: var(--white); border-radius: var(--radius-lg); max-width: 1000px; width: 100%; display: flex; gap: 20px; overflow: hidden; } .image-section { flex: 1; background-color: var(--white); display: flex; align-items: center; justify-content: center; min-height: 500px; } .image-section img { width: 100%; height: 100%; object-fit: cover; } .form-section { flex: 1; padding: 40px; display: flex; flex-direction: column; justify-content: center; } /* Formularelemente */ .info-box { background-color: var(--olive-light); padding: 15px; margin-bottom: 30px; border-radius: 8px; font-size: 16px; color: var(--black); line-height: 1.4; } .form-group { margin-bottom: 20px; } label { display: block; margin-bottom: 6px; color: var(--black); font-weight: 500; font-size: 14px; } input[type="text"], input[type="email"], input[type="password"] { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; transition: border-color 0.3s ease; } input:focus { outline: none; border-color: var(--olive-dark); } /* Hilfstexte & Fehler */ .signup-hint, .login-hint { text-align: left; margin-top: 20px; color: var(--black); font-size: 1rem; line-height: 130%; } .signup-hint a, .login-hint a { color: var(--blue); text-decoration: none; font-weight: 500; transition: color 0.3s ease; } .signup-hint a:hover, .login-hint a:hover { text-decoration: underline; text-underline-offset: 2px; color: var(--blue); } .error-message { color: var(--error); font-size: 13px; margin-top: 5px; display: none; } .form-group.has-error input { border-color: var(--error); } .form-group.has-error .error-message { display: block; } /* Modal / Popup Styles */ .modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.4); animation: fadeIn 0.3s ease; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } .modal.show { display: flex; justify-content: center; align-items: center; } .modal-content { background-color: white; padding: 40px; border-radius: 8px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); max-width: 500px; width: 90%; text-align: center; animation: slideIn 0.3s ease; } @keyframes slideIn { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } .modal-header { position: relative; margin-bottom: 20px; } .modal-header h2 { color: #0084ff; font-size: 24px; } .close-btn { position: absolute; right: 0; top: 0; font-size: 28px; color: #999; background: none; border: none; cursor: pointer; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; } .modal-body { color: #333; font-size: 16px; line-height: 1.6; margin-bottom: 30px; } .modal-footer { display: flex; gap: 10px; justify-content: center; } /* Responsive Anpassungen */ @media (max-width: 768px) { .container { flex-direction: column; } .image-section { min-height: 300px; } .header { flex-direction: column; gap: 15px; } .header-buttons { width: 100%; flex-direction: column; } .header-btn { width: 100%; text-align: center; } }