﻿body {
    font-family: 'Inter', sans-serif;
    background-color: #f5f6fa;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.login-container {
    background-color: white;
    display: flex;
    flex-direction: row;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    max-width: 1200px;
    width: 100%;
}

.login-left {
    width: 55%;
    background-color: #f9fafb;
    padding: 30px;
    text-align: center;
}

    .login-left img.logo {
        max-width: 100%;
        height: 80px;
    }

    .login-left p {
        font-weight: 600;
        color: #1a237e;
        margin: 20px 0;
    }

    .login-left img.hero {
        max-width: 100%;
        border-radius: 8px;
    }

.login-right {
    width: 55%;
    padding: 40px 30px;
    background-color: #fff;
    justify-content: center;
}

    .login-right h2 {
        font-size: 25px;
        margin-bottom: 8px;
    }

    .login-right p.subtext {
        font-size: 13px;
        color: #777;
        margin-bottom: 20px;
        margin-left:5px
    }

.form-group {
    margin-bottom: 0;
    position: relative;
}

    .form-group input {
        width: 100%;
        padding: 10px 35px 10px 35px;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

    .form-group i {
        position: absolute;
        top: 50%;
        left: 10px;
        transform: translateY(-50%);
        color: #555;
    }

.form-check {
    margin-bottom: 10px;
    font-size: 13px;
    margin-top:5px;
}

.login-button {
    background-color: #4f46e5;
    color: white;
    padding: 10px;
    width: 100%;
    border: none;
    border-radius: 4px;
    font-weight: 600;
}

.terms {
    font-size: 12px;
    text-align: center;
    margin-top: 15px;
}

    .terms a {
        color: #4f46e5;
        text-decoration: none;
    }

.copyright {
    font-size: 10px;
    color: #aaa;
    text-align: center;
    margin-top: 15px;
}
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }

    .login-left, .login-right {
        width: 100%;
    }

    .login-left {
        display: none;
    }
}
.input-icon-wrapper {
    position: relative;
}

.input-icon-wrapper i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 1.2rem;
    pointer-events: none;
    z-index: 10;
}

.input-icon-wrapper .form-control {
    padding-left: 40px; /* room for icon */
    height: 2.8rem; /* consistent height */
    line-height: 2.8rem;
}

.text-danger {
    display: block;
    margin-top: 0.25rem;
    min-height: 1.2rem; /* reserve vertical space */
}

.logosidemark {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* ensure it can center horizontally */
    margin-bottom: 71px; /* optional */
}

/* The logo itself */
.logoside {
    width: 240px; /* adjust size here */
    height: auto;
    background: #fff;
    padding: 12px 18px;
}
.logosidemark img {
    display: block;
    margin: 0 auto;
}