//PaB1.htmlအတွက်
/* Universal Box-sizing for consistent layout */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans Myanmar', sans-serif; /* ပအိုဝ်းစာအတွက် သင့်လျော်သော Font */
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
    color: #333;
    display: flex; /* Use flexbox for centering content */
    justify-content: center; /* Center horizontally */
    align-items: flex-start; /* Align to the top, allowing content to flow */
    min-height: 100vh; /* Ensure body takes full viewport height */
}

.container {
    width: 100%; /* Take full width of parent */
    max-width: 1200px; /* Maximum width for larger screens */
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    /* No need for margin: auto; here due to flexbox centering on body */
}

h1, h2, h3 {
    color: #0056b3;
    text-align: center; /* Center headings */
    margin-bottom: 20px;
}

section {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    border-left: 5px solid #007bff;
    /* Ensure content inside section is readable */
    word-wrap: break-word; /* Prevents long words from overflowing */
    overflow-x: auto; /* Allow horizontal scrolling for tables on small screens */
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    /* Ensure table itself can scroll if content is too wide */
    white-space: nowrap; /* Keep content on one line for better table alignment */
}

table th, table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
    vertical-align: top; /* Align content to the top of cells */
}

table th {
    background-color: #e2eafc;
    font-weight: bold;
}

table tr:nth-child(even) {
    background-color: #f2f2f2;
}

table tr:hover {
    background-color: #e9e9e9;
}

/* Responsive adjustments for smaller screens (e.g., phones) */
@media (max-width: 768px) {
    body {
        padding: 10px; /* Reduce overall padding on smaller screens */
    }

    .container {
        padding: 15px; /* Reduce container padding */
    }

    h1 {
        font-size: 1.8em; /* Adjust heading sizes for better readability */
    }

    h2 {
        font-size: 1.4em;
    }

    h3 {
        font-size: 1.2em;
    }

    table th, table td {
        padding: 8px; /* Smaller padding for table cells */
        font-size: 0.9em; /* Slightly smaller font size for table content */
    }

    /* Make tables scrollable horizontally if content overflows */
    table {
        display: block; /* Allows table to be treated as a block element for overflow */
        width: auto; /* Allow table to adjust its width */
    }
}

/* Even smaller screens (e.g., very small phones) */
@media (max-width: 480px) {
    body {
        padding: 5px;
    }

    .container {
        padding: 10px;
        border-radius: 5px; /* Slightly less rounded corners */
    }

    h1 {
        font-size: 1.5em;
    }

    h2 {
        font-size: 1.2em;
    }

    h3 {
        font-size: 1em;
    }
}
/* style.css */

/* ... (သင့်ရဲ့ မူလ CSS ကုဒ်များ) ... */

.clickable-paoh-char {
    cursor: pointer; /* မောက်စ်တင်ရင် လက်ပုံစံပြောင်းလဲခြင်း */
    color: #007bff; /* စာလုံးအရောင်ပြောင်းလဲခြင်း */
    font-weight: bold; /* စာလုံးအထူပြောင်းလဲခြင်း */
    transition: color 0.2s ease, background-color 0.2s ease; /* transition effect */
}

.clickable-paoh-char:hover {
    color: #0056b3; /* မောက်စ်တင်ရင် အရောင်ပိုရင့်စေခြင်း */
    background-color: #e6f2ff; /* နောက်ခံအနည်းငယ်ပြောင်းလဲခြင်း */
}

.clickable-paoh-char:active {
    background-color: #cce0ff; /* နှိပ်လိုက်ရင် နောက်ခံအရောင်ပြောင်းလဲခြင်း */
}
 /* Styles for the main container div */
div {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Choose a clear, readable font */
    line-height: 1.6; /* Improve readability with good line spacing */
    color: #333; /* Dark gray for good contrast */
    max-width: 800px; /* Limit width for comfortable reading on larger screens */
    margin: 20px auto; /* Center the div on the page with some top/bottom margin */
    padding: 25px; /* Add internal spacing */
    background-color: #f9f9f9; /* Light background for the content area */
    border: 1px solid #ddd; /* Subtle border */
    border-radius: 8px; /* Slightly rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
}

    /* Optional: Basic styling for your SVG digits */
    .pa-o-digit-svg svg {
        width: 1.2em; /* စာသားအရွယ်အစားနဲ့ ချိန်ညှိပါ */
        height: auto;
        vertical-align: middle; /* စာသားရဲ့ baseline နဲ့ ချိန်ညှိပါ */
    }

    /* အသံထွက်နိုင်သော စာလုံးများအတွက် mouse cursor ပြောင်းလဲမှု */
    .clickable-paoh-char {
        cursor: pointer;
        /* text-decoration: underline;  လိုချင်ရင် ထည့်နိုင်ပါတယ် */
    }

/* Styles for h2 headings (e.g., "မြန်မာဘာသာဖြင့်", "English Version") */
hk {
            border-bottom: 2px solid #3498db;
            color: #3498db;
            font-size: 1.8em;
            margin-top: 30px;
            margin-bottom: 15px;
            text-align: left;     
}
