@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
@source '../../storage/framework/views/*.php';
@source '../**/*.blade.php';
@source '../**/*.js';

@theme {
    --font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

/* Animation Keyframes */
@keyframes step_id {
    0% {
        background-position: 0 0;
    }

    4% {
        background-position: 0 -205px;
    }

    8% {
        background-position: 0 -1230px;
    }

    12% {
        background-position: -1680px -615px;
    }

    16% {
        background-position: -1680px -820px;
    }

    20% {
        background-position: -1680px -1025px;
    }

    24% {
        background-position: -1680px -1230px;
    }

    28% {
        background-position: -1680px -1435px;
    }

    32% {
        background-position: 0 -1640px;
    }

    36% {
        background-position: -840px -1640px;
    }

    40% {
        background-position: 0 -410px;
    }

    44% {
        background-position: 0 -615px;
    }

    48% {
        background-position: -840px 0;
    }

    52% {
        background-position: -840px -205px;
    }

    56% {
        background-position: -840px -410px;
    }

    60% {
        background-position: -840px -615px;
    }

    64% {
        background-position: 0 -820px;
    }

    68% {
        background-position: -840px -820px;
    }

    72% {
        background-position: 0 -1025px;
    }

    76% {
        background-position: -840px -1025px;
    }

    80% {
        background-position: -840px -1230px;
    }

    84% {
        background-position: 0 -1435px;
    }

    88% {
        background-position: -840px -1435px;
    }

    92% {
        background-position: -1680px 0;
    }

    96% {
        background-position: -1680px -205px;
    }

    100% {
        background-position: -1680px -410px;
    }
}


.text-center {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto;
}

.m_subnav ol,
.m_subnav ul {
    padding-left: 0;
}

/* General Reset */
* {
    margin: 0;
    padding: 0;
    border: 0;
}

input {
    outline: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
}

li,
ol,
ul {
    list-style: none;
}

b,
strong {
    font-weight: 700;
}

em,
i {
    font-style: normal;
}

td,
th {
    text-align: center;
}

a {
    color: #956800;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

body {
    /* font: 16px/1.5 "Microsoft YaHei", sans-serif !important; */
    font: 16px/1.5 "Roboto", sans-serif !important;
    color: #000;
    min-width: 1292px;
    margin: 0 auto;
}

.g_wrap {
    width: 100%;
    zoom: 1;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
}

.g_wrap:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.g_cont {
    width: 1292px;
    margin: 0 auto;
    position: relative;
    height: 100%;
    text-align: left;
}

/* Header and Navigation */
.g_header {
    height: 900px;
    background: url(../images/bg_header.jpg) center top no-repeat;
    position: relative;
}

.g_main {
    height: 460px;
    background: url(../images/bg_main.jpg) center top no-repeat;
    position: relative;
    z-index: 2;
}

.g_nav {
    position: fixed;
    z-index: 999;
    width: 100%;
    min-width: 1292px;
    height: 75px;
    background: rgba(17, 17, 17, 0.85);
}

/* Navigation List */
.m_navList {
    position: relative;
    z-index: 11;
    padding: 25px 70px 0 0;
    float: right;
    text-align: right;
}

.m_navList .u_navItem {
    width: 115px;
    margin: 0 40px;
    display: inline-block;
    text-align: center;
    line-height: 1.2;
}

.m_navList .u_navItem .u_tit {
    font-size: 18px;
    color: #fff;
}

.m_navList .u_navItem.on .u_tit,
.m_navList .u_navItem:hover .u_tit {
    color: #ffe608;
}

.u_logo {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 12;
    font-size: 0;
    line-height: 0;
}

/* User Section */
.m_user {
    position: absolute;
    top: 600px;
    left: 50%;
    z-index: 6;
    margin-left: -418px;
}

/* Login Button */
.u_login {
    width: 836px;
    height: 201px;
    background-image: url(../images/_spriteLog.png);
    background-position: 0 0;
    display: inline-block;
    animation: step_id 2s steps(1, end) infinite;
}

.u_login .u_btn--start {
    float: left;
    display: block;
    margin: 65px 0 0 298px;
    width: 237px;
    height: 95px;
    overflow: hidden;
    font-size: 0;
    overflow: hidden;
    line-height: 0
}

.u_login .u_btn--start:hover {
    background: url(../images/_spriteImg_10.png) -1302px -685px no-repeat;
    width: 237px;
    height: 95px
}

/* .u_login .u_btn--start:hover {opacity: 0.8; cursor: pointer;} */

.m_rankHide {
    background: url(../images/_spriteImg_10.png) -1302px -533px no-repeat;
    width: 278px;
    height: 142px
}

.m_rankHide .u_btnShow {
    background: url(../images/_spriteImg_10.png) -1448px -901px no-repeat;
    width: 114px;
    height: 18px;
    display: block;
    font-size: 0;
    overflow: hidden;
    line-height: 0;
    position: absolute;
    top: 132px;
    left: 80px
}

.m_rankHide .u_btnShow:hover {
    background-image: url(../images/_spriteImg_10.png);
    background-position: -1448px -873px
}

/* Container for Ranked Show */
.m_rankShow {
    position: fixed;
    top: 0;
    right: 10px;
    z-index: 998;
    background: url(../images/_spriteImg_10.png) -1302px 0 no-repeat;
    width: 278px;
    height: 523px;
    overflow: hidden;
    color: white;
}

.m_rankShow .u_btnHide {
    background: url(../images/_spriteImg_10.png) -1448px -818px no-repeat;
    width: 114px;
    height: 18px;
    display: block;
    font-size: 0;
    overflow: hidden;
    line-height: 0;
    position: absolute;
    bottom: 18px;
    left: 80px
}

.m_rankShow .u_btnHide:hover {
    background-image: url(../images/_spriteImg_10.png);
    background-position: -1448px -790px
}

/* Rank Table */
.m_rankTable {
    float: left;
    margin: 146px 0 0 30px;
    width: 212px;
    font-size: 14px;
    text-align: center;
    border-collapse: collapse;
    border: 0;
}

.m_rankTable th {
    color: #360000;
    font-weight: 700;
    height: 28px;
}

.m_rankTable td {
    height: 30px;
    line-height: 24px;
}

.m_rankTable tr:nth-child(even) {
    background: url(../images/_spriteImg_10.png) -1302px -1039px no-repeat;
}

.m_rankTable .u_tdNum {
    width: 30px;
}

.m_rankTable .u_tdNum .u_num {
    color: #d05c12;
    font-weight: 700;
    display: block;
    line-height: 30px;
}

.m_rankTable .u_tdNum .u_num--1 {
    text-shadow: 1px 1px 1px rgba(121, 77, 11, .6);
    color: #fff;
    background: url(../images/_spriteImg_10.png) -1549px -717px no-repeat;
    width: 25px;
    height: 27px;
}

.m_rankTable .u_tdNum .u_num--2 {
    text-shadow: 1px 1px 1px rgba(48, 90, 146, .6);
    color: #fff;
    background: url(../images/_spriteImg_10.png) -1532px -956px no-repeat;
    width: 25px;
    height: 27px;
}

.m_rankTable .u_tdNum .u_num--3 {
    text-shadow: 1px 1px 1px rgba(173, 82, 21, .6);
    color: #fff;
    background: url(../images/_spriteImg_10.png) -1524px -1039px no-repeat;
    width: 25px;
    height: 27px;
}

.m_rankTable .u_tdName {
    width: 105px;
    font-weight: 700;
    color: #272727;
}

.m_rankTable .u_tdCount {
    font-weight: 700;
    color: #995906;
}

/* Additional Sections */
.g_page {
    background: #fff url(../images/bg_main.jpg) no-repeat center top;
    min-height: 460px;
    position: relative;
    z-index: 2;
}

.g_newsbg--y {
    float: left;
    background: url(../images/bg_y.png) repeat-y;
    width: 100%;
}

.g_newsbg {
    float: left;
    width: 100%;
    background: url(../images/bg_top.png) no-repeat;
}

.g_newsbg--bottom {
    background: url(../images/bg_bottom.png) 0 0 no-repeat;
    width: 1292px;
    height: 92px;
}

/* Breadcrumb */
.breadcrumb {
    padding-top: 70px;
    padding-right: 125px;
    font-size: 14px;
    color: #785143;
    text-align: right;
}

.breadcrumb .breadcrumb__item {
    display: inline-block;
    margin: 0 5px;
}

.breadcrumb .breadcrumb__item .breadcrumb__link {
    color: #785143;
}

.breadcrumb .breadcrumb__item .breadcrumb__link:hover {
    text-decoration: underline;
}

/* Article Section */
.article {
    margin: 0 auto;
    width: 1030px;
}

.article .article__title {
    margin-bottom: 10px;
    padding: 30px 0;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    text-align: center;
    border-bottom: 4px solid #8b6d4f;
}

.article .article__content {
    margin: 20px 0 0;
    line-height: 30px;
    color: #333;
}

/* Footer */
.footer2016 {
    padding: 50px 0 40px;
    font: normal 12px/1.6 "Microsoft YaHei";
}

.footer2016 a {
    color: #383838;
    text-decoration: none;
}

.footer2016 a:hover {
    text-decoration: underline;
}

.footer2016__cnt {
    margin: 0 auto;
    width: 1000px;
}

/* Page Navigation */
.page-nav-box {
    margin: 0 auto;
    padding: 15px 0;
    line-height: 34px;
    border-top: 1px solid #e7e8ee;
    color: #757575;
    text-align: center;
}

.page-nav-box a {
    color: #333;
}

.page-nav-box a:hover {
    color: #0084c2;
}

/* Other Classes */
.list {
    margin: 0 auto;
    width: 1030px;
}

.list .info__item {
    font-size: 16px;
    overflow: hidden;
    vertical-align: bottom;
    height: 40px;
    line-height: 40px;
    color: #333;
}

.list .info__item a {
    color: #333;
}

.list .info__item a:hover {
    color: #cc6300;
}

.list .info__item .info__type {
    padding-right: 5px;
}

.list .info__item .info__date {
    float: right;
    padding-left: 40px;
    color: #776967;
}

/* Sub-tab */
.sub-tab {
    margin: 0 auto 20px;
    width: 1030px;
    height: 46px;
    border-bottom: 4px solid #8b6d4f;
    line-height: 46px;
    text-align: center;
}

.sub-tab .sub-tab__item {
    position: relative;
    display: inline-block;
    vertical-align: top;
    margin: 0 20px;
    cursor: pointer;
    height: 46px;
}

.sub-tab .sub-tab__item.sub-tab__item--on {
    font-weight: 700;
    border-bottom: 4px #e6ad00 solid;
}

.sub-tab .sub-tab__item .sub-tab__link {
    display: block;
    padding: 0 28px;
    color: #000;
    text-align: center;
    font-size: 18px;
}

/* Pagination */
.page-box {
    padding-top: 30px;
    text-align: center;
}

.page-box .pagination .page-item .page-link {
    background: none;
    border: none;
    color: #6c757d;
    /* xám */
}

/* Khi hover: giữ nguyên màu xám nhưng có thể underline hoặc đậm */
.page-box .pagination .page-item .page-link:hover {
    color: #495057;
    /* đậm hơn một chút */
    text-decoration: underline;
    font-weight: bold;
}

/* Khi active: màu chữ nhạt hơn */
.page-box .pagination .page-item.active .page-link {
    color: #adb5bd;
    /* xám nhạt */
    font-weight: bold;
}

/* Khi bị disabled (ví dụ nút Previous đầu tiên) */
.page-box .pagination .page-item.disabled .page-link {
    color: #ced4da;
    /* xám nhạt hơn nữa */
    cursor: not-allowed;
}


/* Miscellaneous */
.m_tab {
    height: 65px;
    position: relative;
}

.m_tab .m_tabList {
    width: 480px;
    padding-left: 20px;
}

.m_tab .m_tabList .u_tabItem {
    position: relative;
    cursor: pointer;
    height: 65px;
    text-align: center;
    width: 110px;
    float: left;
}

.m_tab .m_tabList .u_tabItem .u_tabTit {
    line-height: 60px;
    font-weight: 700;
    color: #fff;
    font-size: 18px;
    text-shadow: 2px 1px 1px #665348;
}

.m_tab .m_tabList .u_tabItem.on .u_tabTit {
    color: #ffe400;
}

.m_tab .u_more {
    position: absolute;
    top: 20px;
    right: 20px;
    background: url(../images/_spriteImg_10.png) -1549px -754px no-repeat;
    width: 21px;
    height: 21px;
    z-index: 9;
}

.m_tab .u_more:hover {
    opacity: 0.65;
}

.m_newsCont {
    padding: 0 20px;
}

.m_newsCont .u_headLine {
    display: block;
    height: 30px;
    overflow: hidden;
    margin: 27px 30px 22px;
    color: #ffd44f;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.m_newsCont .m_newsList {
    width: 100%;
}

.m_newsCont .m_newsList li {
    overflow: hidden;
    vertical-align: bottom;
    height: 32px;
    line-height: 32px;
    font-size: 15px;
    border-bottom: 1px solid #6d544a;
}

.m_newsCont .m_newsList li a {
    color: #fff;
}

.m_newsCont .m_newsList li a:hover {
    color: #ffd000;
}

.m_newsCont .m_newsList li .u_newType {
    padding-right: 5px;
}

.m_newsCont .m_newsList li .u_date {
    float: right;
    padding-left: 20px;
}

.m_mainFrame {
    background: url(../images/_spriteImg_10.png) 0 0 no-repeat;
    width: 1292px;
    height: 494px;
    float: left;
    margin: -134px 0 0 -10px;
    position: relative
}

.u_service {
    font-size: 0;
    overflow: hidden;
    line-height: 0;
    display: block;
    overflow: hidden;
    background: url(../images/_spriteImg_10.png) -651px -719px no-repeat;
    width: 87px;
    height: 76px;
    position: absolute;
    top: 270px;
    left: -54px
}

.u_service:hover {
    background-image: url(../images/_spriteImg_10.png);
    background-position: -554px -719px
}

.m_pic {
    width: 550px;
    height: 280px;
    -webkit-border-radius: 10px 10px 0 0;
    border-radius: 10px 10px 0 0;
    margin: 2px 0 0 2px;
    float: left;
    overflow: hidden;
    position: relative
}

.m_pic .m_picList li {
    width: 550px;
    height: 280px;
    background: #fff
}

.m_pic .m_picFous {
    position: absolute;
    right: 4px;
    bottom: 4px;
    z-index: 9;
    text-align: right
}

.m_pic .m_picFous ul li {
    width: 12px;
    height: 12px;
    display: inline-block;
    _zoom: 1;
    _display: inline;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    background: #404040;
    overflow: hidden;
    cursor: pointer;
    margin-right: 5px;
    -webkit-transition: all .3s linear;
    -o-transition: all .3s linear;
    transition: all .3s linear
}

.m_pic .m_picFous ul li.on {
    width: 46px;
    background: #ffae00
}

.m_picBox {
    width: 554px;
    height: 357px;
    background: #3b2921;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    overflow: hidden;
    float: left;
    margin: 63px 0 0 63px
}


.m_subnav {
    background: url(../images/_spriteImg_10.png) -554px -504px no-repeat;
    width: 550px;
    height: 73px;
    float: left;
    margin: 0 0 0 2px
}

.m_subnav .m_subnavList {
    margin: 0 0 0 3px
}

.m_subnav .u_subnavItem {
    float: left;
    width: 136px;
    height: 73px;
    font-size: 0;
    overflow: hidden;
    line-height: 0;
    display: block;
    position: relative
}

.m_subnav .u_icon {
    display: block
}

.m_subnav .u_subnavItem:hover .u_icon {
    -webkit-animation: jello-horizontal .6s both;
    animation: jello-horizontal .6s both
}

.m_subnav .u_txt {
    display: block;
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s
}

.m_subnav .u_subnavItem:hover .u_txt {
    top: 2px
}

.m_subnav .u_subnavItem--down .u_txt {
    background: url(../images/_spriteImg_10.png) -1302px -790px no-repeat;
    width: 136px;
    height: 73px
}

.m_subnav .u_subnavItem--down .u_icon {
    background: url(../images/_spriteImg_10.png) -1302px -873px no-repeat;
    width: 136px;
    height: 73px
}

.m_subnav .u_subnavItem--pay .u_txt {
    background: url(../images/_spriteImg_10.png) -554px -587px no-repeat;
    width: 136px;
    height: 73px
}

.m_subnav .u_subnavItem--pay .u_icon {
    background: url(../images/_spriteImg_10.png) -700px -587px no-repeat;
    width: 136px;
    height: 73px
}

.m_subnav .u_subnavItem--vip .u_txt {
    background: url(../images/_spriteImg_10.png) -846px -587px no-repeat;
    width: 136px;
    height: 73px
}

.m_subnav .u_subnavItem--vip .u_icon {
    background: url(../images/_spriteImg_10.png) -992px -587px no-repeat;
    width: 136px;
    height: 73px
}

.m_subnav .u_subnavItem--forum .u_txt {
    background: url(../images/_spriteImg_10.png) -1302px -956px no-repeat;
    width: 136px;
    height: 73px
}

.m_subnav .u_subnavItem--forum .u_icon {
    background: url(../images/_spriteImg_10.png) -1114px -504px no-repeat;
    width: 136px;
    height: 73px
}

/* News table */
.m_news {
    float: left;
    background: url(../images/_spriteImg_10.png) 0 -504px no-repeat;
    width: 544px;
    height: 356px;
    overflow: hidden;
    margin: 62px 0 0 75px
}

/* Footer */
.footer2016 {
    padding: 50px 0 40px;
    font: normal 12px/1.6 "Microsoft YaHei";
}

.footer2016 a {
    color: #383838;
}

.footer2016 a:hover {
    text-decoration: underline;
}

.footer2016__cnt {
    width: 1000px;
    margin: 0 auto;
}

/* Gradient Background */
.g_newsbg--y {
    float: left;
    background: url(../images/bg_y.png) repeat-y;
    width: 100%;
}

.g_newsbg {
    float: left;
    width: 100%;
    margin: -140px 0 0;
    background: url(../images/bg_top.png) no-repeat;
}

.g_newsbg--bottom {
    background: url(../images/bg_bottom.png) 0 0 no-repeat;
    width: 1292px;
    height: 92px;
}





/*auth */
/* dành riêng cho modal "chưa đăng nhập" */
.not-login-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.not-login-modal.show {
    display: flex;
    opacity: 1;
    transform: scale(1);
}


/* 1. Wrapper Overlay + Flex Center */
.loginDiv {
    display: none;
    /* Ẩn mặc định */
    position: fixed;
    inset: 0;
    /* top/left/right/bottom = 0 */
    background: rgba(0, 0, 0, 0.8);
    /* overlay mờ */
    z-index: 1000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    /* Bắt đầu với độ mờ */
    transform: scale(0.8);
    /* Bắt đầu với kích thước nhỏ */
    transition: opacity 0.3s ease, transform 0.3s ease;
    /* Thêm hiệu ứng */
}

.loginDiv.show {
    display: flex;
    opacity: 1;
    /* Độ mờ đầy đủ */
    transform: scale(1);
    /* Kích thước bình thường */
}

/* 2. Popup Box */
.login-container {
    background: #fff;
    border-radius: 8px;
    width: 100%;
    max-width: 360px;
    padding: 20px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* 3. Close button */
.login-close {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 20px;
    cursor: pointer;
    color: #666;
}

.login-close:hover {
    color: #333;
}

/* 4. Tabs */
.login-tabs {
    display: flex;
    margin: 0 0 15px;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid #ddd;
}

.login-tabs .tab {
    flex: 1;
    text-align: center;
}

.login-tabs .tab a {
    display: block;
    padding: 8px 0;
    text-decoration: none;
    color: #555;
}

.login-tabs .tab.active a {
    font-weight: bold;
    color: #000;
    border-bottom: 2px solid #000;
}

/* 6. Form */

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
    
/* .popup-form input {
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.popup-form input:focus {
    border-color: #0284c7;
    outline: none;
}

.popup-form label {
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    white-space: nowrap;
}

.popup-form button {
    width: 100%;
    padding: 10px 0;
    background: #0284c7;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.popup-form button:hover {
    background: #0273b1;
} */

/* .input-group {
    position: relative;
    margin-bottom: 10px;
}

.input-group .input-icon {
    position: absolute;
    top: 40%;
    left: 10px;
    transform: translateY(-50%);
    color: #999;
    z-index: 1;
}


.input-group input {
    width: 100%;
    padding: 8px 10px 8px 35px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
} */


.error-message {
    color: red;
    margin: 10px 0;
    font-size: 0.9em;
}

.error-message ul {
    margin: 0;
    padding-left: 20px;
}

.g_rank {
    top: 35px;
    right: 10px;
    position: fixed;
    z-index: 998;
}

/* Input Group Styles */
.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.input-group>.form-control,
.input-group>.form-select,
.input-group>.form-floating {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

.input-group>.form-control:focus,
.input-group>.form-select:focus,
.input-group>.form-floating:focus-within {
    z-index: 5;
}

.input-group .btn {
    position: relative;
    z-index: 2;
}

.input-group .btn:focus {
    z-index: 5;
}

/* Textual addons */
.input-group-text {
    display: flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

/* Sizing */
.input-group-lg>.form-control,
.input-group-lg>.form-select,
.input-group-lg>.input-group-text,
.input-group-lg>.btn {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    border-radius: 0.3rem;
}

.input-group-sm>.form-control,
.input-group-sm>.form-select,
.input-group-sm>.input-group-text,
.input-group-sm>.btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.2rem;
}

.input-group-lg>.form-select,
.input-group-sm>.form-select {
    padding-right: 3rem;
}

/* Rounded corners */
.input-group:not(.has-validation)> :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),
.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n + 3),
.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,
.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group.has-validation> :nth-last-child(n + 3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),
.input-group.has-validation>.dropdown-toggle:nth-last-child(n + 4),
.input-group.has-validation>.form-floating:nth-last-child(n + 3)>.form-control,
.input-group.has-validation>.form-floating:nth-last-child(n + 3)>.form-select {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group> :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    margin-left: -1px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group>.form-floating:not(:first-child)>.form-control,
.input-group>.form-floating:not(:first-child)>.form-select {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
