@import url(https://fonts.googleapis.com/css?family=Poppins:400,500,600);
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

/* Cosmic Nebula Animation & Variables */
:root {
    --primary-color: #00f2ff; /* Cyan */
    --secondary-color: #bc13fe; /* Deep Purple */
    --bg-deep: #05070a;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-glow: 0 0 10px rgba(0, 242, 255, 0.5);
    --input-bg: rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Outfit', 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: var(--bg-deep);
    color: #fff;
    height: 100vh;
}

/* Background Effects */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(188, 19, 254, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 242, 255, 0.3) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(20, 0, 40, 1) 0%, rgba(5, 7, 10, 1) 100%);
    z-index: -2;
}

/* Stars Animation */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 3px),
        radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 2px),
        radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 3px);
    background-size: 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
    z-index: -1;
    animation: starsMove 150s linear infinite;
}

@keyframes starsMove {
    from { background-position: 0 0, 40px 60px, 130px 270px; }
    to { background-position: 550px 550px, 390px 410px, 680px 820px; }
}

/* General Layout / Reset */
#welcomeheader .mdbtn, .login, .user-image, .w100, .wo_r_features { overflow: hidden; }
* { box-sizing: border-box; outline: 0 !important; }
.w100 { width: 100%; }
.ad-placement-header-footer { display: none; }
#re-send { margin-bottom: 0; margin-top: 20px; }
.welcome-container { width: 100%; height: 100%; }
.help-block-welcome { color: rgba(255,255,255,0.6); margin-bottom: 5px; font-size: 12px; }

/* Header (if visible) */
#welcomeheader { width: 100%; position: fixed; z-index: 99; top: 0; background: rgba(0,0,0,0.2); backdrop-filter: blur(5px); border-bottom: 1px solid var(--glass-border); }

/* Wrapper & Login Container */
.wrapper {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
}

.login {
    width: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Left Side - Text & Logo */
.login_left_combo_parent {
    width: 50%;
    position: relative;
    padding: 0 50px;
}

.login_left_combo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #fff;
}

.login_left_combo .logo img {
    max-width: 200px;
    filter: drop-shadow(0 0 10px rgba(0, 242, 255, 0.4));
}

.login_left_combo h1 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 56px;
    line-height: 1.1;
    margin: 40px 0 20px;
    background: linear-gradient(135deg, #fff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.login_left_combo p {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
    font-weight: 300;
}

/* Right Side - Form Card */
.col-md-6 {
    padding: 0;
    display: flex;
    justify-content: center;
}

.login form {
    width: 100%;
    max-width: 480px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 20px rgba(255,255,255,0.05);
    margin: auto;
    position: relative;
    overflow: hidden;
}

/* Form Decorations (Glows) */
.login form::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(188,19,254,0.1) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.login .title {
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 32px;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.login .desc {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
}
.login .desc a { color: var(--primary-color); font-weight: 600; text-decoration: none; transition: 0.3s; }
.login .desc a:hover { text-shadow: var(--text-glow); }

/* Inputs */
.wow_form_fields { margin: 20px 0; }
.wow_form_fields label { color: rgba(255,255,255,0.8); margin-bottom: 8px; font-size: 14px; }
.wow_form_fields input, .wow_form_fields select, .wow_form_fields textarea {
    background: var(--input-bg);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 12px;
    height: 50px;
    padding: 0 20px;
    transition: all 0.3s ease;
}
.wow_form_fields input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
    background: rgba(0,0,0,0.5);
}
.wow_form_fields input::placeholder { color: rgba(255,255,255,0.4); }

/* Buttons */
.btn-main {
    background: linear-gradient(135deg, var(--secondary-color), #7a00ff);
    color: #fff;
    border: none;
    height: 50px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    width: 100%;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(188, 19, 254, 0.4);
}
.btn-main:disabled { opacity: 0.7; cursor: not-allowed; }

/* Social Buttons */
.social_btns .btn {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    transition: 0.3s;
    border: 1px solid transparent;
}
.social_btns .btn:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.3);
    transform: scale(1.1);
}
.social_btns svg { width: 22px; height: 22px; fill: white; }

/* Night/Day Toggle - Hide or Style */
.night_day_switch {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    color: white;
}
.night_day_switch .sun, .night_day_switch .moon { color: white; }

/* Forgot Password & Terms */
.forgot_password a { color: rgba(255,255,255,0.6); font-size: 13px; transition: 0.3s; }
.forgot_password a:hover { color: white; }
.terms label { color: rgba(255,255,255,0.7); font-size: 13px; }
.terms input[type=checkbox]:checked + label::before { background-color: var(--primary-color); border-color: var(--primary-color); }

/* Footer */
.footer {
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 12px;
    margin-top: 30px;
}
.footer a { color: rgba(255,255,255,0.6); text-decoration: none; }

/* Responsive */
@media (max-width: 930px) {
    .login { flex-direction: column; padding-top: 50px; }
    .login_left_combo_parent { width: 100%; text-align: center; margin-bottom: 40px; }
    .login_left_combo { align-items: center; }
    .login_left_combo h1 { font-size: 36px; }
    .col-md-6 { width: 100%; }
}

/* Helpers */
.hidden { display: none; }
.clear { clear: both; }

/* Error/Success Messages */
.alert { border-radius: 10px; font-size: 14px; margin-bottom: 20px; }
.alert-danger { background: rgba(255, 69, 58, 0.2); border: 1px solid rgba(255, 69, 58, 0.5); color: #ff6b6b; }
.alert-success { background: rgba(50, 215, 75, 0.2); border: 1px solid rgba(50, 215, 75, 0.5); color: #32d74b; }