﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.html-contain {
    background: url(/background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}
.html-contain body{
    background: transparent;
}
.logo-login{
    width: 100%;
    max-width: 500px;
}

@media (max-width: 768px) {
    .navbar-collapse {
        border: 1px solid #DDD;
        border-radius: 4px;
        margin-top: 8px;
        padding: 8px;
    }
}



/* 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: normal;
    text-align: center;
    word-break: break-all;
}

a {
    color: #0077cc;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.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;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}


.offcanvas-fullscreen {
    width: 100% !important;
    max-width: 100% !important;
    transform: translateX(100%);
    transition: transform .35s ease;
}

    .offcanvas-fullscreen.offcanvas-show {
        transform: translateX(0);
    }

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 20px;
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    border-radius: 12px;
    background: #f8f9fa;
    text-decoration: none;
    color: #212529;
    transition: background .2s;
}

    .menu-item:hover {
        background: #e9ecef;
    }

    .menu-item .icon {
        font-size: 2rem;
        width: 56px;
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        margin-bottom: 8px;
    }

    .menu-item span {
        font-size: 0.9rem;
        text-align: center;
        font-weight: 500;
    }
/* RTL fix: giữ grid nhưng đảo icon/text nếu cần */
[dir="rtl"] .menu-item span {
    direction: rtl;
}


.menu-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    height: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.2s ease-in-out;
}

    .menu-tile:hover {
        background: #e9ecef;
        transform: scale(1.05);
    }

.menu-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.menu-text {
    font-size: 0.85rem;
    text-align: center;
    color: #212529;
}