﻿/*Custom Login css created by iSoftExpert Team
  Date: 05 Jan 2025
*/


.login-left, .login-right {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    width: 50%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    background: url(/img/Swadi/InventoryLogo5.png) no-repeat center center;
    /* background-repeat: no-repeat;
    background-size: 100% !important;*/
    background-size: cover;
}

/* Container for the Login Form */
.login-container, .forgot-password-container, .register-container {
    background: rgba(255, 255, 255, 0.75);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    padding: 40px;
    text-align: center;
    display: block; /* Ensure that the login form is visible by default */
}

/* Branding Section */
.branding img {
    max-width: 100%;
    height: auto;
    width: 270px;
    margin-bottom: 20px;
}

/* Tagline Styling */
.tagline {
    font-size: 16px;
    color: #4c84ff;
    font-weight: 400;
    margin-bottom: 20px;
}

/* Form Group */
.form-group {
    margin-bottom: 15px;
    text-align: left;
    position: relative;
}

    /* Input Fields */
    .form-group input {
        width: 100%;
        padding: 10px 35px; /* Extra space for icons */
        font-size: 14px;
        border: 2px solid #e0e0e0;
        border-radius: 6px;
        transition: border-color 0.3s ease;
    }

        .form-group input:focus {
            border-color: #4c84ff !important;
            outline: none !important;
        }

    /* Icons inside input fields */
    .form-group .input-icon {
        position: absolute;
        top: 50%;
        left: 10px;
        transform: translateY(-50%);
        font-size: 18px;
        color: #4c84ff;
    }

textarea:focus, input:focus {
    outline: none !important;
    border: #4c84ff solid 2px !important;
}

/* Eye icon for password visibility toggle */
.password-eye {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #4c84ff;
}

/* Remember me checkbox */
.remember-me {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 10px;
    font-size: 14px;
    color: #333;
    margin-bottom: 15px; /* Added bottom margin for spacing */
}

    .remember-me input[type="checkbox"] {
        margin-right: 10px;
        cursor: pointer;
    }

/* Button Styling */
.login-btn, .reset-btn, .register-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(to right, #4c84ff, #6a11cb);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .login-btn:hover, .reset-btn:hover, .register-btn:hover {
        background: linear-gradient(to right, #6a11cb, #4c84ff);
    }

/* Links */
.links {
    margin-top: 15px;
    font-size: 14px;
    color: #4c84ff;
}

    .links a {
        text-decoration: none;
        color: #4c84ff;
        margin: 0 5px;
    }

        .links a:hover {
            text-decoration: underline;
        }

/* Forgot Password Container */
.forgot-password-container {
    display: none;
}

/* Register Container */
.register-container {
    display: none;
}

/* Modal (Popup) */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 400px;
    text-align: center;
}

.modal-header {
    font-size: 18px;
    font-weight: bold;
    color: #4c84ff;
    margin-bottom: 15px;
}

.modal-body {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

.modal-footer {
    text-align: right;
}

.close-btn {
    background-color: #4c84ff;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

    .close-btn:hover {
        background-color: #6a11cb;
    }

/* Footer Section */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.75);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e0e0e0;
}

.isoftexpert-logo {
    width: 170px;
    transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

    .isoftexpert-logo:hover {
        transform: scale(1.2);
        opacity: 0.8;
        filter: brightness(0.7);
    }

.social-icons {
    display: flex;
    gap: 15px;
}

    .social-icons a {
        color: #4c84ff;
        font-size: 20px;
        text-decoration: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

        .social-icons a:hover {
            color: #6a11cb;
            transform: scale(1.2);
            opacity: 0.8;
        }

/* Blinking Red Effect (Slower Blink) */
.blinking-red {
    color: red !important; /* Ensuring text is red with !important */
    font-weight: bold; /* Make text bold */
    animation: blink 4s linear infinite; /* Adjusted blink speed */
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Additional spacing for Register container */
.register-container .form-group:first-of-type {
    margin-top: 20px; /* Added space between heading and the first text box */
}

.register-container .register-btn {
    margin-top: 7px;
}

.register-container p {
    margin-top: 15px; /* Added margin to separate the back-to-login text */
}

/* Additional spacing for Forgot Password form */
.forgot-password-container h3 {
    margin-bottom: 20px; /* Added space below the header */
}

.forgot-password-container .form-group {
    margin-top: 20px; /* Added space between the header and the first text box */
}

.forgot-password-container button {
    margin-top: 20px; /* Added space between reset button and "Back to Login" */
}

.forgot-password-container p {
    margin-top: 20px; /* Added space above "Back to Login" */
}