﻿/*html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}*/




/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: nowrap;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}


.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    margin-top: 64px !important; /*ktk for nav bar fixed*/
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.backgroundWhite {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.login-form {
    width: 100%;
    max-width: 340px;
    margin: 50px auto;
}

    .login-form form {
        margin-bottom: 15px;
        background: #fff;
        box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
        padding: 30px;
    }



    .login-form h2 {
        margin: 0 0 15px;
    }



.form-control, .btn {
    min-height: 38px;
    border-radius: 2px;
}






#logreg-forms {
    width: 100%;
    max-width: 412px;
    margin: 10vh auto;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

    #logreg-forms form {
        width: 100%;
        max-width: 410px;
        padding: 15px;
        margin: auto;
    }

    #logreg-forms .form-control {
        position: relative;
        box-sizing: border-box;
        height: auto;
        padding: 10px;
        font-size: 16px;
    }

        #logreg-forms .form-control:focus {
            z-index: 2;
        }

    #logreg-forms .form-signin input[type="email"] {
        margin-bottom: -1px;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }

    #logreg-forms .form-signin input[type="password"] {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    #logreg-forms .social-login {
        width: 390px;
        margin: 0 auto;
        margin-bottom: 14px;
    }

    #logreg-forms .social-btn {
        font-weight: 100;
        color: white;
        width: 190px;
        font-size: 0.9rem;
    }

    #logreg-forms a {
        display: block;
        padding-top: 10px;
        color: lightseagreen;
    }

#logreg-form .lines {
    width: 200px;
    border: 1px solid red;
}


#logreg-forms button[type="submit"] {
    margin-top: 10px;
}

#logreg-forms .facebook-btn {
    background-color: #3C589C;
}

#logreg-forms .microsoft-btn {
    background-color: #2672ec;
}

#logreg-forms .form-reset, #logreg-forms .form-signup {
    display: none;
}

    #logreg-forms .form-signup .social-btn {
        width: 210px;
    }

    #logreg-forms .form-signup input {
        margin-bottom: 2px;
    }

.form-signup .social-login {
    width: 210px !important;
    margin: 0 auto;
}

input[type='number'] {
    -moz-appearance: textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/* =====================================================================
   MOBILE (Production) - အားလုံးအတွက် ဒီနေရာတစ်ခုတည်းမှာ ထိန်းမယ်
   ===================================================================== */

/* Module / SubModule / Control / SubControl index (card grid) */
.module-page { padding: 1rem .25rem 2rem; max-width: 1100px; margin: 0 auto; }
.module-title { text-align: center; margin: .25rem 0; text-shadow: 0 1px 3px rgba(0,0,0,.25); }
.module-title-1 { font-size: 1.6rem; font-weight: 700; margin-top: .75rem; }
.module-title-2 { font-size: 1.15rem; font-weight: 500; opacity: .95; }
.module-title-3, .module-title-4, .module-title-5 {
    display: table; margin: .5rem auto 0; padding: .2rem .85rem; font-size: .95rem; font-weight: 500;
    background: rgba(255,255,255,.18); border-radius: 999px;
}
.module-grid { margin-top: 1.5rem; }
.module-grid > [class*="col-"] { display: flex; }
.module-tile {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: .6rem;
    padding: 1rem .5rem .85rem; min-height: 120px;
    background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35);
    border-radius: 1rem; box-shadow: 0 4px 14px rgba(0,0,0,.18);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    -webkit-tap-highlight-color: transparent; color: #fff !important;
}
.module-tile:hover { background: rgba(255,255,255,.28); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.module-tile:active { transform: scale(.97); background: rgba(255,255,255,.32); }
.module-icon {
    width: 56px; height: 56px; padding: 10px; object-fit: contain;
    background: rgba(255,255,255,.22); border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3);
}
.module-label { font-size: .85rem; line-height: 1.3; word-break: break-word; text-align: center; color: #fff; }

@media (max-width: 767.98px) {
    html { font-size: 15px; }
    html body { margin-top: 64px !important; margin-bottom: 0; overflow-x: hidden; }
    .module-tile { min-height: 108px; padding: .85rem .4rem .7rem; }
    .module-label { font-size: .8rem; }

    /* iOS zoom မဖြစ်အောင် input font 16px */
    .form-control, .form-select, select, textarea, input:not([type=checkbox]):not([type=radio]) { font-size: 16px; }
    .form-control, .btn { min-height: 42px; }

    /* Create / Edit / Details / Delete card */
    .backgroundWhite { padding: 14px 10px; border-radius: 8px; margin-bottom: 16px; }
    .backgroundWhite h2 { font-size: 1.3rem; }
    .backgroundWhite .form-group { margin-bottom: .6rem; }
    .backgroundWhite .card-body { padding: .6rem; }
    .backgroundWhite dl.row dt { margin-top: .4rem; }

    /* Save / Delete ခလုတ်များ အပြည့် */
    .backgroundWhite form .btn-primary[type=submit],
    .backgroundWhite form .btn-danger[type=submit] { width: 100%; margin-bottom: .5rem; }

    /* Detail table (inline width ပါတဲ့ ဇယား) - မညှစ်ဘဲ ဘေးသို့ ဆွဲကြည့်ရန် */
    .table-container, .backgroundWhite div[style*="overflow-x"], .backgroundWhite div[style*="overflow-y"] {
        overflow-x: auto !important; -webkit-overflow-scrolling: touch; max-width: 100%;
    }
    .table-container > table, div[style*="overflow-x"] > table {
        table-layout: auto !important; width: max-content !important; min-width: 100%;
    }
    .table-container td, .table-container th, div[style*="overflow-x"] td, div[style*="overflow-x"] th { white-space: nowrap; padding: 6px; }
    .table-container input, .table-container select,
    div[style*="overflow-x"] input, div[style*="overflow-x"] select { min-width: 90px; }

    /* Tab ရှည်ရင် ဘေးသို့ ဆွဲ */
    .nav-tabs, .nav-pills { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; }
    .nav-tabs .nav-link, .nav-pills .nav-link { padding: .5rem .75rem; }

    .select2-container { width: 100% !important; }
    .ui-datepicker { max-width: 95vw; }
    .modal-dialog { margin: .5rem; }
}

/* Fixed top navbar : အမြင့်ပုံသေ (body margin-top 64px နဲ့ ကိုက်အောင်) */
.navbar.fixed-top { min-height: 56px; padding-top: .25rem; padding-bottom: .25rem; }
.navbar.fixed-top .btn { min-height: 0 !important; padding: .3rem .75rem; line-height: 1.4; }
.navbar.fixed-top .navbar-brand { margin: 0; padding: .25rem 0; }
