﻿html, body {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    overflow: hidden; /* Scrollbar တွေ မပေါ်အောင် */
}

.split-screen-container {
    display: flex; /* Flexbox သုံးပြီး ဘေးချင်းကပ်စီမယ် */
    height: 100vh; /* Screen အပြည့်ယူမယ် */
}

.image-section {
    flex: 1; /* နေရာတဝက်ယူမယ် (သို့မဟုတ် ၆၀% လောက်) */
    
    background-image: url('../adminlte/dist/img/lg.jpg'); /* သင့်ပုံလမ်းကြောင်း */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7); /* စာသားဖတ်ရလွယ်အောင် */
}

.form-section {
    flex: 1; /* နေရာတဝက်ယူမယ် (သို့မဟုတ် ၄၀% လောက်) */
    display: flex;
    align-items: center; /* ဒေါင်လိုက်အလယ်တည့်တည့်ထားမယ် */
    justify-content: center; /* အလျားလိုက်အလယ်တည့်တည့်ထားမယ် */
    background-color: #f8f9fa; /* Login Section နောက်ခံအရောင် */
    padding: 20px;
}

.login-form-wrapper {
    max-width: 400px;
    width: 100%;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: white;
}

    .login-form-wrapper h1 {
        text-align: center;
        margin-bottom: 30px;
        color: #333;
    }

/* Responsive adjustment for smaller screens */
@media (max-width: 768px) {
    .split-screen-container {
        flex-direction: column; /* ဖုန်းမှာဆို ပုံအပေါ်၊ Form အောက် ဖြစ်သွားအောင် */
    }

    .image-section {
        height: 200px; /* ဖုန်းမှာ ပုံကို အမြင့်လျှော့လိုက် */
        flex: unset; /* Flexbox ရဲ့ ပုံသေ တန်ဖိုးကို ပယ်ဖျက် */
    }

    .form-section {
        flex: unset; /* Flexbox ရဲ့ ပုံသေ တန်ဖိုးကို ပယ်ဖျက် */
    }
}
