*{
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--white);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 50px;
    width: auto;
    border-radius: 10px;
}

.school-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.theme-selector {
    position: relative;
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
}
.theme-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 15px;
    min-width: 200px;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 1001;
    margin-top: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--light);
}

.theme-dropdown::-webkit-scrollbar {
    width: 6px;
}

.theme-dropdown::-webkit-scrollbar-track {
    background: var(--light);
    border-radius: 3px;
}

.theme-dropdown::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.theme-dropdown.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.theme-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 8px;
}

.theme-option:hover {
    background: var(--light);
}

.theme-option.active {
    background: var(--light);
    border-left: 3px solid var(--primary);
}

.theme-preview {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #e1e5e9;
}

.theme-green .theme-preview {
    background: linear-gradient(135deg, #1e6f5c 0%, #289672 100%);
}

.theme-blue .theme-preview {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5b8a 100%);
}

.theme-purple .theme-preview {
    background: linear-gradient(135deg, #6b46c1 0%, #805ad5 100%);
}

.theme-red .theme-preview {
    background: linear-gradient(135deg, #c53030 0%, #e53e3e 100%);
}

.theme-teal .theme-preview {
    background: linear-gradient(135deg, #2c7a7b 0%, #38b2ac 100%);
}
        .theme-navy .theme-preview {
    background: linear-gradient(135deg, #1a365d 0%, #2a4365 100%);
}

.theme-orange .theme-preview {
    background: linear-gradient(135deg, #dd6b20 0%, #ed8936 100%);
}

.theme-pink .theme-preview {
    background: linear-gradient(135deg, #b83280 0%, #d53f8c 100%);
}

.theme-indigo .theme-preview {
    background: linear-gradient(135deg, #434190 0%, #5a67d8 100%);
}

.theme-amber .theme-preview {
    background: linear-gradient(135deg, #d69e2e 0%, #ecc94b 100%);
}

.theme-cyan .theme-preview {
    background: linear-gradient(135deg, #0987a0 0%, #00a3c4 100%);
}

.theme-emerald .theme-preview {
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
}

.theme-violet .theme-preview {
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
}

.theme-rose .theme-preview {
    background: linear-gradient(135deg, #e11d48 0%, #f43f5e 100%);
}

.back-btn {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.back-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Login Section */
.login-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    background: linear-gradient(135deg, var(--light) 0%, #e8f4f1 100%);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.login-container {
    display: flex;
    /* max-width: 1000px; */
    width: 100%;
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.login-form-container {
    flex: 1;
    padding: 50px;
}

.login-image {
    flex: 1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.login-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: float 20s linear infinite;
    z-index: 1;
}

.login-image-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 400px;
}

.login-image h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.login-image p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.features-list {
    list-style: none;
    text-align: left;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    background-color: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.login-header {
    margin-bottom: 40px;
}

.login-header h1 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.login-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.input-group {
    position: relative;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    background-color: #f9fafb;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(30, 111, 92, 0.1);
}

.input-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.password-toggle {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    position: absolute;
    right: 45px;
    top: 50%;
    transform: translateY(-50%);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remember-me input {
    width: 18px;
    height: 18px;
}

.forgot-password {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.forgot-password:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.btn-login {
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border: none;
    padding: 16px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(30, 111, 92, 0.3);
}

.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 111, 92, 0.4);
}

.divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #e1e5e9;
}

.divider span {
    padding: 0 15px;
    color: var(--gray);
    font-size: 0.9rem;
}

.social-login {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    background-color: var(--white);
    color: var(--dark);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.social-btn:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.login-footer {
    text-align: center;
    color: var(--gray);
}

.login-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.login-footer a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 40px 0 20px;
    transition: var(--transition);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-logo h3 {
    font-size: 1.3rem;
}

.footer-about p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    opacity: 0.8;
}

.powered-by {
    opacity: 0.8;
    font-size: 0.9rem;
}

.powered-by a {
    color: var(--secondary);
    text-decoration: none;
}

/* Animations */
@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-50px, -50px) rotate(360deg); }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .login-container {
        flex-direction: column;
        max-width: 600px;
    }
    
    .login-image {
        order: -1;
        padding: 30px;
    }
    
    .login-form-container {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .login-section {
        padding: 40px 0;
    }
    
    .login-form-container {
        padding: 30px;
    }
    
    .login-header h1 {
        font-size: 1.8rem;
    }
    
    .social-login {
        flex-direction: column;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .nav-actions {
        gap: 10px;
    }

    .theme-toggle span {
        display: none;
    }
}

@media (max-width: 576px) {
    .login-form-container {
        padding: 25px;
    }
    
    .login-image {
        padding: 25px;
    }
    
    .login-image h2 {
        font-size: 1.6rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

