* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(45deg, #0f2027, #203a43, #2c5364);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Moving glowing orbs for background effect */
body::before, body::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
}

body::before {
    background: rgba(0, 210, 255, 0.4);
    top: 10%;
    left: 20%;
    animation: float1 8s infinite alternate;
}

body::after {
    background: rgba(58, 123, 213, 0.4);
    bottom: 10%;
    right: 20%;
    animation: float2 12s infinite alternate;
}

@keyframes float1 {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-50px) translateX(50px); }
}

@keyframes float2 {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(50px) translateX(-50px); }
}

.glass-container {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
    z-index: 1;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    max-width: 900px;
    width: 100%;
    min-height: 550px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
}

.glass-left {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
}

.glass-right {
    flex: 1;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-info {
    animation: slideInLeft 1s ease-out forwards;
}

.glass-logo {
    max-width: 120px;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}

.brand-info h2 {
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.brand-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 30px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    margin: 0 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #00d2ff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 210, 255, 0.4);
}

.login-wrapper {
    animation: slideInRight 1s ease-out forwards;
}

.welcome-text {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 5px;
}

.subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 35px;
}

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

.input-group-glass i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
}

.input-group-glass input {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 15px 20px 15px 50px;
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
}

.input-group-glass input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(0, 210, 255, 0.5);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

.input-group-glass input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.has-error input {
    border-color: #ff4757;
}

.error-text {
    color: #ff4757;
    font-size: 12px;
    display: block;
    margin-top: -15px;
    margin-bottom: 15px;
    margin-left: 20px;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 13px;
}

.glass-checkbox {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
}

.glass-checkbox input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s;
}

.glass-checkbox input:checked ~ .checkmark {
    background: #00d2ff;
    border-color: #00d2ff;
}

.glass-checkbox input:checked ~ .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.forgot-link {
    color: #00d2ff;
    text-decoration: none;
    transition: 0.3s;
}

.forgot-link:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(0, 210, 255, 0.6);
}

.glass-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(90deg, #3a7bd5, #00d2ff);
    border: none;
    border-radius: 50px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 210, 255, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.glass-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 210, 255, 0.5);
}

.glass-footer {
    text-align: center;
    margin-top: 40px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 768px) {
    .glass-card {
        flex-direction: column;
    }
    
    .glass-left {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 30px 20px;
    }
    
    .glass-right {
        padding: 30px 20px;
    }
}

.demo-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: #fff;
    padding: 5px 10px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.demo-btn:hover {
    background: #00d2ff;
    color: #fff;
    border-color: #00d2ff;
}
