body {
    background-color: #0b0e14;
    color: #e0e0e0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    position: relative;
}

/* Hintergrund-Glow-Effekte */
body::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.15) 0%, transparent 70%);
    top: -150px;
    left: -150px;
    z-index: -1;
}

body::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(88, 166, 255, 0.1) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    z-index: -1;
}

/* Der Haupt-Container (entspricht .login-container) */
.container {
    background: #161b22;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #30363d;
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
    z-index: 1;
    text-align: center;
}

h1 {
    text-align: center;
    color: #58a6ff;
    margin-top: 0;
    font-size: 1.8rem;
}

.main p {
    color: #8b949e;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* Nachrichten (Error/Success) */
.message {
    margin-bottom: 15px;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
    display: none;
}

.error {
    background-color: rgba(248, 81, 73, 0.15);
    border: 1px solid #f85149;
    color: #f85149;
    display: block;
}

.success {
    background-color: rgba(63, 185, 80, 0.15);
    border: 1px solid #3fb950;
    color: #3fb950;
    display: block;
}

/* Formular-Elemente */
.input-group {
    text-align: left;
}

label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 0.85rem;
    color: #58a6ff;
    font-weight: bold;
    text-transform: uppercase;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    box-sizing: border-box;
    background-color: #0d1117;
    border: 1px solid #30363d;
    border-radius: 6px;
    color: #c9d1d9;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #58a6ff;
    box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.3);
}

/* Button Styling */
.btn-register {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #0055aa 0%, #0088ff 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 85, 170, 0.4);
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
}

.btn-register:hover {
    transform: translateY(-3px);
    filter: brightness(1.2);
    box-shadow: 0 0 25px rgba(0, 136, 255, 0.8);
}

.btn-register:active {
    transform: translateY(-1px);
}

/* Link zum Login */
.container p a {
    transition: color 0.2s;
}

.container p a:hover {
    text-decoration: underline !important;
    color: #79c0ff !important;
}