﻿/* Grunddesign */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1e1e2f 0%, #2d2d44 100%);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Container mit Einblend-Animation */
.login-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    width: 350px;
    text-align: center;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

h2 { color: #333; margin-bottom: 10px; }
p { color: #777; font-size: 0.9em; margin-bottom: 30px; }

/* Eingabefeld Styling */
.input-group {
    position: relative;
    margin-bottom: 30px;
}

input {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    border: none;
    border-bottom: 2px solid #ddd;
    outline: none;
    background: none;
    transition: 0.3s;
    text-align: center;
    letter-spacing: 2px;
}

/* Animierte Linie unter dem Input */
.bar {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #6c63ff;
    transition: 0.4s ease;
}

input:focus ~ .bar {
    width: 100%;
    left: 0;
}

/* Button Styling */
.submit-btn {
    background: #6c63ff;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: transform 0.2s, background 0.3s;
}

.submit-btn:hover {
    background: #5a52e0;
    transform: scale(1.02);
}

.footer-links {
    margin-top: 20px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.8em;
}

.footer-links a:hover { color: #6c63ff; }