﻿/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

/* BACKGROUND */
.main-bg {
    height: 100vh;
    width: 100%;
    background: #092362; /*linear-gradient(rgba(40,60,120,0.6), rgba(40,60,120,0.6)),  no-repeat center center/cover;*/
    display: flex;
    align-items: center;
    justify-content: center;
}

/* WRAPPER */
.login-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    width: 90%; /* max-width: 1100px;*/
    background: transparent;
}
/* LOGIN CARD */

.login-card {
    width: 36%;
    padding: 40px 30px;
    border-radius: 15px; /* Glass effect */
    background: white;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* LOGO */
.logo {
    text-align: center;
    margin-bottom: 25px;
}
.logo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    /*gap: 10px;*/
}
.logo-img-box {
    width: 12%; /* 👈 adjust logo size */
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px;
}

/* Logo image */
.logo-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

    .logo h2 {
        font-size: 28px;
        color: #1f3c88;
        font-weight: 700;
    }

    .logo p {
        font-size: 14px;
        margin-top: 8px;
        color: gray;
    }

/* INPUT */
.input {
    margin-bottom: 15px;
}

    .input input,
    .input textarea,
    .input select,
    .input asp\:TextBox {
        width: 100%;
        padding: 12px 15px;
        border-radius: 8px;
        border: 1px solid #dfe2e7;
        outline: none;
        font-size: 14px;
    }

/* ASP.NET TextBox fix */
input[type="text"],
input[type="password"] {
    width: 100%;
}
.form-input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
}
/* OPTIONS */
.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin: 10px 0 20px;
}

    .options a {
        text-decoration: none;
        color: #1f3c88;
    }

    .options input {
        margin-right: 5px;
    }

/* BUTTON */
.btn-login {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(to right, #3b5998, #1f3c88);
    color: white;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }

/* SECURE TEXT */
.secure-text {
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
    color: gray;
}

/* RIGHT PREVIEW */
.preview img {
    width: 280px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .login-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .preview img {
        width: 200px;
    }
}

@media (max-width: 1024px) {
    .login-card {
        width: 100%;
        padding: 30px 20px;
    }
}
