﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: url('../siteImages/fin-11.jpg') no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

svg {
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 0;
}

.login-container {
    position: relative;
    z-index: 2;
    /*background: #ffffff80;*/ /* semi-transparent white */
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 40px 30px;
    border-radius: 15px;
    /* Soft glowing shadow (not too wide) */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4), /* subtle white inner glow */
    0 0 20px rgba(178, 34, 34, 0.5); /* faint red outer glow */
    width: 100%;
    max-width: 380px;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    /* Gentle entry animation */
    animation: fadeIn 2.5s ease-out;
}

/* Optional subtle fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-60%);
        box-shadow: none;
    }

    to {
        opacity: 1;
        transform: translateY(-50%);
    }
}

.company-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    border: 2px solid #ffe0e0;
    object-fit: cover;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
    animation: bounceGlow 2s infinite ease-in-out;
}

@keyframes bounceGlow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    }

    50% {
        transform: scale(1.15);
        box-shadow: 0 0 30px rgba(255, 100, 100, 0.9);
    }
}

.login-container h2 {
    color: #ffffff;
    margin-bottom: 25px;
    font-size: 24px;
}

.form-group {
    margin-bottom: 18px;
    position: relative;
}

    .form-group input {
        width: 100%;
        padding: 12px 40px 12px 12px;
        border: 1px solid #b22222;
        border-radius: 8px;
        font-size: 14px;
        transition: border-color 0.3s;
    }

        .form-group input:focus {
            outline: none;
            border-color: #ff3333;
        }

    .form-group i {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #999;
    }

.remember {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 15px;
    color: #ffffff;
}

.login-btn {
    width: 100%;
    padding: 12px;
    border: none;
    background: linear-gradient(135deg, #f5d8d3, #b22222);
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .login-btn:hover {
        background: #8b1a1a;
        transform: translateY(-2px);
        box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    }

    .login-btn:active {
        transform: translateY(1px);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

.login-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: #ffffff;
}

.error-message {
    color: #b22222;
    font-size: 13px;
    text-align: center;
    margin-bottom: 15px;
}

@media (max-width: 500px) {
    .login-container {
        padding: 25px 20px;
    }
}

#vanta-bg {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
}

/*started spinner here*/

#gifLoaderOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;   
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    backdrop-filter: blur(2px);
    z-index: 9999;
}

.gif-loader {
    width: 400px; /* Adjust size if needed */
    height: auto;
}
