/* --- LOGIN PAGE STYLE --- */
:root {
    --accent: #00f2ff;
    --purple: #7000ff;
    --bg: #050505;
}

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

.login-page {
    background: var(--bg);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    color: white;
}

.login-bg-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.3) 0%, rgba(5, 5, 5, 0) 70%);
    transform: translate(-50%, -50%);
    animation: pulseGlow 10s infinite ease-in-out;
}

@keyframes pulseGlow {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
}

.login-container {
    position: relative;
    z-index: 1;
}

.login-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    padding: 50px;
    border-radius: 24px;
    width: 400px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}

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

.login-header .logo {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 10px;
}
.login-header .logo span {
    color: var(--accent);
}

.login-header h1 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.login-header p {
    color: #888;
    font-size: 0.9rem;
}

.error-msg {
    color: #ff4d4d;
    font-size: 0.85rem;
    margin-bottom: 15px;
    text-align: center;
    min-height: 20px;
}

.input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
}

.input-wrapper input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 15px 15px 45px; /* Left padding for icon */
    color: white;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.3s, background-color 0.3s;
}

.input-wrapper input::placeholder {
    color: #888;
}

.input-wrapper input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
}

.btn-login {
    background: var(--accent);
    color: #000;
    padding: 15px;
    width: 100%;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.2);
}

.btn-login i {
    transition: transform 0.3s ease;
}

.btn-login:hover i {
    transform: translateX(5px);
}

.auth-options {
    text-align: center;
    margin: 30px 0;
}

.auth-options p {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
    position: relative;
}

/* Divider line for 'Or continue with' */
.auth-options p::before, .auth-options p::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.auth-options p::before {
    left: 0;
}

.auth-options p::after {
    right: 0;
}

.btn-social {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 10px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-social:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.btn-social i {
    font-size: 1.2rem;
    color: #fff;
}

.toggle-form {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #888;
    text-align: center;
}

.toggle-form a {
    color: var(--accent);
    text-decoration: none;
    font-weight: bold;
}
