@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            /* Replace the complex gradient with a simple image background */
            background-image: url('/assets/images/redfort.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            /* background-attachment: fixed; */
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow-x: hidden;
            padding: 1rem;
        }

        /* Remove the SVG monument background */
        /* body::before block removed */

        /* Keep the texture overlay but make it darker for better readability */
        body::after {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4); /* Dark overlay for better text readability */
            z-index: 1;
        }

        .container {
            width: 100%;
            max-width: 450px;
            position: relative;
            z-index: 10;
        }

        .login-container {
            background: rgba(245, 230, 211, 0.96);
            backdrop-filter: blur(25px);
            padding: 3rem 2.5rem;
            border-radius: 20px;
            box-shadow:
                0 25px 50px rgba(139, 69, 19, 0.25),
                0 15px 35px rgba(160, 82, 45, 0.15),
                0 5px 15px rgba(205, 133, 63, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
            border: 2px solid rgba(222, 184, 135, 0.4);
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }

        .login-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #8B4513, #A0522D, #CD853F, #DEB887, #F5DEB3);
        }

        .login-container.hide {
            opacity: 0;
            transform: translateY(-20px);
            pointer-events: none;
        }

        .brand-header {
            text-align: center;
            margin-bottom: 2.5rem;
            position: relative;
        }

        .brand-name {
            font-family: 'Cinzel', serif;
            font-size: 2.8rem;
            font-weight: 800;
            background: linear-gradient(135deg, #8B4513 0%, #A0522D 25%, #CD853F 50%, #DEB887 75%, #654321 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 0.8rem;
            letter-spacing: 1px;
            text-shadow: 0 2px 4px rgba(139, 69, 19, 0.3);
        }

        .brand-tagline {
            font-family: 'Playfair Display', serif;
            color: #8B4513;
            font-size: 1.1rem;
            font-weight: 500;
            margin-bottom: 0.5rem;
            font-style: italic;
        }

        .cultural-subtitle {
            color: #A0522D;
            font-size: 0.9rem;
            font-weight: 500;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }

        .login-title {
            font-family: 'Playfair Display', serif;
            font-size: 1.8rem;
            font-weight: 700;
            color: #654321;
            margin: 1.5rem 0 0.5rem 0;
            text-align: center;
        }

        .login-subtitle {
            color: #8B4513;
            font-size: 1rem;
            text-align: center;
            margin-bottom: 2rem;
            font-weight: 400;
            opacity: 0.8;
        }

        .form-group {
            margin-bottom: 1.5rem;
            position: relative;
        }

        .form-label {
            display: block;
            margin-bottom: 0.6rem;
            color: #654321;
            font-weight: 600;
            font-size: 0.95rem;
            letter-spacing: 0.3px;
        }

        .form-input {
            width: 100%;
            padding: 1.1rem 1.3rem;
            border: 2px solid rgba(160, 82, 45, 0.3);
            border-radius: 12px;
            font-size: 1rem;
            transition: all 0.3s ease;
            background-color: rgba(255, 255, 255, 0.9);
            color: #333;
            position: relative;
            font-family: 'Inter', sans-serif;
        }

        .form-input:focus {
            outline: none;
            border-color: #A0522D;
            background-color: white;
            box-shadow:
                0 0 0 4px rgba(160, 82, 45, 0.15),
                0 4px 12px rgba(139, 69, 19, 0.2);
            transform: translateY(-1px);
        }

        .form-input::placeholder {
            color: rgba(139, 69, 19, 0.6);
            font-weight: 400;
        }

        .login-button {
            width: 100%;
            padding: 1.3rem;
            background: linear-gradient(135deg, #8B4513 0%, #A0522D 30%, #CD853F 70%, #654321 100%);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-bottom: 1.2rem;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            box-shadow:
                0 8px 20px rgba(139, 69, 19, 0.3),
                0 4px 10px rgba(160, 82, 45, 0.2);
            position: relative;
            overflow: hidden;
            font-family: 'Inter', sans-serif;
        }

        .login-button::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-button:hover {
            transform: translateY(-2px);
            box-shadow:
                0 15px 35px rgba(139, 69, 19, 0.4),
                0 8px 15px rgba(160, 82, 45, 0.3);
            background: linear-gradient(135deg, #A0522D 0%, #8B4513 30%, #CD853F 70%, #654321 100%);
        }

        .login-button:hover::before {
            left: 100%;
        }

        .login-button:active {
            transform: translateY(0);
        }

        .form-footer {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 1rem;
        }

        .forgot-password {
            color: #A0522D;
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;
            transition: all 0.3s ease;
            padding: 0.3rem 0;
        }

        .forgot-password:hover {
            color: #8B4513;
            text-decoration: underline;
        }

        .signup-link {
            text-align: center;
            color: #8B4513;
            font-size: 0.95rem;
            line-height: 1.5;
            font-weight: 400;
        }

        .signup-link a {
            color: #654321;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .signup-link a:hover {
            color: #A0522D;
            text-decoration: underline;
        }

        .error-message {
            color: #cd5c5c;
            font-size: 0.85rem;
            margin-top: 0.4rem;
            display: none;
            font-weight: 500;
        }

        .form-group.error .form-input {
            border-color: #cd5c5c;
            background-color: #fdf5f5;
            box-shadow: 0 0 0 4px rgba(205, 92, 92, 0.1);
        }

        .form-group.error .error-message {
            display: block;
        }

        /* Loading state */
        .login-button.loading {
            opacity: 0.8;
            cursor: not-allowed;
            position: relative;
        }

        .login-button.loading::after {
            content: '';
            position: absolute;
            right: 1rem;
            top: 50%;
            transform: translateY(-50%);
            width: 18px;
            height: 18px;
            border: 2px solid transparent;
            border-top: 2px solid white;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }


        /* Divider line */
        .divider {
        display: flex;
        align-items: center;
        text-align: center;
        margin: 12px 0;
        }

        .divider::before,
        .divider::after {
        content: "";
        flex: 1;
        border-bottom: 1px solid #e0e0e0;
        }

        .divider:not(:empty)::before {
        margin-right: 15px;
        }

        .divider:not(:empty)::after {
        margin-left: 15px;
        }

        .divider span {
        color: #666;
        font-size: 14px;
        font-weight: 500;
        white-space: nowrap;
        padding: 0 5px;
        }

        /* Google Button */
        .google-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%;
            padding: 1.3rem;
            background: linear-gradient(135deg, #DB4437 0%, #F4B400 30%, #0F9D58 70%, #4285F4 100%);
            color: white !important;
            border: none;
            border-radius: 12px;
            font-size: 1.05rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-bottom: 1.2rem;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            box-shadow:
                0 8px 20px rgba(66, 133, 244, 0.3),
                0 4px 10px rgba(15, 157, 88, 0.2);
            position: relative;
            overflow: hidden;
            font-family: 'Inter', sans-serif;
        }

        /* Shine effect */
        .google-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                90deg,
                transparent,
                rgba(255, 255, 255, 0.25),
                transparent
            );
            transition: left 0.5s;
        }

        /* Hover effects */
        .google-btn:hover {
            transform: translateY(-2px);
            box-shadow:
                0 15px 35px rgba(66, 133, 244, 0.4),
                0 8px 15px rgba(15, 157, 88, 0.3);
            background: linear-gradient(135deg, #F4B400 0%, #DB4437 30%, #0F9D58 70%, #4285F4 100%);
        }

        .google-btn:hover::before {
            left: 100%;
        }

        /* Active click */
        .google-btn:active {
            transform: translateY(0);
        }

        /* Google icon */
        .google-icon {
        width: 20px;
        height: 20px;
        transition: transform 0.2s ease;
        filter: drop-shadow(0 0 4px rgba(241, 255, 93, 0.8)); /* soft glow */
        }

        .google-btn:hover .google-icon {
            transform: scale(1.1);
        }

        @keyframes spin {
            0% {
                transform: translateY(-50%) rotate(0deg);
            }

            100% {
                transform: translateY(-50%) rotate(360deg);
            }
        }

        /* Welcome Card Styles */
        .welcome-card {
            background: linear-gradient(135deg,
                    rgba(139, 69, 19, 0.96),
                    rgba(160, 82, 45, 0.94),
                    rgba(205, 133, 63, 0.92),
                    rgba(101, 67, 33, 0.95));
            backdrop-filter: blur(25px);
            padding: 3rem 2.5rem;
            border-radius: 20px;
            box-shadow:
                0 30px 60px rgba(139, 69, 19, 0.4),
                0 15px 30px rgba(160, 82, 45, 0.3),
                0 5px 15px rgba(205, 133, 63, 0.2);
            border: 2px solid rgba(245, 230, 211, 0.4);
            text-align: center;
            color: white;
            opacity: 0;
            transform: translateY(30px) scale(0.95);
            transition: all 0.6s ease;
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            pointer-events: none;
            overflow: hidden;
        }

        .welcome-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #F5E6D3, #DEB887, #CD853F, #A0522D, #8B4513);
        }

        .welcome-card.show {
            opacity: 1;
            transform: translateY(0) scale(1);
            pointer-events: auto;
        }

        .welcome-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 1.5rem;
            background: rgba(245, 230, 211, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            border: 3px solid rgba(245, 230, 211, 0.3);
        }

        .welcome-title {
            font-family: 'Cinzel', serif;
            font-size: 2.4rem;
            font-weight: 700;
            margin-bottom: 1rem;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
            color: #F5E6D3;
        }

        .welcome-message {
            font-size: 1.1rem;
            font-weight: 400;
            line-height: 1.6;
            margin-bottom: 2rem;
            opacity: 0.9;
            color: rgba(245, 230, 211, 0.9);
        }

        .explore-button {
            background: rgba(245, 230, 211, 0.25);
            color: #F5E6D3;
            border: 2px solid rgba(245, 230, 211, 0.4);
            padding: 1rem 2.5rem;
            border-radius: 12px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            margin-right: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-family: 'Inter', sans-serif;
        }

        .explore-button:hover {
            background: rgba(245, 230, 211, 0.4);
            border-color: rgba(245, 230, 211, 0.7);
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
            color: white;
        }

        .back-button {
            background: transparent;
            color: rgba(245, 230, 211, 0.8);
            border: 2px solid rgba(245, 230, 211, 0.3);
            padding: 1rem 2.5rem;
            border-radius: 12px;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: 'Inter', sans-serif;
        }

        .back-button:hover {
            color: #F5E6D3;
            border-color: rgba(245, 230, 211, 0.6);
            transform: translateY(-2px);
            background: rgba(245, 230, 211, 0.1);
        }

        /* Responsive design */
        @media (max-width: 480px) {

            .login-container,
            .welcome-card {
                padding: 2rem 1.5rem;
                border-radius: 16px;
            }

            .brand-name {
                font-size: 2.2rem;
            }

            .login-title,
            .welcome-title {
                font-size: 1.6rem;
            }

            .form-input {
                padding: 1rem 1.1rem;
            }

            .welcome-icon {
                width: 60px;
                height: 60px;
                font-size: 2rem;
            }

            .form-footer {
                flex-direction: column;
                gap: 0.5rem;
                align-items: center;
            }

            .explore-button,
            .back-button {
                display: block;
                width: 100%;
                margin: 0.5rem 0;
            }
        }

     /* Base navigation button styles */
.nav-button {
    position: fixed;
    top: 20px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #FF6B35;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

.nav-button:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 1);
    border-color: #FF8C42;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.nav-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.2);
}


/* Home button */
.home-button {
    left: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #FF6B35;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
    position: fixed;
    top: 20px;
    width: 48px;
    height: 48px;
}

.home-button:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 1);
    border-color: #FF8C42;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

/* Icon styles */

.home-button img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}


.home-button:hover img {
    transform: scale(1.1);
}