/* === REGISTER STYLING === */
:root {
    --bg-dark: #1a1d21;
    --card-bg: #2b3036;
    --accent-red: #e60028;
    --accent-teal: #00adb5;
    --text-main: #fff;
    --text-muted: #aaa;
}

html, body {
    margin: 0; padding: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Background Animation */
.bg-blob {
    position: fixed; width: 800px; height: 800px; border-radius: 50%;
    filter: blur(120px); opacity: 0.15; z-index: -1;
    animation: float 25s infinite alternate ease-in-out;
}
.blob-1 { top: -300px; left: -200px; background: var(--accent-red); }
.blob-2 { bottom: -300px; right: -200px; background: var(--accent-teal); animation-delay: -10s; opacity: 0.1; }
@keyframes float { from { transform: translate(0,0); } to { transform: translate(40px, 40px); } }

/* Layout */
.register-wrapper {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 100px 20px 40px 20px; /* Top padding für Header */
}

.register-card {
    background: var(--card-bg);
    width: 100%; max-width: 480px;
    padding: 40px; border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
}

/* Header */
.register-header { text-align: center; margin-bottom: 30px; }
.register-header h1 { font-size: 1.8rem; margin: 0 0 10px 0; color: #fff; }
.register-header p { color: var(--text-muted); margin: 0; font-size: 0.95rem; }

/* Form Elements */
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

.input-group { margin-bottom: 20px; }
.input-group label {
    display: block; font-size: 0.8rem; font-weight: 700;
    color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase;
}

.input-wrapper {
    position: relative;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex; align-items: center;
    transition: all 0.3s;
}
.input-wrapper:focus-within {
    border-color: var(--accent-red);
    box-shadow: 0 0 10px rgba(230,0,40,0.2);
}

.input-wrapper i { padding: 0 15px; color: #666; font-size: 1rem; }
.input-wrapper input {
    width: 100%; padding: 12px 15px 12px 0;
    background: transparent; border: none; outline: none;
    color: #fff; font-size: 1rem;
}

/* Button */
.btn-register {
    width: 100%; padding: 14px;
    background: linear-gradient(135deg, #e60028 0%, #b80020 100%);
    color: #fff; border: none; border-radius: 10px;
    font-size: 1rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    cursor: pointer; transition: all 0.2s;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    box-shadow: 0 5px 15px rgba(230,0,40,0.3);
}
.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(230,0,40,0.5);
}

/* Alerts */
.alert {
    padding: 12px; border-radius: 8px; margin-bottom: 20px;
    font-size: 0.9rem; font-weight: 600; text-align: center;
}
.alert-loading { background: rgba(255,255,255,0.1); color: #fff; }
.alert-success { background: rgba(40,167,69,0.2); border: 1px solid #28a745; color: #85e09b; }
.alert-error { background: rgba(230,0,40,0.2); border: 1px solid #e60028; color: #ffadb8; }

/* Footer Link */
.register-footer {
    text-align: center; margin-top: 25px;
    color: var(--text-muted); font-size: 0.9rem;
}
.register-footer a {
    color: var(--accent-red); text-decoration: none; font-weight: 600;
}
.register-footer a:hover { text-decoration: underline; color: #fff; }

/* Animation */
.fade-in-up { animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; opacity: 0; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Mobile */
@media (max-width: 500px) {
    .input-row { grid-template-columns: 1fr; gap: 0; }
    .register-card { padding: 30px 20px; }
}