﻿/* Base Styles */
body {
    background: linear-gradient(to bottom, #0f0c29, #302b63, #24243e);
    
    background-image: url('../images/lgn_background.jpeg');
    width: 490px;
    height: 3;
    font-weight: 500;
    padding: 15px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
    overflow: hidden;
}

/* Main Container */
.main-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin-left: 925px;
}

/* Top Section with Logo and Vendor Info */
.top-section {
    display: flex;
    width: 100%;
    padding: 10px;
    border-bottom: 1px solid #e5e7eb;
}

/* Logo Section */
.logo-section {
    padding: 5px 10px;
    border: 1px solid #003087;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}

.company-logo {
    display: none;
    float: left;
    padding: 10px;
    height: 150px;
    width: 940px;
}

.flex-container {
    background: linear-gradient(90deg, #5D54A4, #7C78B8);
    position: relative;
    height: fit-content;
    width: 360px;
    border-radius: 30px;
}

/* Vendor Info Container */
.vendor-info-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.vendor-info {
    padding: 0 20px;
    text-align: left;
}

#welcome-text {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.vendor-info p {
    margin: 2px 0;
    font-size: 14px;
}

.redirect-text {
    margin-top: 5px;
    font-size: 14px;
    color: #555;
}

/* Login Container */
.login-container {
    border-radius: 30px;
    z-index: 1;
    position: relative;
    height: 100%;
}

.login-card {
    background: white;
    border-radius: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    padding: 10px;
    height: 300px;
    width: 405px;
}

.login-header {
    text-align: center;
    margin-bottom: 20px;
    font-weight: normal;
}

.sign-in-text {
    color: #008000;
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: bold;
}

/* Form Control Styles */
.form-floating {
    margin-bottom: 15px;
    font-weight: bold;
}

.form-control {
    border-radius: 5px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Button Styles */
.btn {
    font-weight: 500;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: #003087;
    border-color: #003087;
    color: white;
}

.btn-primary:hover {
    background-color: #002366;
    border-color: #002366;
}

/* Forgot Password Link */
.forgot-password-link {
    display: block;
    text-align: center;
    color: #2563eb;
    margin-top: 10px;
    text-decoration: none;
    font-size: 16px;
}

.forgot-password-link:hover {
    text-decoration: underline;
}

/* Error Modal Styles */
#errorModal .modal-header {
    background-color: #dc2626;
    color: white;
}

#errorModal .modal-body {
    color: #dc2626;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-section {
        flex-direction: column;
    }

    .logo-section {
        margin-bottom: 10px;
        width: 100%;
    }

    .vendor-info {
        text-align: center;
        padding: 10px;
    }

    .login-card {
        padding: 20px;
    }
}