body {
    margin: 0;
    overflow: hidden;
    background: #0a192f;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

canvas {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.login-card {
    background: linear-gradient(135deg, rgba(255, 94, 0, 0.9), rgba(52, 152, 219, 0.9));
    border-radius: 24px;
    width: 100%;
    max-width: 850px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    display: flex;
    overflow: hidden;
    max-height: 90vh;
}

.login-left {
    padding: 30px;
    width: 50%;
    color: white;
    overflow-y: auto;
}

.login-right {
    padding: 30px;
    width: 50%;
    background-color: #111827;
    border-radius: 20px;
    margin: 10px 10px 10px 0;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

.animated-shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.1) 0%, rgba(41, 128, 185, 0.05) 70%, transparent 100%);
    animation: float 15s infinite ease-in-out;
    opacity: 0.3;
}

.shape1 {
    width: 150px;
    height: 150px;
    top: -30px;
    right: -30px;
    animation-delay: 0s;
}

.shape2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
    animation-delay: 5s;
}

.shape3 {
    width: 100px;
    height: 100px;
    top: 40%;
    right: 20%;
    animation-delay: 2s;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) translateX(10px) rotate(5deg);
    }
    50% {
        transform: translateY(10px) translateX(-15px) rotate(-5deg);
    }
    75% {
        transform: translateY(-5px) translateX(5px) rotate(2deg);
    }
    100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
}

.logo-small {
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
    border-radius: 50%;
}

.logo-large {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

h2 {
    font-size: 20px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.subtitle {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    display: block;
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px;
    border-radius: 50px;
    border: none;
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    box-sizing: border-box;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.password-container {
    position: relative;
}

#togglePassword {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
}

.btn-login {
    width: 100%;
    padding: 12px;
    border-radius: 50px;
    border: none;
    background: linear-gradient(to right, #3498db, #2980b9);
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 20px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

/* Testimonial section */
.testimonial-section {
    margin-top: 20px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.quote-mark {
    font-size: 50px;
    line-height: 30px;
    color: rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.testimonial {
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.testimonial-author {
    font-weight: 600;
    margin-bottom: 3px;
    font-size: 14px;
}

.testimonial-position {
    font-size: 12px;
    opacity: 0.7;
}

.navigation-dots {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.nav-dot {
    width: 40px;
    height: 35px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nav-prev {
    background-color: rgba(255, 102, 0, 0.3);
    color: #ff7300;
}

.nav-next {
    background-color: rgba(0, 80, 0, 0.3);
    color: #4caf50;
}

/* Star decoration */
.star-decoration {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    opacity: 0.2;
    z-index: 1;
}

/* Toggle for layout type */
.layout-toggle {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Hide testimonial elements by default */
.testimonial-content {
    display: none;
}

/* Show logo elements by default */
.logo-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .login-card {
        flex-direction: column;
        max-width: 400px;
        max-height: none;
        height: auto;
    }
    
    .login-left, .login-right {
        width: 100%;
        padding: 20px;
    }
    
    .login-right {
        margin: 0;
        border-radius: 0;
        order: -1;
    }
    
    .logo-large {
        width: 80px;
        height: 80px;
    }
}

@media (max-height: 700px) {
    .login-card {
        max-height: 95vh;
    }
    
    .login-left, .login-right {
        padding: 15px;
    }
    
    .form-group {
        margin-bottom: 12px;
    }
    
    .form-control {
        padding: 10px;
    }
    
    .btn-login {
        padding: 10px;
    }
}

/* Add transitions for testimonials */
.testimonial, .testimonial-author, .testimonial-position {
    transition: opacity 0.3s ease;
}

 /* Bird animation overlay */
 #vanta-foreground {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20; /* Birds in front of content */
    pointer-events: none; /* Allow clicks to pass through to elements below */
}