/* Login Form CSS with Animated Background */
:root {
    --blue: #2ba8e0;
    --blue-dark: #1a7fb8;
    --orange: #ed6724;
    --orange-dark: #d44e15;
    --gold: #fbd402;
    --purple: #8b5cf6;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

* { margin:0; padding:0; box-sizing:border-box; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
    position:relative;
    overflow:hidden;
}

/* Animated Background */
.bg-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.bg-gradient {
    position: absolute;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(224, 197, 43, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(237, 103, 36, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(92, 146, 246, 0.15) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-5%, 5%) rotate(120deg); }
    66% { transform: translate(5%, -5%) rotate(240deg); }
}

/* Floating Particles */
.particles { position:absolute; width:100%; height:100%; overflow:hidden; z-index:2; }
.particle {
    position:absolute;
    background: linear-gradient(135deg, rgba(224, 191, 43, 0.3), rgba(237, 110, 36, 0.3));
    border-radius:50%;
    filter: blur(2px);
    animation: float 20s infinite ease-in-out;
}
.particle:nth-child(1){width:100px;height:100px;left:10%;top:20%;animation-delay:0s;}
.particle:nth-child(2){width:80px;height:80px;right:15%;top:40%;animation-delay:3s;}
.particle:nth-child(3){width:120px;height:120px;left:50%;bottom:20%;animation-delay:6s;}
.particle:nth-child(4){width:60px;height:60px;right:10%;bottom:30%;animation-delay:9s;}
.particle:nth-child(5){width:90px;height:90px;left:30%;top:60%;animation-delay:12s;}
.particle:nth-child(6){width:70px;height:70px;right:40%;top:10%;animation-delay:15s;}

@keyframes float {
    0%,100%{transform: translate(0, 0) scale(1); opacity:0.2;}
    25%{transform: translate(50px, -50px) scale(1.1); opacity:0.4;}
    50%{transform: translate(-30px, -100px) scale(0.9); opacity:0.3;}
    75%{transform: translate(30px, -50px) scale(1.05); opacity:0.35;}
}

/* Grid Lines */
.grid-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(43, 168, 224, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(43, 168, 224, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Login Container */
.login-container {
    position:relative;
    z-index:10;
    width:100%;
    max-width:1000px;
    display: flex;
    gap: 0;
    animation: slideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.login-left {
    flex: 1;
    background: white;
    border-radius: 24px 0 0 24px;
    padding: 45px 40px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
}

.login-right {
    flex: 1;
    background: linear-gradient(135deg, var(--purple), var(--blue-dark));
    border-radius: 0 24px 24px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.login-right::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotateBg 20s linear infinite;
}

@keyframes rotateBg {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.brand-showcase {
    text-align: center;
    position: relative;
    z-index: 2;
}

.brand-logo-large {
    width: 200px;
    height: 200px;
    background: white;
    border-radius: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 35px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    /* animation: float 3s ease-in-out infinite; */
    position: relative;
}

.brand-logo-large::after {
    content: '';
    position: absolute;
    inset: -5px;
    /* background: linear-gradient(135deg, var(--blue), var(--orange), var(--purple)); */
    border-radius: 40px;
    z-index: -1;
    opacity: 0.4;
    filter: blur(15px);
    animation: glowPulse 2s ease-in-out infinite;
}

.brand-logo-large i {
    font-size: 70px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.brand-logo-large img {
    width: 180px;
    height: 180px;
    object-fit: contain;
}

.brand-name {
    font-size: 48px;
    font-weight: 800;
    color: white;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.brand-tagline {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

@keyframes slideIn {
    from {opacity:0; transform:translateY(-40px) scale(0.95);}
    to {opacity:1; transform:translateY(0) scale(1);}
}

.login-card {
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    border: none;
    position: relative;
    overflow: visible;
}

.login-card::before {
    display: none;
}

/* Logo */
.logo-section{text-align:center;margin-bottom:35px; position: relative; z-index: 1;}
.logo-icon{
    width:80px;height:80px;
    background: linear-gradient(135deg, var(--gold), var(--orange));
    border-radius:20px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-bottom:20px;
    box-shadow:0 10px 30px rgba(43,168,224,0.5);
    animation:logoFloat 3s ease-in-out infinite;
    position: relative;
}

.logo-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    /* background: linear-gradient(135deg, var(--blue), var(--orange), var(--purple)); */
    border-radius: 22px;
    z-index: -1;
    opacity: 0.5;
    filter: blur(10px);
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes logoFloat{
    0%, 100%{transform: translateY(0) rotate(0deg);}
    50%{transform: translateY(-10px) rotate(2deg);}
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.logo-icon i{font-size:36px;color:white; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));}
.login-title{
    font-size:32px;
    font-weight:700;
    color: #333;
    margin-bottom:10px;
    letter-spacing: -0.5px;
}
.login-subtitle{
    color:#666;
    font-size:15px;
    margin-bottom:0;
    font-weight: 400;
}

/* Form Styles */
.form-group{margin-bottom:24px;position:relative; z-index: 1;}
.form-label{
    font-weight:600;
    color:#333;
    font-size:14px;
    margin-bottom:10px;
    display:block;
    letter-spacing: 0.3px;
}
.input-group-modern{position:relative;}
.input-icon{
    position:absolute; 
    left:18px; 
    top:50%;
    transform:translateY(-50%);
    color: var(--blue); 
    font-size:17px; 
    z-index:5;
    transition: all 0.3s ease;
}
.form-control-modern{
    width:100%; 
    padding:16px 18px 16px 50px;
    border:2px solid #e0e0e0; 
    border-radius:14px;
    font-size:15px; 
    transition:all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background:#f8f9fa;
    color: #333;
    font-weight: 500;
}
.form-control-modern::placeholder {
    color: #999;
}
.form-control-modern:focus{
    outline:none;
    border-color: var(--blue);
    background:white;
    box-shadow:0 0 0 4px rgba(43,168,224,0.15), 0 10px 30px rgba(43,168,224,0.2);
    transform: translateY(-2px);
}
.form-control-modern:focus + .input-icon {
    color: var(--blue);
    transform: translateY(-50%) scale(1.1);
}

.password-toggle{
    position:absolute; 
    right:18px; 
    top:50%;
    transform:translateY(-50%); 
    cursor:pointer;
    color:#999; 
    z-index:5; 
    transition: all 0.3s ease;
    font-size: 16px;
}
.password-toggle:hover{
    color: var(--blue);
    transform: translateY(-50%) scale(1.1);
}

/* Remember/Forgot */
.remember-forgot{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:28px;
}
.form-check-modern{display:flex;align-items:center;}
.form-check-modern input[type="checkbox"]{
    width:20px;
    height:20px;
    margin-right:10px;
    cursor:pointer;
    accent-color: var(--blue);
    border-radius: 6px;
}
.form-check-modern label{
    font-size:14px;
    color:#666;
    cursor:pointer;
    margin:0;
    font-weight: 500;
}
.forgot-link{
    font-size:14px;
    color: var(--blue);
    text-decoration:none;
    font-weight:600;
    transition:all 0.3s ease;
    position: relative;
}
.forgot-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.3s ease;
}
.forgot-link:hover{
    color: var(--orange);
    transform: translateX(3px);
}
.forgot-link:hover::after {
    width: 100%;
}

/* Login Button */
.btn-login{
    width:100%; 
    padding:16px;
    background: linear-gradient(135deg, var(--blue-dark), var(--purple));
    border:none; 
    border-radius:14px;
    color:white; 
    font-size:16px; 
    font-weight:700; 
    cursor:pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow:0 10px 30px rgba(43,168,224,0.4);
    position:relative; 
    overflow:hidden;
    letter-spacing: 0.5px;
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-login:hover::before {
    left: 100%;
}

.btn-login:hover{
    transform:translateY(-3px);
    box-shadow:0 15px 40px rgba(43,168,224,0.5);
}
.btn-login:active{
    transform:translateY(-1px);
}
.btn-login:disabled{
    opacity:0.7; 
    cursor:not-allowed;
}
.btn-login .spinner{
    display:none;
    width:22px;
    height:22px;
    border:3px solid rgba(255,255,255,0.3);
    border-top-color:white;
    border-radius:50%;
    animation:spin 0.8s linear infinite;
    margin:0 auto;
}
.btn-login.loading .btn-text{display:none;}
.btn-login.loading .spinner{display:block;}
@keyframes spin{to{transform:rotate(360deg);}}

/* Divider */
.divider{
    text-align:center;
    margin:30px 0;
    position:relative;
}
.divider::before{
    content:'';
    position:absolute;
    left:0;
    top:50%;
    width:100%;
    height:1px;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.3), transparent);
}
.divider span{
    background: white;
    padding:0 20px;
    color:#999;
    font-size:13px; 
    position:relative; 
    z-index:1;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Social Login */
.social-login{display:flex;gap:15px;margin-bottom:28px;}
.btn-social{
    flex:1; 
    padding:14px;
    border:2px solid #e0e0e0;
    border-radius:14px;
    background:white;
    cursor:pointer;
    transition:all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    font-size:14px;
    font-weight:700;
    position: relative;
    overflow: hidden;
}

.btn-social::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(43, 168, 224, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn-social:hover::before {
    width: 200%;
    height: 200%;
}

.btn-social:hover{
    border-color: var(--blue);
    background:#f8f9fa;
    transform:translateY(-3px);
    box-shadow:0 10px 30px rgba(43,168,224,0.2);
}
.btn-social i {
    font-size: 18px;
    position: relative;
    z-index: 1;
}
.btn-social span {
    position: relative;
    z-index: 1;
}
.btn-google{color: #333;}
.btn-google i{color: #ea4335;}
.btn-facebook{color: #333;}
.btn-facebook i{color: #1877f2;}

/* Signup Link */
.signup-link{
    text-align:center;
    margin-top:28px;
    font-size:14px;
    color:#666;
    font-weight: 500;
}
.signup-link a{
    color: var(--blue); 
    text-decoration:none;
    font-weight:700; 
    transition:all 0.3s ease;
    position: relative;
}
.signup-link a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.3s ease;
}
.signup-link a:hover{
    color: var(--orange);
}
.signup-link a:hover::after {
    width: 100%;
}

/* Alerts */
.alert-modern{
    padding:14px 18px;
    border-radius:12px;
    margin-bottom:24px;
    font-size:14px;
    display:flex;
    align-items:center;
    gap:12px;
    animation: slideDown 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
    font-weight: 500;
}
.alert-danger{
    background:rgba(239, 68, 68, 0.15);
    color:#fca5a5;
    border:1px solid rgba(239, 68, 68, 0.3);
}
.alert-success{
    background:rgba(34, 197, 94, 0.15);
    color:#86efac;
    border:1px solid rgba(34, 197, 94, 0.3);
}
@keyframes slideDown{
    from{opacity:0; transform:translateY(-20px) scale(0.95);}
    to{opacity:1; transform:translateY(0) scale(1);}
}

@media (max-width:480px){
    .login-container {
        flex-direction: column;
    }
    .login-left {
        border-radius: 24px 24px 0 0;
    }
    .login-right {
        border-radius: 0 0 24px 24px;
        min-height: 300px;
    }
    .login-card{padding:35px 28px;}
    .login-title{font-size:28px;}
    .social-login{flex-direction:column;}
    .logo-icon{width:70px; height:70px;}
    .logo-icon i{font-size:32px;}
    .brand-name { font-size: 36px; }
    .brand-logo-large { width: 100px; height: 100px; }
    .brand-logo-large i { font-size: 50px; }
}

@media (max-width:768px){
    .login-container {
        flex-direction: column;
        max-width: 450px;
    }
    .login-left {
        border-radius: 24px 24px 0 0;
    }
    .login-right {
        border-radius: 0 0 24px 24px;
        min-height: 350px;
    }
}
/* End of Login Form CSS */
/* Signup Form CSS can go here if needed */
 /* Animated Background */
 .bg-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.bg-gradient {
    position: absolute;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(224, 197, 43, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(237, 103, 36, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(92, 146, 246, 0.15) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-5%, 5%) rotate(120deg); }
    66% { transform: translate(5%, -5%) rotate(240deg); }
}

/* Floating Particles */
.particles { position:absolute; width:100%; height:100%; overflow:hidden; z-index:2; }
.particle {
    position:absolute;
    background: linear-gradient(135deg, rgba(224, 191, 43, 0.3), rgba(237, 110, 36, 0.3));
    border-radius:50%;
    filter: blur(2px);
    animation: float 20s infinite ease-in-out;
}
.particle:nth-child(1){width:100px;height:100px;left:10%;top:20%;animation-delay:0s;}
.particle:nth-child(2){width:80px;height:80px;right:15%;top:40%;animation-delay:3s;}
.particle:nth-child(3){width:120px;height:120px;left:50%;bottom:20%;animation-delay:6s;}
.particle:nth-child(4){width:60px;height:60px;right:10%;bottom:30%;animation-delay:9s;}
.particle:nth-child(5){width:90px;height:90px;left:30%;top:60%;animation-delay:12s;}
.particle:nth-child(6){width:70px;height:70px;right:40%;top:10%;animation-delay:15s;}

@keyframes float {
    0%,100%{transform: translate(0, 0) scale(1); opacity:0.2;}
    25%{transform: translate(50px, -50px) scale(1.1); opacity:0.4;}
    50%{transform: translate(-30px, -100px) scale(0.9); opacity:0.3;}
    75%{transform: translate(30px, -50px) scale(1.05); opacity:0.35;}
}

/* Grid Lines */
.grid-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(43, 168, 224, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(43, 168, 224, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Signup Container */
.signup-container {
    position:relative;
    z-index:10;
    width:100%;
    max-width:1100px;
    display: flex;
    gap: 0;
    animation: slideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.signup-left {
    flex: 1;
    background: linear-gradient(135deg, var(--gold), var(--orange));
    border-radius: 24px 0 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.signup-left::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotateBg 20s linear infinite;
}

@keyframes rotateBg {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.signup-right {
flex: 1.2;
background: white;
border-radius: 0 24px 24px 0;
padding: 45px 40px;
box-shadow: 10px 0 40px rgba(0,0,0,0.1);
max-height: 95vh;
overflow-y: auto;
position: relative; /* ensure proper clipping */
}

/* Custom Scrollbar */
.signup-right::-webkit-scrollbar {
width: 10px; /* slightly wider for visibility */
}

.signup-right::-webkit-scrollbar-track {
background: transparent; /* makes it subtle */
margin: 20px 0;          /* space at top/bottom for rounded effect */
border-radius: 10px;
}

.signup-right::-webkit-scrollbar-thumb {
background: #ccc;
/* margin-left:-20px; */
border-radius: 10px;       /* matches container rounding */
border: 2px solid white;   /* gives nice padding effect */
}

.signup-right::-webkit-scrollbar-thumb:hover {
background: #999;
}


.brand-showcase {
    text-align: center;
    position: relative;
    z-index: 2;
}

.brand-logo-large {
    width: 200px;
    height: 200px;
    background: white;
    border-radius: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 35px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    /* animation: float 3s ease-in-out infinite; */
    position: relative;
}

.brand-logo-large::after {
    content: '';
    position: absolute;
    inset: -5px;
    /* background: linear-gradient(135deg, var(--blue), var(--orange), var(--purple)); */
    border-radius: 40px;
    z-index: -1;
    opacity: 0.4;
    filter: blur(15px);
    animation: glowPulse 2s ease-in-out infinite;
}

.brand-logo-large i {
    font-size: 70px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.brand-logo-large img {
    width: 180px;
    height: 180px;
    object-fit: contain;
}
.brand-name {
    font-size: 48px;
    font-weight: 800;
    color: white;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
    margin-bottom: 10px;
    letter-spacing: -1px;
}
.brand-tagline {
    font-size: 17px;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    margin-bottom: 25px;
}

.features-list {
    text-align: left;
    margin-top: 35px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: white;
    font-size: 15px;
    animation: fadeInLeft 0.8s ease forwards;
    opacity: 0;
}

.feature-item:nth-child(1) { animation-delay: 0.2s; }
.feature-item:nth-child(2) { animation-delay: 0.4s; }
.feature-item:nth-child(3) { animation-delay: 0.6s; }
.feature-item:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.feature-icon {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

@keyframes slideIn {
    from {opacity:0; transform:translateY(-40px) scale(0.95);}
    to {opacity:1; transform:translateY(0) scale(1);}
}

.signup-card {
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    border: none;
    position: relative;
    overflow: visible;
}

/* Logo */
.logo-section{text-align:center;margin-bottom:30px; position: relative; z-index: 1;}
.logo-icon{
    width:75px;height:75px;
    background: linear-gradient(135deg, var(--gold), var(--orange));
    border-radius:18px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-bottom:18px;
    box-shadow:0 10px 30px rgba(43,168,224,0.5);
    animation:logoFloat 3s ease-in-out infinite;
    position: relative;
}

.logo-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 22px;
    z-index: -1;
    opacity: 0.5;
    filter: blur(10px);
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes logoFloat{
    0%, 100%{transform: translateY(0) rotate(0deg);}
    50%{transform: translateY(-10px) rotate(2deg);}
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.logo-icon i{font-size:34px;color:white; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));}
.signup-title{
    font-size:30px;
    font-weight:700;
    color: #333;
    margin-bottom:8px;
    letter-spacing: -0.5px;
}
.signup-subtitle{
    color:#666;
    font-size:14px;
    margin-bottom:0;
    font-weight: 400;
}

/* Form Styles */
.form-group{margin-bottom:20px;position:relative; z-index: 1;}
.form-label{
    font-weight:600;
    color:#333;
    font-size:13px;
    margin-bottom:8px;
    display:block;
    letter-spacing: 0.3px;
}
.input-group-modern{position:relative;}
.input-icon{
    position:absolute; 
    left:16px; 
    top:50%;
    transform:translateY(-50%);
    color: var(--blue); 
    font-size:16px; 
    z-index:5;
    transition: all 0.3s ease;
}
.form-control-modern{
    width:100%; 
    padding:14px 16px 14px 45px;
    border:2px solid #e0e0e0; 
    border-radius:12px;
    font-size:14px; 
    transition:all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background:#f8f9fa;
    color: #333;
    font-weight: 500;
}
.form-control-modern::placeholder {
    color: #999;
}
.form-control-modern:focus{
    outline:none;
    border-color: var(--blue);
    background:white;
    box-shadow:0 0 0 4px rgba(43,168,224,0.15), 0 8px 25px rgba(43,168,224,0.2);
    transform: translateY(-2px);
}
.form-control-modern:focus + .input-icon {
    color: var(--blue);
    transform: translateY(-50%) scale(1.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.password-toggle{
    position:absolute; 
    right:16px; 
    top:50%;
    transform:translateY(-50%); 
    cursor:pointer;
    color:#999; 
    z-index:5; 
    transition: all 0.3s ease;
    font-size: 15px;
}
.password-toggle:hover{
    color: var(--blue);
    transform: translateY(-50%) scale(1.1);
}

.password-strength {
    margin-top: 8px;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    display: none;
}

.password-strength-bar {
    height: 100%;
    width: 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.password-strength.weak .password-strength-bar {
    width: 33%;
    background: #ef4444;
}

.password-strength.medium .password-strength-bar {
    width: 66%;
    background: #f59e0b;
}

.password-strength.strong .password-strength-bar {
    width: 100%;
    background: #22c55e;
}

/* Terms Checkbox */
.terms-check{
    display:flex;
    align-items:flex-start;
    margin-bottom:24px;
    gap: 10px;
}
.terms-check input[type="checkbox"]{
    width:18px;
    height:18px;
    margin-top: 2px;
    cursor:pointer;
    accent-color: var(--blue);
    border-radius: 5px;
    flex-shrink: 0;
}
.terms-check label{
    font-size:13px;
    color:#666;
    cursor:pointer;
    margin:0;
    font-weight: 500;
    line-height: 1.5;
}
.terms-check label a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
}
.terms-check label a:hover {
    color: var(--orange);
}

/* Signup Button */
.btn-signup{
    width:100%; 
    padding:15px;
    background: linear-gradient(135deg, var(--gold), var(--orange));
    border:none; 
    border-radius:12px;
    color:white; 
    font-size:15px; 
    font-weight:700; 
    cursor:pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow:0 10px 30px rgba(43,168,224,0.4);
    position:relative; 
    overflow:hidden;
    letter-spacing: 0.5px;
}

.btn-signup::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-signup:hover::before {
    left: 100%;
}

.btn-signup:hover{
    transform:translateY(-3px);
    box-shadow:0 15px 40px rgba(43,168,224,0.5);
}
.btn-signup:active{
    transform:translateY(-1px);
}
.btn-signup:disabled{
    opacity:0.7; 
    cursor:not-allowed;
}
.btn-signup .spinner{
    display:none;
    width:20px;
    height:20px;
    border:3px solid rgba(255,255,255,0.3);
    border-top-color:white;
    border-radius:50%;
    animation:spin 0.8s linear infinite;
    margin:0 auto;
}
.btn-signup.loading .btn-text{display:none;}
.btn-signup.loading .spinner{display:block;}
@keyframes spin{to{transform:rotate(360deg);}}

/* Divider */
.divider{
    text-align:center;
    margin:25px 0;
    position:relative;
}
.divider::before{
    content:'';
    position:absolute;
    left:0;
    top:50%;
    width:100%;
    height:1px;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.3), transparent);
}
.divider span{
    background: white;
    padding:0 18px;
    color:#999;
    font-size:12px; 
    position:relative; 
    z-index:1;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Social Signup */
.social-signup{display:flex;gap:15px;margin-bottom:24px;}
.btn-social{
    flex:1; 
    padding:13px;
    border:2px solid #e0e0e0;
    border-radius:12px;
    background:white;
    cursor:pointer;
    transition:all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    font-size:13px;
    font-weight:700;
    position: relative;
    overflow: hidden;
}

.btn-social::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(43, 168, 224, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn-social:hover::before {
    width: 200%;
    height: 200%;
}

.btn-social:hover{
    border-color: var(--blue);
    background:#f8f9fa;
    transform:translateY(-3px);
    box-shadow:0 10px 30px rgba(43,168,224,0.2);
}
.btn-social i {
    font-size: 17px;
    position: relative;
    z-index: 1;
}
.btn-social span {
    position: relative;
    z-index: 1;
}
.btn-google{color: #333;}
.btn-google i{color: #ea4335;}
.btn-facebook{color: #333;}
.btn-facebook i{color: #1877f2;}

/* Login Link */
.login-link{
    text-align:center;
    margin-top:24px;
    font-size:13px;
    color:#666;
    font-weight: 500;
}
.login-link a{
    color: var(--blue); 
    text-decoration:none;
    font-weight:700; 
    transition:all 0.3s ease;
    position: relative;
}
.login-link a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.3s ease;
}
.login-link a:hover{
    color: var(--orange);
}
.login-link a:hover::after {
    width: 100%;
}

/* Alerts */
.alert-modern{
    padding:12px 16px;
    border-radius:10px;
    margin-bottom:20px;
    font-size:13px;
    display:flex;
    align-items:center;
    gap:10px;
    animation: slideDown 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
    font-weight: 500;
}
.alert-danger{
    background:rgba(239, 68, 68, 0.15);
    color:#dc2626;
    border:1px solid rgba(239, 68, 68, 0.3);
}
.alert-success{
    background:rgba(34, 197, 94, 0.15);
    color:#16a34a;
    border:1px solid rgba(34, 197, 94, 0.3);
}
@keyframes slideDown{
    from{opacity:0; transform:translateY(-20px) scale(0.95);}
    to{opacity:1; transform:translateY(0) scale(1);}
}

@media (max-width:768px){
    .signup-container {
        flex-direction: column-reverse;
        max-width: 450px;
    }
    .signup-left {
        border-radius: 0 0 24px 24px;
        min-height: 300px;
    }
    .signup-right {
        border-radius: 24px 24px 0 0;
        max-height: none;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .brand-name { font-size: 36px; }
    .brand-logo-large { width: 100px; height: 100px; }
    .brand-logo-large i { font-size: 50px; }
    .features-list { display: none; }
}

@media (max-width:480px){
    .signup-card{padding:30px 25px;}
    .signup-title{font-size:26px;}
    .social-signup{flex-direction:column;}
    .logo-icon{width:65px; height:65px;}
    .logo-icon i{font-size:30px;}
}
/* End of Signup Form CSS */
.btn-social {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.btn-google {
    background-color: #fff;
    color: #000;
    border: 1px solid #ddd;
}

.btn-google:hover {
    background-color: #f7f7f7;
}
