/* BJEX Register Page - Unique Glowing Design */

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #4b2c69, #202040);
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.logo-center {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.logo-center img {
    height: 80px;
    filter: drop-shadow(0 0 12px rgba(200, 150, 255, 0.6));
    animation: fadeInLogo 1.2s ease;
}

.container {
    max-width: 450px;
    margin: auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    animation: fadeIn 1s ease;
}

h2 {
    text-align: center;
    font-size: 26px;
    color: #dcd6f7;
    margin-bottom: 30px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #e0e0e0;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 16px;
    transition: box-shadow 0.3s ease;
}

input:focus {
    box-shadow: 0 0 10px #aa80ff;
    background: rgba(255, 255, 255, 0.2);
}

button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(90deg, #c471ed, #f64f59);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.alert {
    background-color: rgba(255, 0, 0, 0.15);
    color: #ff8080;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
}

.success {
    background-color: rgba(0, 255, 150, 0.2);
    color: #7affb2;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
}

.login-link {
    text-align: center;
    margin-top: 20px;
}

.login-link a {
    color: #c5a3ff;
    text-decoration: none;
    font-weight: bold;
}

footer {
    text-align: center;
    font-size: 14px;
    color: #aaa;
    margin-top: auto;
    padding: 20px;
    background: rgba(0,0,0,0.2);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLogo {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
