﻿:root {
    --primary-color: #4a8c2d; /* Soft Godrej green */
    --secondary-color: #7cb342; /* Lighter green */
    --accent-color: #f9a825; /* Warm gold */
    --light-bg: #f8fbf5; /* Very light green background */
    --text-dark: #333333;
    --text-medium: #555555;
    --border-color: #d0d9c6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: url('https://images.unsplash.com/photo-1531492746076-161ca8b1f8da?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    background-color: rgba(248, 251, 245, 0.9);
    overflow: hidden;
}

.login-container {
    width: 90%;
    max-width: 400px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.login-header {
    background: white;
    padding: 2rem 2rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    height: 60px;
    margin-bottom: 1rem;
    object-fit: contain;
}

.login-header h1 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.login-header p {
    font-size: 0.9rem;
    color: var(--text-medium);
}

.login-form {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
    position: relative;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        color: var(--text-dark);
        font-weight: 500;
        font-size: 0.95rem;
    }

.input-field {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 3rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background-color: #fcfdfb;
    color: var(--text-dark);
}

    .input-field:focus {
        border-color: var(--secondary-color);
        box-shadow: 0 0 0 2px rgba(122, 179, 66, 0.2);
        outline: none;
        background-color: white;
    }

.input-icon {
    position: absolute;
    left: 1rem;
    top: 2.4rem;
    color: var(--secondary-color);
    font-size: 1rem;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 2.4rem;
    color: var(--text-medium);
    cursor: pointer;
    font-size: 1rem;
    z-index: 2;
}

    .password-toggle:hover {
        color: var(--primary-color);
    }

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
}

    .remember-me input {
        margin-right: 0.5rem;
        accent-color: var(--primary-color);
    }

.forgot-password a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

    .forgot-password a:hover {
        text-decoration: underline;
    }

.login-btn {
    width: 100%;
    padding: 0.9rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

    .login-btn:hover {
        background: var(--secondary-color);
    }

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

.floating-icon {
    position: absolute;
    color: rgba(122, 179, 66, 0.3);
    font-size: 2rem;
    animation: float 4s ease-in-out infinite;
    z-index: -1;
}

.icon-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.icon-2 {
    top: 25%;
    right: 10%;
    animation-delay: 1s;
}

.icon-3 {
    bottom: 20%;
    left: 15%;
    animation-delay: 2s;
    font-size: 1.5rem;
}

.icon-4 {
    bottom: 30%;
    right: 15%;
    animation-delay: 1.5s;
    font-size: 1.8rem;
}

@media (max-width: 480px) {
    .login-container {
        width: 95%;
    }

    .login-header {
        padding: 1.5rem;
    }

    .login-form {
        padding: 1.5rem;
    }

    .floating-icon {
        display: none;
    }
}
