body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #00753C 0%, #c1d843 50%, #F0E68C 100%);
    font-family: 'Arial', sans-serif;
    overflow: hidden;
}

.fade-out {
    animation: page-fadeout 1s ease-in-out forwards;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.beehive {
    width: 200px;
    height: 200px;
    position: relative;
    z-index: 2;
    animation: hive-pulse 3s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-bottom: 60px; /* Add this line */
}

.beehive:hover {
    transform: scale(1.1);
}

.beehive img {
    width: 100%;
    height: auto;
    max-width: 200px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

.bee, .bee2, .bee3, .bee4, .bee5, .bee6, .bee7 {
    position: absolute;
    width: 30px;
    height: 30px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bee img, .bee2 img, .bee3 img, .bee4 img, .bee5 img, .bee6 img, .bee7 img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.bee {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: bee-flight-exit 4s ease-in-out infinite;
}

.bee2 {
    width: 25px;
    height: 25px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: bee-flight-random1 4s ease-in-out infinite;
}

.bee3 {
    width: 28px;
    height: 28px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: bee-flight-random2 4s ease-in-out infinite;
    animation-delay: 0.5s;
}

.bee4 {
    width: 26px;
    height: 26px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: bee-flight-random3 4s ease-in-out infinite;
    animation-delay: 1s;
}

.bee5 {
    width: 29px;
    height: 29px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: bee-flight-random4 4s ease-in-out infinite;
    animation-delay: 0.3s;
}

.bee6 {
    width: 24px;
    height: 24px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: bee-flight-random5 4s ease-in-out infinite;
    animation-delay: 1.5s;
}

.bee7 {
    width: 27px;
    height: 27px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: bee-flight-random6 4s ease-in-out infinite;
    animation-delay: 2s;
}


.loading-text {
    text-align: center;
    color: #2F4F4F;
    z-index: 5;
}
.loading-text h1 {
    font-size: 2.5rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    animation: text-glow 3s ease-in-out infinite alternate;
}

.loading-text p {
    font-size: 1.1rem;
    margin: 10px 0;
    opacity: 0.8;
    animation: text-fade 3s ease-in-out infinite alternate;
}

@keyframes bee-flight-exit {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
        opacity: 1;
    }
    25% {
        transform: translate(100px, -80px) rotate(90deg);
        opacity: 1;
    }
    50% {
        transform: translate(250px, -130px) rotate(180deg);
        opacity: 1;
    }
    75% {
        transform: translate(100px, -200px) rotate(270deg);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
        opacity: 1;
    }
}

@keyframes bee-flight-random1 {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
        opacity: 1;
    }
    20% {
        transform: translate(150px, 0px) rotate(72deg);
        opacity: 1;
    }
    40% {
        transform: translate(50px, -130px) rotate(144deg);
        opacity: 1;
    }
    60% {
        transform: translate(300px, -20px) rotate(216deg);
        opacity: 1;
    }
    80% {
        transform: translate(200px, -110px) rotate(288deg);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
        opacity: 1;
    }
}

@keyframes bee-flight-random2 {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
        opacity: 1;
    }
    25% {
        transform: translate(-200px, -150px) rotate(-90deg);
        opacity: 1;
    }
    50% {
        transform: translate(-350px, -30px) rotate(-180deg);
        opacity: 1;
    }
    75% {
        transform: translate(-150px, -200px) rotate(-270deg);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) rotate(-360deg);
        opacity: 1;
    }
}

@keyframes bee-flight-random3 {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
        opacity: 1;
    }
    30% {
        transform: translate(-230px, 70px) rotate(108deg);
        opacity: 1;
    }
    60% {
        transform: translate(-130px, -120px) rotate(216deg);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
        opacity: 1;
    }
}

@keyframes bee-flight-random4 {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
        opacity: 1;
    }
    15% {
        transform: translate(70px, -250px) rotate(54deg);
        opacity: 1;
    }
    35% {
        transform: translate(250px, -150px) rotate(126deg);
        opacity: 1;
    }
    55% {
        transform: translate(130px, -350px) rotate(198deg);
        opacity: 1;
    }
    75% {
        transform: translate(400px, -200px) rotate(270deg);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
        opacity: 1;
    }
}

@keyframes bee-flight-random5 {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
        opacity: 1;
    }
    25% {
        transform: translate(-150px, 100px) rotate(-120deg);
        opacity: 1;
    }
    50% {
        transform: translate(150px, 30px) rotate(-240deg);
        opacity: 1;
    }
    75% {
        transform: translate(-100px, 200px) rotate(-300deg);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) rotate(-360deg);
        opacity: 1;
    }
}

@keyframes bee-flight-random6 {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
        opacity: 1;
    }
    20% {
        transform: translate(200px, -170px) rotate(144deg);
        opacity: 1;
    }
    40% {
        transform: translate(350px, 0px) rotate(288deg);
        opacity: 1;
    }
    60% {
        transform: translate(100px, -250px) rotate(432deg);
        opacity: 1;
    }
    80% {
        transform: translate(450px, -130px) rotate(576deg);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) rotate(720deg);
        opacity: 1;
    }
}

@keyframes wing-flap {
    0% { transform: rotate(-20deg) scaleY(1); }
    100% { transform: rotate(-30deg) scaleY(0.8); }
}

@keyframes wing-flap-right {
    0% { transform: rotate(20deg) scaleY(1); }
    100% { transform: rotate(30deg) scaleY(0.8); }
}

@keyframes hive-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes text-glow {
    0% { text-shadow: 2px 2px 4px rgba(0,0,0,0.1); }
    100% { text-shadow: 2px 2px 20px rgba(255,215,0,0.3); }
}

@keyframes text-fade {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

@keyframes page-fadeout {
    0% { opacity: 1; }
    90% { opacity: 1; }
    100% { 
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

.clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    animation: float-clouds 8s linear infinite;
}

.cloud1 {
    width: 80px;
    height: 30px;
    top: 20%;
    left: -100px;
}

.cloud2 {
    width: 120px;
    height: 40px;
    top: 15%;
    left: -150px;
    animation-delay: -2s;
}

@keyframes float-clouds {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(calc(100vw + 100px)); }
}

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        } */

        

        @keyframes float {
            0%, 100% { transform: translateY(0px) scale(1); }
            50% { transform: translateY(-20px) scale(1.1); }
        }

        .login-container {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-radius: 24px;
            padding: 48px 40px;
            width: 100%;
            max-width: 420px;
            box-shadow: 0 32px 64px rgba(0, 0, 0, 0.15);
            border: 1px solid rgba(255, 255, 255, 0.2);
            position: relative;
            z-index: 1;
            animation: slideUp 0.8s ease-out;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .logo {
            text-align: center;
            margin-bottom: 32px;
        }

        .logo h1 {
            font-size: 28px;
            font-weight: 700;
            background: #00753C;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 8px;
        }

        .logo p {
            color: #64748b;
            font-size: 14px;
            font-weight: 500;
        }

        .login-form-group {
            margin-bottom: 24px;
            position: relative;
        }

        .login-form-group label {
            display: block;
            font-weight: 600;
            color: #374151;
            margin-bottom: 8px;
            font-size: 14px;
        }

        .input-wrapper {
            position: relative;
        }

        .login-form-group input {
            width: 100%;
            padding: 16px 20px;
            border: 2px solid #e5e7eb;
            border-radius: 12px;
            font-size: 16px;
            transition: all 0.3s ease;
            background: #ffffff;
            color: #374151;
        }

        .login-form-group input:focus {
            outline: none;
            border-color: #00753C;
            box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
            transform: translateY(-2px);
        }

        .login-form-group input::placeholder {
            color: #9ca3af;
        }

        .forgot-password {
            text-align: right;
            margin-bottom: 32px;
        }

        .forgot-password a {
            color: #00753C;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .forgot-password a:hover {
            color: #4f46e5;
        }

        .login-btn {
            width: 100%;
            padding: 16px;
            background: #00753C;
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .login-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 24px rgba(102, 126, 234, 0.4);
        }

        .login-btn:active {
            transform: translateY(0);
        }

        .login-btn::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;
        }

        .login-btn:hover::before {
            left: 100%;
        }

        .divider {
            margin: 32px 0;
            text-align: center;
            position: relative;
        }

        .divider::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 1px;
            background: #e5e7eb;
        }

        .divider span {
            background: rgba(255, 255, 255, 0.95);
            color: #9ca3af;
            padding: 0 16px;
            font-size: 14px;
            font-weight: 500;
        }

        .social-login {
            display: flex;
            gap: 12px;
            margin-bottom: 32px;
        }

        .social-btn {
            flex: 1;
            padding: 12px;
            border: 2px solid #e5e7eb;
            border-radius: 12px;
            background: white;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 500;
            color: #374151;
        }

        .social-btn:hover {
            border-color: #d1d5db;
            transform: translateY(-2px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        }

        .signup-link {
            text-align: center;
            color: #64748b;
            font-size: 14px;
        }

        .signup-link a {
            color: #00753C;
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s ease;
        }

        .signup-link a:hover {
            color: #00b15b;
        }

        /* Responsive */
        @media (max-width: 480px) {
            .login-container {
                margin: 20px;
                padding: 32px 24px;
            }
        }

        /* Loading animation */
        .loading {
            pointer-events: none;
        }

        .loading::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 20px;
            height: 20px;
            margin: -10px 0 0 -10px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-top: 2px solid white;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        /* Simple Django Messages Styling */
.messages {
    margin-bottom: 20px;
}

.alert {
    padding: 12px 16px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Success Messages */
.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

/* Error Messages */
.alert-error,
.alert-danger {
    background-color: #fd98a1;
    border-color: #fd98a1;
    color: #72000b;
}

/* Warning Messages */
.alert-warning {
    background-color: #fff3cd;
    border-color: #ffeaa7;
    color: #856404;
}

/* Info Messages */
.alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

/* Close Button */
.close {
    background: none;
    border: none;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    color: inherit;
    opacity: 0.5;
    padding: 0;
    margin-left: 10px;
}

.close:hover {
    opacity: 1;
}

