* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0a0a0a;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    padding: 40px 16px;
}

.bg-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.login-container,
.register-container {
    position: relative;
    z-index: 1;
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 50px 40px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(30px);
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo h1 {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 7px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.brand-aura {
    background: linear-gradient(to right, #0052D4, #4fc3f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    display: inline-block;
}
.brand-shield {
    background: linear-gradient(to right, #e0e0e0, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    display: inline-block;
}

.logo p {
    color: #888;
    font-size: 14px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    opacity: 0;
}

.form-group {
    margin-bottom: 24px;
    opacity: 0;
    transform: translateX(-20px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
    opacity: 0;
}

label {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

input[type="email"],
input[type="password"],
input[type="text"],
input[type="tel"] {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 14px;
    opacity: 0;
}

.remember-forgot label {
    display: flex;
    align-items: center;
    color: #aaa;
    cursor: pointer;
}

.remember-forgot input[type="checkbox"] {
    margin-right: 8px;
}

.remember-forgot a {
    text-decoration: none;
    transition: color 0.3s;
}

.btn-login,
.btn-register {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.95);
}

.btn-login:hover,
.btn-register:hover {
    transform: translateY(-2px);
}

.divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
    opacity: 0;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.divider span {
    position: relative;
    background: rgba(20, 20, 20, 0.8);
    padding: 0 15px;
    color: #888;
    font-size: 14px;
}

.register-link,
.login-link {
    text-align: center;
    color: #aaa;
    font-size: 14px;
    opacity: 0;
}

.register-link a,
.login-link a {
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.alert {
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    opacity: 0;
}
