﻿/* Reset base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* Body with gradient inspired by TMBK colors */
html, body {
    height: 100%;
    background: linear-gradient(to right, #002b80 50%, #c8102e 50%);
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Main container with split layout */
.main-container {
    display: flex;
    flex-direction: row;
    width: 80%;
    height: 80vh;
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}

/* Left image panel */
.left-container {
    flex: 1;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}


.left-container img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    border: 4px solid #c8102e;
}

/* Right panel with login */
.right-container {
    flex: 1;
    background-color: #002b80;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Login box */
.login-box {
    background-color: #ffffff;
    width: 360px;
    padding: 30px 25px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 0 25px rgba(0,0,0,0.15);
}

/* Title styling */
.login-box h2 {
    text-align: center;
    color: #002b80;
    font-size: 26px;
    font-weight: bold;
    border-bottom: 3px solid #c8102e;
    display: inline-block;
    padding-bottom: 6px;
    margin-bottom: 20px;
    width: 100%;
}

/* Input field styling */
.input-box {
    width: 100%;
    padding: 10px;
    margin: 8px 0 15px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
}

/* Login button */
.btn-login {
    width: 100%;
    background-color: #c8102e;
    color: #fff;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-login:hover {
    background-color: #a60d25;
}

/* Error message */
.error-message {
    color: #c8102e;
    margin-top: 10px;
    text-align: center;
    font-weight: bold;
}

/* Responsive behavior */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
        width: 90%;
        height: auto;
    }
    .left-container {
        display: none;
    }
    .right-container {
        flex: none;
        width: 100%;
        padding: 40px 0;
    }
}
.logo-img {
    max-width: 80%;
    max-height: 90%;
    object-fit: contain;
}
