* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #2563EB;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Header Styles */
.header {
    background: #1a1a2e;
    color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: relative;
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.nav .logo h2 {font-size: 1.3rem;}

.nav .logo img {

    border-radius: 7px;
    padding: 5px;
}

.nav .logo h2 {
    margin: 0;
    color: white;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: white;
    transition: opacity 0.3s;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 0.8;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    transition: 0.3s;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    margin: 2rem 0;
}

.login-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.logo h1 {
  display: flex;
    color: #2563EB;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    flex-direction: column;
    align-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}
.logo h1 img{ 
 background-color: #2563EB;   
     border-radius: 7px;
}


.logo p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #2563EB;
}

.btn {
    width: 100%;
    background: #2563EB;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-bottom: 15px;
}

.btn:hover {
    background: #1b47ad;
}

.btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.alert {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: none;
}

.alert.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.login-footer-links {
    text-align: center;
    margin-top: 20px;
}

.login-footer-links p {
    margin-top: 10px;
}

.login-footer-links a {
    color: #2563EB;
    text-decoration: none;
}

.login-footer-links a:hover {
    text-decoration: underline;
}

/* Footer Styles */
.footer {
    background: #1a1a2e;
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: auto;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
    opacity: 0.8;
    transition: opacity 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
}

.modal h3 {
    margin-bottom: 1rem;
    color: #333;
}

.modal p {
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.modal input {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.modal-buttons {
    display: flex;
    gap: 10px;
}

.modal-button {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
}

.modal-button.primary {
    background: #2563EB;
    color: white;
}

.modal-button.secondary {
    background: #6c757d;
    color: white;
}

.modal-button:hover {
    opacity: 0.9;
}

.modal-message {
    margin-top: 1rem;
}

.modal-message .success {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.9rem;
}

.modal-message .error {
    background: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        position: relative;
        padding: 1rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1a1a2e;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 5px 20px rgba(0,0,0,0.3);
        margin-top: 1px;
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
    }
    
    .nav-links a {
        display: block;
        padding: 0.75rem 1rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    /* Footer Links bleiben horizontal auf Mobile */
}