﻿@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1224px!important;
    }
}

.navbar {
    background: rgba(0,0,0,0.8) !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    line-height: 35px!important;
}

.nav-link {
    padding: .3rem 1rem !important;
}

.imglogo {
    width: 80%;
}

.dropdown {
    border-radius: 0;
    border: 0;
}

.dropdown-menu {
    background: #90c322;
    border: 0;
    top: 100%;
    border-radius: 0px 0px 5px 5px;
}

.dropdown-item:hover {
    background: #014ea2;
    color: #fff;
}

.dropdown-menu a {
    color: #fff;
}

.navbar .nav-item {
    padding: 0px;
}

    .navbar .nav-item .nav-link {
        color: #cacaca !important;
        font-family: "SF Pro Text","Myriad Set Pro","SF Pro Icons","Helvetica Neue","Helvetica","Arial",sans-serif;
        font-size: 14px;
        font-weight: 400;
    }

        .navbar .nav-item .nav-link:hover {
            color: white !important;
        }

    .navbar .nav-item:hover {
        background: #0060ae;
        color: red !important;
    }

.title {
    color: #0266b8;
    font-weight: 700;
}

/*Nội dung bảo hành*/
.app-title {
    margin-top: 13px;
    margin-bottom: 20px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px solid #D6D6D6;
}
    .app-title .title {
        -webkit-box-ordinal-group: 2;
        -webkit-order: 1;
        -ms-flex-order: 1;
        order: 1;
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        -ms-flex: 1;
        flex: 1;
        text-align: left;
        font-size: 32px;
        line-height: 1.125;
        font-weight: 200;
        letter-spacing: normal;
        margin: 0;
        color:#333;
    }
.sub-header {
    color: #333333;
    margin: 0 auto 15px;
    font-size: 28px;
    line-height: 1.2857142857;
    font-weight: 200;
    letter-spacing: normal;
    max-width:700px!important;
}

/*END Nội dung bảo hành*/

/*Footer*/
.footer {
    background-color: #f2f2f2;
    color: #999;
    font-size: 14px;
    line-height: 1.7083333333;
    font-weight: 400;
    letter-spacing: normal;
}
    .footer .footer-legal {
        float: left;
        margin-right: 26px;
    }
    .footer .footer-shop-text {
        border-bottom: 1px solid #d6d6d6;
        padding-bottom: 5px;
        margin-bottom: 6px;
    }
    .footer .footer-links {
        float: left;
    }
    .footer .footer-links-list {
        margin: 0px;
    }
        .footer .footer-links-list li:not(:last-child) {
            border-right: 1px solid #d6d6d6;
            margin-right: 10px;
            padding-right: 12px;
        }
        .footer .footer-links-list li {
            display: inline-block;
            white-space: nowrap;
        }
    .footer a {
        color: #666;
        text-decoration: none;
    }
    .footer a:hover {
        color: #666;
        text-decoration: underline;
    }
.form-controlserial {
    text-align:center;
    width: 300px;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
    .form-controlserial:focus {
        text-align: center;
        outline: none;
        border: 1px solid #7bc1f7;
        box-shadow: 0px 0px 8px #7bc1f7;
        -moz-box-shadow: 0px 0px 8px #7bc1f7;
        -webkit-box-shadow: 0px 0px 8px #7bc1f7;
    }
.shadow-sm {
    box-shadow: 0 1rem 1rem rgba(0,0,0,.095) !important;
}
    .shadow-sm:hover {
        box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px!important;
    }

.button-yeucau {
    border: 4px solid #9E9D9E !important;
    background-color: #505962 !important;
    width: 250px !important;
    margin-top: 15px;
    color:white;
}
.button-yeucau:hover {
    color: white;
}

/*End footer*/
@media (max-width: 768px) {
    /* body {
        display: flex;
        margin-top: 0px!important;
        justify-content: center;
        min-height: 100vh;
        overflow: hidden;
    }
    .container {
         width: 400px;
        background: #fff;
        height: 100vh;
        text-align: center;
        padding: 50px 15px 0px 15px !important;
        border-radius: 0px !important;
    }*/
    .sub-header {
        margin: 0 auto 10px !important;
        max-width: 400px !important;
    }

        .sub-header span {
            font-size: 18px !important;
        }
    .btn{
        font-size:14px!important;
    }
    .modal .form-group {
        margin-bottom: 5px !important;
    }
    .modal-title{
        font-size:14px!important;
    }
}
/*------------------------------------------------------------------------*/
/*body {
    display: flex;
    margin-top:100px;
    justify-content: center;
    min-height: 100vh;
    background: url(../img/bg.png), -webkit-linear-gradient(bottom, #0250c5, #d43f8d);
}
.container {
    background: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 0px 35px 10px 35px;
}*/
main .container{
    padding-top:30px;
}
p {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}
.footer-section {
    padding-bottom: 10px;
}
.form-group {
    margin-bottom: 5px!important;
}
ol, ul {
    padding-left: 0px!important;
}

.borderNumber {
    content: counter(section);
    right: 100%;
    margin-right: -40px;
    position: absolute;
    border-radius: 50%;
    padding: 5px;
    height: 25px;
    width: 25px;
    background-color: #607d8b;
    text-align: center;
    color: white;
    font-size: 12px;
}
.accordion-button {
    padding: 12px 15px 12px 50px;
}


/*    Datatable*/

div.dataTables_wrapper div.dataTables_length label {
    font-weight: 400;
    text-align: left;
    white-space: nowrap;
}

label {
    display: inline-block;
    margin-bottom: .5rem;
}

.form-check, label {
    font-size: 14px;
    line-height: 1.42857;
    color: #aaa;
    font-weight: 400;
}

div.dataTables_wrapper div.dataTables_length select {
    width: auto;
    display: inline-block;
}

.form-control:read-only {
    background-image: linear-gradient( 0deg,#d2d2d2 1px,hsla(0,0%,82%,0) 0),linear-gradient( 0deg,#d2d2d2 1px,hsla(0,0%,82%,0) 0);
}

.custom-select-sm {
    height: calc(1.8125rem + 2px);
    padding-top: .375rem;
    padding-bottom: .375rem;
    font-size: 75%;
}

.custom-select {
    display: inline-block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: .375rem 1.75rem .375rem .75rem;
    line-height: 1.5;
    color: #495057;
    vertical-align: middle;
    background: #fff url(data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E) no-repeat right .75rem center;
    background-size: 8px 10px;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

div.dataTables_wrapper div.dataTables_filter {
    text-align: right;
}

    div.dataTables_wrapper div.dataTables_filter input {
        margin-left: .5em;
        display: inline-block;
        width: auto;
    }

#dataTables_info {
    display: none;
}

.label-input {
    top: -8px;
    left: 18px;
    font-size: .6875rem;
    will-change: left,top,contents;
    margin: 0;
    line-height: 1.4;
    font-weight: 400;
    position: absolute;
    z-index: 100;
    background: white;
    padding: 0px 5px;
}
.input-custom {
    border-radius: 0.25rem!important;
}



@media only screen and (max-device-width: 480px) {
    /*#datatables_length {
        display: none;
    }*/
    #datatables_filter {
        display: none;
    }
}

/* --- Top Hero Banner & Safe Area (Real iPhone Notch / Android Status Bar) --- */
.top-hero-decor {
    position: relative;
    background: linear-gradient(135deg, #01336b 0%, #014EA2 55%, #0273eb 100%);
    padding-top: calc(env(safe-area-inset-top, 0px) + 14px);
    padding-bottom: 62px;
    border-radius: 0 0 32px 32px;
    box-shadow: 0 6px 20px rgba(1, 78, 162, 0.25);
    margin-bottom: -48px;
    overflow: hidden;
    z-index: 0;
}

.top-hero-decor::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -30px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}

.top-hero-decor::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: -30px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.hero-badge-pill .dot-pulse {
    width: 6px;
    height: 6px;
    background-color: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 6px #4ade80;
}

/* Trang trí cho khung box đầu tiên */
.col-md-8.row.g-3 > .box:first-child {
    position: relative;
    z-index: 1;
    border-top: 4px solid #014EA2;
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(1, 78, 162, 0.14) !important;
    background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 65%) !important;
    padding: 14px 12px !important;
}

/* Riêng trên thiết bị iOS (iPhone) căn chỉnh theo vùng tai thỏ thật */
@supports (-webkit-touch-callout: none) {
    .top-hero-decor {
        padding-top: max(env(safe-area-inset-top, 16px), 16px);
    }
}

/* Riêng trên Android / Màn hình nhỏ */
@media (max-width: 576px) {
    .top-hero-decor {
        border-radius: 0 0 26px 26px;
        padding-bottom: 58px;
        margin-bottom: -45px;
    }
}