@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&family=Montserrat:wght@300;400;500;700;900&family=Open+Sans:wght@300;700;800&family=Quicksand:wght@300;400;500;700&family=Roboto:ital,wght@0,100;0,500;1,300&display=swap");
@charset "utf-8";
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.tp-btn_c {
    display: flex;
}
.tp-logo-sidebar {
    max-height: 65px;
}
.bp-sidebar-menu .btn-close {
    --bs-btn-close-bg: none;
    position: absolute;
    top: 12px;
    right: 15px;
}


.tp-post__meta {
    padding-bottom: 5px;
}
.tp-btn{
    display: inline-flex !important; 
    align-items: center;
    justify-content: center;
}

.bp_comment input{
    margin-bottom: 12px;
}

.video-content-section {
    min-height: 760px !important;
    display: flex;
    justify-content: center;
    align-items: center;
}
.btn-as-link{
    background: none;
    border: 0;
    padding: 0;
    color: #000000;  /* màu link bootstrap */
    text-decoration: none;
    cursor: pointer;
    text-align: start;
}
.bp-news-button-action {
    display: flex;
}
.btn-as-link:hover{
    color:#000000;
}
.bp_search_item_link_active{
    font-weight: bold !important;
    color: #000 !important;
}
.tp-feature__figure {
    width: 100%;
    display: flex;
}
.tp-post__actions_c {
    width: 100%;
    display: flex;
}
.tp__actions_c {
    width: 100%;
    display: flex;
}
.content_button_link_container {
    display: flex;
}
.tp-post__meta label {
    padding-right: 12px;
}
.deviceFrame { 
    height: 100%;
    width:100%;
}
/*thiết lập lớp phủ của module*/

.tp_module {
  position: relative;
}

/* overlay nằm dưới */
.tp_module > .tp-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.tp_module:has(> .tp-bg-overlay) > *:not(.tp-bg-overlay) {
    position: relative; 
}

.dropdown-toggle{
    color: #000000 !important;
}
img{
    max-width: 100%;
}
a {
    text-decoration: none;
    color: #121212;
}
ul,li {
    list-style-type: none;
}



/* CSS Document */
.btn-see-more {
    background: rgb(13, 202, 240);
    border: none;
    border-radius: 8px;
    width: 120px;
    height: 50px;
}
.bp_menu_active{
    border: 1px solid  #cccccc;
}
.tp-post__number {
    display: none;
}
.btn-see-more i {
    color: #121212;
    font-size: 20px;
}
.star-light
		{
			color:#e9ecef;
		}
    .bp-heart-fill{color: #C305CF;}
.bp-heart {
  margin-top: 12px;
}	
    .bp-product-view-grid.active{
        color: red;
    }
 .bp-product-view-row.active{
        color: red;
    }
.bp-result{padding-right: 7px;}
.bp-date{padding-right:3px;}
.bp-month{padding-right:3px;}
.bp-year {padding-right:3px;}
.bp-sidebar-menu{width: 70% !important;}
.bp_cls_cart_item{width:35px;}
.bp_wishlist_item{width:35px;}
.bp_icon_account{width:35px;}
.nav-link {display:inline; color: black;}
.bp_cls_dropdown{padding:0px;}
.bp_cls_icon_cart {font-size:23px;}
.bp_cls_icon_cart_fill {font-size:23px;}
.bp_group_quantity{display: inline;}
.bp_btn_action_cart{display: inline;}
.bp_text_search{display: none;}
.bp_checkout_quantity{font-size: 12px;}
.bp_checkout_price{font-size: 12px;}
.bp_news_date{display: none;}
.bp_icon_account{font-size:23px;}   
.bp_tag_item_link {padding-right: 10px; border: 1px solid #ccc; padding-left: 10px; padding-top: 5px; padding-bottom: 5px; margin-right: 10px;}
.bp_bg_review_name{width:50px;height:50px;    border-radius: 50%;}
.bp_img_product {
    height: 600px;
}
/*.swiper {
	height:auto
    width: 100%;
	overflow:hidden;
}*/

.cls_img_product_focus {
    position: relative;
}
.bp_product_item {
    position: relative;
}
.bp_img_product{
    position: relative;
}
.bp_product_item_hot {
    display: none;
}
.bp_discount_percent {
    background: red;
    color: #ffffff;
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    margin-left: 3px;
}
.cart-item-image-checkout{
    width: 30px;
    height: 30px;
    border: #E0E0E0 1px solid;
    vertical-align: middle;
    
}
.navbar-expand-md .navbar-nav .dropdown span.nav-link {
    padding: 0;
}


.btnAddToCart{
    background-color: #efefef;
    border:#E0E0E0  1px solid;
    padding: 5px 10px;
    color: #d00000;
    text-decoration: none;
    border-radius: 3px;
    margin: 1px 1px;
}
.bp_cls_product_color {display:inline;}
.bp_cls_product_color td{padding-right:5px;}





.product-quantity{width: 55px;  margin-right: 2px;margin-left: 2px;}
.btnup .btndown{
    border: 0px;
    background-color: #ccc;
    padding: 1px;
    margin-right: 2px;margin-left: 2px;
}
.bp_cls_icon_client {width: 25px;}
p {
    margin-top: 0;
    margin-bottom: 5px;
}
.form-signin {
  width: 100%;
  max-width: 330px;
  padding: 15px;
  margin: auto;
}
.btnRemoveAction img {width:20px;}
.img-captcha {width:80px;}
#shopping-cart {
	margin: 40px;
}

#product-grid {
	margin: 40px;
}

#shopping-cart table {
	width: 100%;
	background-color: #F0F0F0;
}

#shopping-cart table td {
	background-color: #FFFFFF;
}
#forgot_password{
   	margin: 40px;
}
#signin {
   	margin: 40px;
}
    
.txt-heading {
	color: #211a1a;
	border-bottom: 1px solid #E0E0E0;

	font-weight:bold;
}

#btnEmpty {
	background-color: #ffffff;
	border: #d00000 1px solid;
	padding: 5px 10px;
	color: #d00000;
	float: right;
	text-decoration: none;
	border-radius: 3px;
	margin: 10px 0px;
}
#btn-checkout {
	background-color: #ffffff;
	border: #d00000 1px solid;
	padding: 5px 10px;
	color: #d00000;
	float: right;
	text-decoration: none;
	border-radius: 3px;
	margin: 10px 10px;
}
#btn-continue {
	background-color: #ffffff;
	border: #d00000 1px solid;
	padding: 5px 10px;
	color: #d00000;
	float: right;
	text-decoration: none;
	border-radius: 3px;
	margin: 10px 10px;
}
#btnSignin {
	background-color: #ffffff;
	border: #d00000 1px solid;
	padding: 5px 10px;
	color: #d00000;
	text-decoration: none;
	border-radius: 3px;

}
#btn_ResetPassword {
	background-color: #ffffff;
	border: #d00000 1px solid;
	padding: 5px 10px;
	color: #d00000;
	text-decoration: none;
	border-radius: 3px;

}
#btnUpdate {
    background-color: #ffffff;
	border: #d00000 1px solid;
	padding: 2px 2px;
	color: #d00000;
	text-decoration: none;
	border-radius: 1px; 
}    
.btnAddAction {
    margin-left: 5px;
    padding: 5px 10px;
    background-color: #efefef;
    border: #E0E0E0 1px solid;
    color: #211a1a;
    text-decoration: none;
    border-radius: 3px;
    cursor: pointer;
}


.form-signin .checkbox {
  font-weight: 400;
}
.cls_btn_image_product {border: 1px solid #ccc;}
.form-signin .form-floating:focus-within {
  z-index: 2;
}

.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}


.form-signin input[type="password"] {
  margin-bottom: 5px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.bp_paging span b {color: black;}

.bp_img_news img { padding:2px; width:100%; border-radius: 5px;}
.bp_img_product img{width:100%; border-radius: 5px;}
.cls_img_product_focus img {width:100%;}
.cls_product_sub_price{display: inline;}
.product-image img{width:100%; border-radius: 5px;}
.cls_content_hot_news {padding:5px;}
.cls_img_hot_news  {padding:5px;}
.cls_price_number {font-weight:bold;color:red;}
.cls_unit_price{font-weight:bold;color:red;}
.cls_btn_image_product {width:70px; height:35px;margin-top:5px; }
.bp_content_slide{text-align: left;}
.box_border_admin{border:dashed 1px #D5D5D5;min-height: 30px;}
.card-title h5 {font-size:16px !important; padding:3px}
.cls_img_hot_news img{  border-radius: 3px; width:100%
}
.edit_box{
    position: relative;
}
.bp_msg_show {
    color: #f80707;
}
.cls_main_image_details{
	width: 100%;height:380px; 
	max-height:100%;
	background-repeat: no-repeat;
	background-position: top;
	background-size: 100% 100%;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/********** back to top*********************/
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}
.btn-primary,
.btn-outline-primary:hover {
    color: #F1F3FA;
}
.btn-lg-square {
    width: 48px;
    height: 48px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}
/**********End back to top*********************/
/* Accordion */

.list-accordion a { color: #000;}
.list-accordion a:hover { color: #333d4a;}    
.icon_list_menu {font-weight: 800;}    
.bp_list_item_key {font-weight: 500;}   
/* End Accordion */
.text_slide {
    bottom: 10%;
    position: absolute;
	text-align:center;
}
.text_slide_center_bottom_5 {
    bottom: 5%;
    position: absolute;
	text-align:center;
}
.text_slide_center_bottom_25 {
    bottom: 25%;
    position: absolute;
	text-align:center;
}
.text_slide_center_bottom_35 {
    bottom: 35%;
    position: absolute;
	text-align:center;
}
.text_slide_center_bottom_45 {
    bottom: 45%;
    position: absolute;
	text-align:center;
}
.text_slide_center_bottom_50 {
    bottom: 50%;
    position: absolute;
	text-align:center;
}
.text_slide_center_bottom_70 {
    bottom: 70%;
    position: absolute;
	text-align:center;
}
.text_slide_center_bottom_90 {
    bottom: 90%;
    position: absolute;
	text-align:center;
}
.text_slide_left {
    bottom: 8%;
    position: absolute;
    left: 10%;
	text-align:left;
}
.text_slide_left_5 {
    bottom: 8%;
    position: absolute;
    left: 5%;
	text-align:left;
}
.text_slide_left_25 {
    bottom: 8%;
    position: absolute;
    left: 25%;
	text-align:left;
}
.text_slide_right {
    bottom: 8%;
    position: absolute;
    right: 10%;
	text-align:right;
}
.text_slide_right_5 {
    bottom: 8%;
    position: absolute;
    right: 5%;
	text-align:right;
}
.text_slide_right_25 {
    bottom: 8%;
    position: absolute;
    right: 25%;
	text-align:right;
}
/**************Dropdown menu*****************/
 .dropdown_admin .dropdown-toggle {
    font-size: 12px;
    padding: 0px 5px;
    background: #f3f3f7;
}

.dropdown_admin .dropdown-toggle:hover {
    background: #f3f3f7;
}

.dropdown_admin {
    display: inline-block;
}
/*******************************************/

.clear { clear: both }
/* style for the css menu dropdown container */
.bp_menu {
    position:relative;
    display:inline-block;
    z-index:2; 
	padding:0px;
	
    margin:0;
    outline:0;
	background-color:#C9C3C3;
	color:#000;
    text-align:left;
}

/* style for the button */
.bp_menu:before {
    /*content: "click Menu"; */
    color:#333;
    padding: 0px 0px;
    border: 1px solid #555;
    background: #C9C3C3;
    
}

.bocuc .tuychon {position: relative;z-index: 1;}

.bp_menu:focus { pointer-events:none; }

/* If :focus detected the dropdown menu is displayed by making it visible */
.bp_menu:focus .bp_menu-dropdown { opacity:1; visibility:visible; }

/* style for the dropdown box */
.bp_menu-dropdown {
    background-color: #fff;
    width: auto;
    margin:5px 0 0 0;
    padding: 10px;
    border-radius:3px;
    border:1px black solid;
    border-radius:3px;
    pointer-events: auto;
    position: absolute;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: visibility 1s;
    background: #fff;
    
}

/* style the links in the dropdown */


.bp_menu-dropdown a {
    background:transparent;
    border:none;
    outline:0;
    display:block;
    color:#000;
    text-decoration:none;
    width:160px;
    padding:5px;
}

.box_border_admin_login {


    border: 1px dashed  #ccc;
    padding: 5px 10px;

}





/*******************MENU*************************/
       /* Phần css thêm của megamenu và nav-link(thẻ a) tránh lỗi khi hover chưa hết vùng bị tắt menu */
      .nav-link {
        padding: 10px 0;
      }
      .navbar .megamenu {
        padding: 1rem;
      }
      .navbar {
        padding: unset;
      }
      @media all and (min-width: 992px) {
        .navbar .has-megamenu {
          position: static !important;
        }
        .bp_toggle_arrow {
                padding-right: 7px;
            }
          
        .navbar .megamenu {
          left: 0;
          right: 0;
          width: 100%;
          margin-top: 0;
        }
      }
      /* Phần css thêm của megamenu */
       
    
        .dropdown-menu li {
            position: relative;
        }
        
        .dropdown-menu .submenu {
            display: none;
            position: absolute;
            left: 100%;
            top: -7px;
        }
        
        .dropdown-menu>li:hover>.submenu {
            display: block;
        }
        
        .dropdown-menu .submenu-left {
            right: 100%;
            left: auto;
        }
        
        @media only screen and (max-width:800px) {
            .dropdown-menu .submenu {
                left: 25%;
                top: 0px;
            }
            .dropdown-menu .multi-menu {
                left: 95%;
            }
            .dropdown-menu .submenu-left {
                left: 50%;
            }
            .bp_toggle_arrow {
                padding: 5px 30px 0 10px;
                font-size: 20px;
            }
        }
        
/**********************/
        
     @media screen and (min-width:992px) {
        .dropdown:hover > .dropdown-menu {
        display: block;
      }
     }
        
        .bp_sub_menu li {
            padding: 0;
        }

        .bp_sub_menu li a {
            padding: 8px;
        }
        .bp_nav_link{
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
/**********************/
        
     @media screen and (min-width:992px) {
        .dropdown:hover > .dropdown-menu {
        display: block;
      }
     }
        
/******************END Menu************************/



/*****************menu option ********************/

   	


        .menu_option ul {
	        list-style-type: none;
        }

        .menu_option > ul {
            border: 1px solid #dddddd;
        }

   	    .menu_option > ul {
   	    	padding: 0;
   	    }

   	    .menu_option  ul li {
   	    	position: relative;            
            padding: 0 10px;
   	    }

   	    .menu_option  ul li > a {
   	    	display: flex;
   	    }

   	    .menu_option  ul li > span {
   	    	display: flex;
		    align-items: center;
		    justify-content: space-between;
   	    }

        .bp_list_item button {
	        background: transparent;
	        border: none;
	    }

        .menu_option ul li a {
        	text-decoration: none;
	        padding: 8px 0;
        }

        .menu_option ul li ul {
	        padding-left: 10px;
        }

        /* MENU OPTION HOVER */

        .menu_option_hover  ul {
            border: 1px solid #dddddd;
        }

        .menu_option_hover ul li ul {
        	display: block !important;
        	min-width: 250px;
        	position: absolute;
        	top:0;
        	left: 100%;
        	opacity: 0;
        	visibility: hidden;
            padding:0;
        }

        .menu_option_hover i.bi-chevron-down:before {
        	transform: rotate(-90deg);
        }

        .menu_option_hover ul li:hover > ul {
        	opacity: 1;
        	visibility: visible;
        }

/***************** End menu option ********************/


/* MENU NGANG */

.bp_menu_hor_logo {padding-right: 20px;}

.bp_link_logo {
    margin: 0;
    padding: 0;
}

.bp_menu_hor_logo img {
    width: auto;
    height: 28px;
}


.navbar .container-fluid {
    padding: 0;
}


.navbar ul.dropdown-menu  li:hover {
    background-color: #e9ecef;
}

.navbar  ul.navbar-nav > li,
.navbar  ul.dropdown-menu li {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    position: relative;
}

.navbar  ul.dropdown-menu li {
    padding: 10px;
}


.navbar .navbar-collapse ul.navbar-nav li a {
    padding: 0;
    width: 100%;
}

.navbar .dropdown-toggle,
.navbar .bp_menu_icon {
    padding: 0 0 0 1rem;
    font-size: 1rem;
}

.navbar .dropdown-toggle:after {
    content: "\F282";
    font-family: bootstrap-icons;
    border: none;
}

.navbar .dropdown-menu {
    top: 100%;
    left: 0;
}

.navbar ul ul ul.dropdown-menu {
    left: 100%;
    top: 0;
} 

.navbar ul.dropdown-menu {
    top: 100%;
    min-width: 180px;
	z-index:10;
}

/* Megamenu */

/*Not container-fluid, not container*/

.navbar {
    position: relative;
}

/*container-fluid | container*/


.container-fluid:has(.megamenu):not(.navbar .container-fluid),
.container:has(.megamenu):not(.megamenu .container) {
    position: relative;
}



/* container-fluid & container */

.container-fluid > .container:has(.megamenu):not(.megamenu .container) {
    position: unset;
}

.container-fluid .navbar,
.container .navbar {
    position: unset;
}



.navbar .megamenu {
    padding: 0;
}


:not(.container-fluid)>.container .navbar .megamenu {
    background: none;
    border: none;
}


.megamenu .container .row {
    padding: 1rem;
    margin: 0;
    background: #ffffff;
    border-radius: 5px;
}


:not(.container-fluid) > .container .navbar .megamenu .container .row {
    border: 1px solid #cccccc;
}


.megamenu h6 {
    font-weight: bold;
    margin-bottom: 0;
}

.megamenu .col-megamenu h6.bp_megamenu_h6 a.bp_megamenu_title, 
.megamenu .col-megamenu ul li a.bp_megamenu_item {
    display: block;
    padding: 0.5rem 0;
    color: #111111;
}

/* RESPONSIVE*/

@media only screen and (min-width: 768px) {
    .navbar .has-megamenu {
        position: unset !important;
    }
}

@media only screen and (max-width: 991px) {
    .megamenu  .row > div {
        margin-bottom: 10px;
    }
}


@media only screen and (max-width: 767px) {
    .navbar .megamenu  {
        position: absolute;
    }
    
    .navbar ul.navbar-nav  li.dropdown {
        flex-wrap: wrap;
    }
    
    .navbar ul.navbar-nav  li.dropdown a {
        width: unset;
    }
    
    .navbar ul.navbar-nav  li.dropdown ul {
        position: unset;
        width: 100%;
    }
    
    .navbar ul.navbar-nav  li ul ul {
        border: none;
    }
    
    .navbar ul.dropdown-menu li:hover {
        background-color: transparent;
    }
    
    .navbar li.dropdown i.bp_menu_icon {
        transform: rotate(90deg);
        padding: 0 2rem;
    }
    
    .navbar .dropdown-toggle {
        padding: 0 0 0 2rem;
    }
}

/*menu_module*/

span.dropdown.dropdown_module {
    display: inline-block;
}

.dropdown_module  ul.dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    transform: translate(0) !important;
}
:root {
  --red-color: #ce0000;
  --border-color:#dddddd;
}



/*css cho phàn BOX*/
.box {
  
    border: 1px dashed  #ccc;
    position: relative;
    min-height: 30px;
    padding: 5px 10px;

}

.box_u {

/*    margin: 0 0 30px; */
    /*border: 1px solid #077dd4;*/
    position: relative;
    min-height: 30px;


}

.box:last-child {
    margin: 0;
}

/*nut tuy chon*/
.box .tuychon {
    display: inline-block;
    position: absolute;
    left: -1px;
    top: -24px;
}

.box  div.btn-tuychon {
    padding: 3px 10px;
    font-size: 13px;
    border: 1px solid var(--border-color);
}

.box  div.btn-tuychon:hover, .box .chucnang a:hover {
    color: var(--red-color);
}

div.module .form-check:hover {
    color: var(--red-color);
}
div.module {
    /*font-size: 15px;
    padding: 5px 25px;
    position: fixed;
    top: 0;
    right: 50%;
    z-index: 99999;
   display: flex;*/
}
/* theme  */
.category-items {margin-bottom: 20px; margin-top: 25px; margin-left: 10px;}
.theme-image {max-height: 150px; overflow: hidden;}
.items-link{border: 1px solid #ccc; padding: 5px; margin-right: 13px; margin-bottom: 10px;}
.theme-code{ text-align-last: center;}
.theme-href{ text-align-last: center;}
.theme-img {width: 100%;}
.theme-item {
            margin-bottom: 20px;
        }
        .item-box {
            border: 1px solid #cccccc;
            padding: 5px;
        }

/*******hover icon cart*************/
.bp_cls_cart_item {
    position: relative;
}
.bp_cls_cart_item:hover .bp_cart_items_list {
    opacity: 1;
    visibility: visible;
}

.bp_cls_cart_item  .bp_cart_items_list {
    position: absolute;
    top: 100%;
    right: 0;
    width: 270px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}
/**************Search product results ******************/
.bp_search_item_img{width: 40px;}
.bp_search_product_item>* {
    display: inline-block;
    padding: 0 10px;
}
/**************news style ******************/
.bp_lb_user {padding-right: 15px;}
.bp_lb_comment {padding-right: 15px;}
.bp_lb_date {padding-right: 15px;}


/* (A) GALLERY WRAPPER */

/* (A1) BIG SCREENS - 3 IMAGES PER ROW */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 10px;
  /*max-width: 1200px;*/
  margin: 0 auto; /* horizontal center */
}
 
/* (A2) SMALL SCREENS - 2 IMAGES PER ROW */
@media screen and (max-width: 640px) {
.gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
 
/* (B) THUMBNAILS */
 .gallery a img {
  width: 100%;
  height: 200px;
  object-fit: cover; /* fill | contain | cover | scale-down */
  border: 1px solid #cdcdcd;
  cursor: pointer;
}
 
/* (C) FULLSCREEN IMAGE */
.gallery a img.full {
  position: fixed;
  top: 0; left: 0; z-index: 999;
  width: 100vw; height: 100vh;
  object-fit: contain; /* fill | contain | cover | scale-down */
  border: 0;
  background: #fff;
}
/* (D) OPTIONAL ANIMATION */
.gallery { overflow-x: hidden; }
.gallery a img { transition: all 0.3s; }



     .gallery     a {
            color: #009688;
            text-decoration: none;
        }


/*FORM */
.bp_form_label_up{display: block;margin-bottom: 0px; padding-right: 5px;}
.bp_form_field {margin-top: 7px;margin-bottom: 0px; padding-right: 5px;}
.bp_form_label_radio {
    display: block;
}
/*Modal product preview  */
.bp-modal-close{
    position:absolute;
    top:0;
    right:0;
    z-index:999999;
    display:inline;
}
/*bp-btn-product-preview*/
.bp-btn-link{
     border: 0px;
    background-color: transparent;
    text-decoration: underline;
}

/***********GALLERY LIGHT*********/
    
            .bp-gallery > ul {
                margin-bottom: 0;
            }
            .bp-gallery > ul > li {
                float: left;
                margin-bottom: 15px;
                margin-right: 20px;
                width: 200px;
            }
            .bp-gallery > ul > li a {
                border: 3px solid #FFF;
                border-radius: 3px;
                display: block;
                overflow: hidden;
                position: relative;
                float: left;
            }
            .bp-gallery > ul > li a > img {
                -webkit-transition: -webkit-transform 0.15s ease 0s;
                -moz-transition: -moz-transform 0.15s ease 0s;
                -o-transition: -o-transform 0.15s ease 0s;
                transition: transform 0.15s ease 0s;
                -webkit-transform: scale3d(1, 1, 1);
                transform: scale3d(1, 1, 1);
                height: 100%;
                width: 100%;
            }
            .bp-gallery > ul > li a:hover > img {
                -webkit-transform: scale3d(1.1, 1.1, 1.1);
                transform: scale3d(1.1, 1.1, 1.1);
            }
            .bp-gallery > ul > li a:hover .bp-gallery-poster > img {
                opacity: 1;
            }
            .bp-gallery > ul > li a .bp-gallery-poster {
                background-color: rgba(0, 0, 0, 0.1);
                bottom: 0;
                left: 0;
                position: absolute;
                right: 0;
                top: 0;
                -webkit-transition: background-color 0.15s ease 0s;
                -o-transition: background-color 0.15s ease 0s;
                transition: background-color 0.15s ease 0s;
            }
            .bp-gallery > ul > li a .bp-gallery-poster > img {
                left: 50%;
                margin-left: -10px;
                margin-top: -10px;
                opacity: 0;
                position: absolute;
                top: 50%;
                -webkit-transition: opacity 0.3s ease 0s;
                -o-transition: opacity 0.3s ease 0s;
                transition: opacity 0.3s ease 0s;
            }
            .bp-gallery > ul > li a:hover .bp-gallery-poster {
                background-color: rgba(0, 0, 0, 0.5);
            }
            .bp-gallery .justified-gallery > a > img {
                -webkit-transition: -webkit-transform 0.15s ease 0s;
                -moz-transition: -moz-transform 0.15s ease 0s;
                -o-transition: -o-transform 0.15s ease 0s;
                transition: transform 0.15s ease 0s;
                -webkit-transform: scale3d(1, 1, 1);
                transform: scale3d(1, 1, 1);
                height: 100%;
                width: 100%;
            }
            .bp-gallery .justified-gallery > a:hover > img {
                -webkit-transform: scale3d(1.1, 1.1, 1.1);
                transform: scale3d(1.1, 1.1, 1.1);
            }
            .bp-gallery .justified-gallery > a:hover .bp-gallery-poster > img {
                opacity: 1;
            }
            .bp-gallery .justified-gallery > a .bp-gallery-poster {
                background-color: rgba(0, 0, 0, 0.1);
                bottom: 0;
                left: 0;
                position: absolute;
                right: 0;
                top: 0;
                -webkit-transition: background-color 0.15s ease 0s;
                -o-transition: background-color 0.15s ease 0s;
                transition: background-color 0.15s ease 0s;
            }
            .bp-gallery .justified-gallery > a .bp-gallery-poster > img {
                left: 50%;
                margin-left: -10px;
                margin-top: -10px;
                opacity: 0;
                position: absolute;
                top: 50%;
                -webkit-transition: opacity 0.3s ease 0s;
                -o-transition: opacity 0.3s ease 0s;
                transition: opacity 0.3s ease 0s;
            }
            .bp-gallery .justified-gallery > a:hover .bp-gallery-poster {
                background-color: rgba(0, 0, 0, 0.5);
            }
            .bp-gallery .video .bp-gallery-poster img {
                height: 48px;
                margin-left: -24px;
                margin-top: -24px;
                opacity: 0.8;
                width: 48px;
            }
            .bp-gallery.dark > ul > li a {
                border: 3px solid #04070a;
            }
           
/*******Category option*********/
.bp_category_option {
    display: table-row;
    flex-wrap: wrap;
    padding: 0;
    margin: 0
}
.bp_category_option li h3 {
    font-weight: normal;   
    font-size: 14px;
}
.bp_category_option li a {
   margin-right: 10px;
    
}
.bp_category_option li.active a {
    font-weight: bold;    
    color: red;
}
.bp-customer{
    color: black;
}
.bp-offcanvas{
    color: black;
}
.bp-btn-product-preview{
    display: none;
}
.bp-icon-cart{
      display: none;
}
.bp-cart-summary h3{
    font-size: 30px;
}
.bp-cart-summary h5{
    font-weight: bold;
}

/***** Nut close *****/

.modal-product-preview .bp-modal-close {
    background: #b0a1a1;
    padding: 5px;
    border-radius: 50%;
    transform: translate(40%, -40%);
}
.bp-quick-view{
    display: none;
}

/***** Product preview *****/

.bp_product_preview > .row {
    align-items: center;
}

#shopping_form {
  margin-top: 15px;
}

.bp_group_quantity {
    display: inline-flex;
}

.bp_group_quantity button,
.bp_group_quantity input {
  color: #000000;
  width: 50px;
  min-height: 50px;
  border: 1px solid #e4e4e4;
  background: transparent;
  font-size: 20px;
}

.bp_group_quantity input {
  display: unset;
  margin-right: 0;
  margin-left: 0;
  text-align: center;
  border-left: none;
  border-right: none;
}

.product-quantity::-webkit-outer-spin-button,
.product-quantity::-webkit-inner-spin-button {
  display: none;
}

.bp_btn_action_cart .btnAddAction, 
.bp_btn_action_cart .btnAddToCart {
    margin-left: 8px;
    padding: 10px 25px;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.3s;
}

.bp_btn_action_cart .btnAddToCart {
    margin-left: 0;
    display: block;
    margin-top: 15px;
}

/*product change image over*/

.bp-change-image {
  position: relative;
}

.bp-upper-image {
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.3s;
  opacity: 0;
}

.bp-upper-image:hover {
  opacity: 1;
}
.hide{
    display: none;
}
.show{
    display: block;
}
.bp-product-color.active{
    border: #ccc 2px solid;
}
.bp-cls-msg-size{
    color: firebrick;    
}
.bp-cls-msg-color{
    color: firebrick;    
}
.bp-product-color{
    margin-right: 7px;
}
.bp-link-color{
    display: block;
    width: 50px;
}
.bp-color-name{
    display: inline;
}

/************/


#bp_size_value span {
    display: block;
}
    .bp-lb-size {
   margin-top: 10px;
    margin-bottom: 10px;
    }
    .bp-lb-size span{
        margin: 0!important;
        padding: 0!important;
    }    
    .bp-product-h span{
        margin: 0;
        padding: 0;
    }    
.bp-product-size-c [type=radio] { 
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* IMAGE STYLES */
.bp-product-size-c [type=radio] + span {
  cursor: pointer;
  border: 1px solid #ccc;
}

/* CHECKED STYLES */
.bp-product-size-c [type=radio]:checked + span {
  outline: 2px solid #f00;
}
.bp-product-size-c span{
margin:10px;
Padding:15px;
}
    
/********Slide********/
    
.swiper-container {
all:unset;
}

.swiper-slide {
/*  text-align: center;*/
flex-shrink:0;
box-sizing:border-box;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}*/

/* Thumbnail 2 bên */
.bp_img_product {
  /*max-width: 500px;*/
}
.bp_img_product.right-thumbnail {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.bp_img_product.left-thumbnail {
  display: flex;
  flex-direction: row-reverse;
  gap: 10px;
}
.bp_img_product.header-thumbnail {
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
} 
.bp_img_product.right-thumbnail .bp_details_image_thumb .swiper-wrapper,
.bp_img_product.left-thumbnail .bp_details_image_thumb .swiper-wrapper {
display:flex;
}

/* Css tuỳ chọn sản phẩm */
.setting-thumbnail {
  justify-content: center;
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}
.setting-thumbnail img {
  width: 150px;
  height: 100px;
}
.setting-thumbnail input[type="radio"] {
  opacity: 0;
  position: absolute;
}

.setting-thumbnail label img {
  opacity: 0.6;
  transition: 0.3s;
}

.setting-thumbnail input[type="radio"]:checked + label img {
  opacity: 1;
}    
/*Slide image product*/    

/*
.bp_details_image .swiper-slide {
    margin-right: 10px;
}
*/

iframe {
    
    display: block;       

    border: none;        
    height: 500px;        
    width: 75%;
}
#lg-share{display: none;}
#lg-download{display: none;}
.tp-post_gic{margin-right: 10px;}
.tp-post__meta-value{padding-left:3px; }



/* ===== KHUNG CHUNG ===== */
.accordion .accordion-item{
  border:none;
  border-radius:16px;
  margin-bottom:15px;
  overflow:hidden;
  box-shadow:0 8px 25px rgba(0,0,0,0.06);
  transition:all .3s ease;
  background:#fff;
}

/* Hover nổi khối */
.accordion .accordion-item:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 30px rgba(0,0,0,0.08);
}

/* ===== HEADER BUTTON ===== */
.accordion .accordion-button{
  background:linear-gradient(135deg,#f8f9fa,#ffffff);
  font-weight:500;
  padding:18px 20px;
  border:none;
  box-shadow:none;
  position:relative;
  transition:all .3s ease;
}

/* Khi đang mở */
.accordion .accordion-button:not(.collapsed){
  background:linear-gradient(135deg,#fff,#fff);
  color:#000;
}


/* ===== BODY ===== */
.accordion .accordion-body{
  padding:20px;
  background:#ffffff;
  border-top:1px solid rgba(0,0,0,0.05);
  animation:fadeIn .4s ease;
}

/* Hiệu ứng mượt khi mở */
.accordion .accordion-collapse{
  transition:all .35s cubic-bezier(.4,0,.2,1);
}


/* Animation */
@keyframes fadeIn{
  from{opacity:0; transform:translateY(-5px);}
  to{opacity:1; transform:translateY(0);}
}



/* ===== MOBILE NAVBAR STYLE ===== */
@media (max-width: 999px){

  /* Khung menu khi mở */
  .navbar-collapse{
    margin-top:10px;
    padding:15px;
    border-radius:18px;
    background:rgba(255,255,255,0.78);
    backdrop-filter:blur(14px);
    box-shadow:0 20px 45px rgba(0,0,0,0.15);
    animation:navFadeDown .35s ease;
  }

  /* Item menu */
  .navbar-navxxx .nav-link{
    padding:14px 16px;
    border-radius:12px;
    font-weight:500;
    display:flex;
    align-items:center;
    justify-content:space-between;
    transition:all .25s ease;
    position:relative;
  }

  /* Mũi tên phải */
  .navbar-navxxx .nav-link::after{
    content:"›";
    font-size:18px;
    opacity:.5;
    transition:.25s;
  }

  /* Hover */
  .navbar-navxxx .nav-link:hover{
    background:linear-gradient(135deg,#0d6efd,#3d8bfd);
    color:#fff !important;
    transform:translateX(6px);
    box-shadow:0 8px 18px rgba(13,110,253,0.3);
  }

  .navbar-navxxx .nav-link:hover::after{
    transform:translateX(5px);
    opacity:1;
  }

  /* Active */
  .navbar-navxxx .nav-link.active{
    background:#0d6efd;
    color:#fff !important;
  }

  /* Khoảng cách item */
  .navbar-navxxx .nav-item + .nav-item{
    margin-top:8px;
  }

  /* Nút toggle đẹp hơn */
  .navbar-toggler{
    border:none;
    box-shadow:none !important;
  }

  .navbar-toggler:focus{
    box-shadow:0 0 0 3px rgba(13,110,253,.2);
  }

  /* Animation menu */
  @keyframes navFadeDownxxx{
    from{opacity:0; transform:translateY(-12px);}
    to{opacity:1; transform:translateY(0);}
  }
}

.navbar-toggler-icon{
  width:1.6em;
  height:1.6em;
}

.navbar-light .navbar-toggler-icon{
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(13,110,253,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* ===============================
   OVERRIDE BOOTSTRAP 5 NAV-TABS
   =============================== */

/* Bỏ gạch chân mặc định */
/* ===============================
   NAV-TABS BLUE TECH STYLE
   BASE COLOR: #0080FF
   =============================== */

:root{
    --tab-main: #0080FF;
    --tab-bg: #eaf3ff;
}

/* Tabs wrapper */
.nav-tabs{
    border-bottom: none;
    gap: 8px;
}

/* Tab button */
.nav-tabs .nav-link{
    border: none !important;
    border-radius: 10px;
    padding: 10px 20px;
    background: var(--tab-bg);
    color: #1f3b63;
    font-weight: 500;
    position: relative;
    transition: all .25s ease;
}

/* Hover */
.nav-tabs .nav-link:hover{
    background: #d6e9ff;
    color: var(--tab-main);
}

/* Active tab */
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link{
    background: var(--tab-main);
    color: #fff;
    box-shadow: 0 8px 22px rgba(0,128,255,.35);
}

/* Line indicator */
.nav-tabs .nav-link::after{
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0;
    height: 3px;
    background: var(--tab-main);
    border-radius: 10px;
    transform: translateX(-50%);
    transition: all .3s ease;
}

.nav-tabs .nav-link.active::after{
    width: 45%;
}

/* Content panel */
.tab-content{
    background: #fff;
    border-radius: 0 14px 14px 14px;
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
    padding: 20px;
}

/* Mobile scroll */
@media (max-width: 575px){
    .nav-tabs{
        flex-wrap: nowrap;
        overflow-x: auto;
    }
}
/*************************/
/********** Thiết lập cac định dạng rộng cao hệ thống***************/
/* ===== Min height ===== */
.tp-minh-50 { min-height: 50px !important; }
.tp-minh-100 { min-height: 100px !important; }
.tp-minh-200 { min-height: 200px !important; }
.tp-minh-300 { min-height: 300px !important; }
.tp-minh-400 { min-height: 400px !important; }
.tp-minh-500 { min-height: 500px !important; }
.tp-minh-600 { min-height: 600px !important; }
.tp-minh-700 { min-height: 700px !important; }
.tp-minh-800 { min-height: 800px !important; }

@media (max-width: 576px) {
    .tp-h-sm-100 { height: 100px !important; }
    .tp-h-sm-200 { height: 200px !important; }
    .tp-h-sm-300 { height: 300px !important; }
    .tp-h-sm-400 { height: 400px !important; }
}
@media (max-width: 768px) {
    .tp-h-md-200 { height: 200px !important; }
    .tp-h-md-300 { height: 300px !important; }
    .tp-h-md-400 { height: 400px !important; }
    .tp-h-md-500 { height: 500px !important; }
}

/* ===== Viewport height ===== */
.tp-vh-25 { height: 25vh !important; }
.tp-vh-50 { height: 50vh !important; }
.tp-vh-75 { height: 75vh !important; }
.tp-vh-100 { height: 100vh !important; }
.tp-w-25p { width: 25% !important; }
.tp-w-50p { width: 50% !important; }
.tp-w-75p { width: 75% !important; }
.tp-w-100p{ width: 100% !important; }

.tp-w-100 { width: 100px !important; }
.tp-w-200 { width: 200px !important; }
.tp-w-300 { width: 300px !important; }
.tp-w-400 { width: 400px !important; }
.tp-w-500 { width: 500px !important; }
.tp-w-600 { width: 600px !important; }
.tp-w-700 { width: 700px !important; }
.tp-w-800 { width: 800px !important; }

@media (max-width: 576px) {
    .tp-w-sm-100 { width: 100px !important; }
    .tp-w-sm-200 { width: 200px !important; }
    .tp-w-sm-300 { width: 300px !important; }
    .tp-w-sm-400 { width: 400px !important; }
}
@media (max-width: 768px) {
    .tp-w-md-200 { width: 200px !important; }
    .tp-w-md-300 { width: 300px !important; }
    .tp-w-md-400 { width: 400px !important; }
    .tp-w-md-500 { width: 500px !important; }
}


/*======cao================*/
.tp-h-50{
    height: 100px !important;
}
.tp-h-100{
    height: 100px !important;
}
.tp-h-200{
    height: 200px !important;
}
.tp-h-300 {
    height: 300px !important;

}
.tp-h-500 {
    height: 500px !important;

}
.tp-h-800 {
    height: 800px !important;

}
/*======rộng================*/
.tp-w-50{
    width:50px !important;
}
.tp-w-100{
    width: 100px !important;
}
.tp-w-200{
    width: 200px !important;
}
.tp-w-300{
    width: 300px !important;
}
.tp-w-400{
    width: 400px !important;
}
.tp-w-500{
    width: 500px !important;
}
.tp-w-800{
    width: 800px !important;
}

/*****************************************************/
/* ===== CLASS ADD ICON DROPDOWN  ===== */
/*****************************************************/

.fa-picker .dropdown-menu {
  width: 360px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,.1);
}

.icon-preview {
  min-width: 40px;
  font-size: 20px;
  background: #f8f9fa;
}

.icon-grid, .icon-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
  max-height: 320px;
  overflow-y: auto;
  padding: 4px;
}

.icon-item {
  background: #fff;
  border-radius: 10px;
  text-align: center;
  padding: 10px 6px;
  cursor: pointer;
  transition: .15s ease;
  border: 1px solid #eef1f4;
}

.icon-item i {
  font-size: 20px;
  margin-bottom: 4px;
}

.icon-item span {
  display: block;
  font-size: 11px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.icon-item:hover {
  background: #f1f5ff;
  border-color: #d0dbff;
  transform: translateY(-2px);
}

.icon-item.active {
  background: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
}

.icon-item.active span,
.icon-item.active i {
  color: #fff;
}
.fa-picker .dropdown-menu {
    width: 360px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .1);
    transform: translateX(-35%) !important;

}



/*css comment*/

.panel {
  margin-bottom: 20px;
  background-color: #fff;
  border: 1px solid transparent;
  border-radius: 4px;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .05)
}
.panel-body {
  padding: 15px
}
.panel-heading {
  padding: 10px 15px;
  border-bottom: 1px solid transparent;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px
}
.panel-heading > .dropdown .dropdown-toggle {
  color: inherit
}
.panel-title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 16px;
  color: inherit
}
.panel-title > .small, .panel-title > .small > a, .panel-title > a, .panel-title > small, .panel-title > small > a {
  color: inherit
}
.panel-footer {
  padding: 10px 15px;
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px
}
.panel > .list-group, .panel > .panel-collapse > .list-group {
  margin-bottom: 0
}
.panel > .list-group .list-group-item, .panel > .panel-collapse > .list-group .list-group-item {
  border-width: 1px 0;
  border-radius: 0
}
.panel > .list-group:first-child .list-group-item:first-child, .panel > .panel-collapse > .list-group:first-child .list-group-item:first-child {
  border-top: 0;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px
}
.panel > .list-group:last-child .list-group-item:last-child, .panel > .panel-collapse > .list-group:last-child .list-group-item:last-child {
  border-bottom: 0;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px
}
.panel > .panel-heading + .panel-collapse > .list-group .list-group-item:first-child {
  border-top-left-radius: 0;
  border-top-right-radius: 0
}
.panel-heading + .list-group .list-group-item:first-child {
  border-top-width: 0
}
.list-group + .panel-footer {
  border-top-width: 0
}
.panel > .panel-collapse > .table, .panel > .table, .panel > .table-responsive > .table {
  margin-bottom: 0
}
.panel > .panel-collapse > .table caption, .panel > .table caption, .panel > .table-responsive > .table caption {
  padding-right: 15px;
  padding-left: 15px
}
.panel > .table-responsive:first-child > .table:first-child, .panel > .table:first-child {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px
}
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child, .panel > .table:first-child > tbody:first-child > tr:first-child, .panel > .table:first-child > thead:first-child > tr:first-child {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px
}
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child, .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child, .panel > .table:first-child > tbody:first-child > tr:first-child td:first-child, .panel > .table:first-child > tbody:first-child > tr:first-child th:first-child, .panel > .table:first-child > thead:first-child > tr:first-child td:first-child, .panel > .table:first-child > thead:first-child > tr:first-child th:first-child {
  border-top-left-radius: 3px
}
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child, .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child, .panel > .table:first-child > tbody:first-child > tr:first-child td:last-child, .panel > .table:first-child > tbody:first-child > tr:first-child th:last-child, .panel > .table:first-child > thead:first-child > tr:first-child td:last-child, .panel > .table:first-child > thead:first-child > tr:first-child th:last-child {
  border-top-right-radius: 3px
}
.panel > .table-responsive:last-child > .table:last-child, .panel > .table:last-child {
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px
}
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child, .panel > .table:last-child > tbody:last-child > tr:last-child, .panel > .table:last-child > tfoot:last-child > tr:last-child {
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px
}
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child, .panel > .table:last-child > tbody:last-child > tr:last-child td:first-child, .panel > .table:last-child > tbody:last-child > tr:last-child th:first-child, .panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child, .panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child {
  border-bottom-left-radius: 3px
}
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child, .panel > .table:last-child > tbody:last-child > tr:last-child td:last-child, .panel > .table:last-child > tbody:last-child > tr:last-child th:last-child, .panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child, .panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child {
  border-bottom-right-radius: 3px
}
.panel > .panel-body + .table, .panel > .panel-body + .table-responsive, .panel > .table + .panel-body, .panel > .table-responsive + .panel-body {
  border-top: 1px solid #ddd
}
.panel > .table > tbody:first-child > tr:first-child td, .panel > .table > tbody:first-child > tr:first-child th {
  border-top: 0
}
.panel > .table-bordered, .panel > .table-responsive > .table-bordered {
  border: 0
}
.panel > .table-bordered > tbody > tr > td:first-child, .panel > .table-bordered > tbody > tr > th:first-child, .panel > .table-bordered > tfoot > tr > td:first-child, .panel > .table-bordered > tfoot > tr > th:first-child, .panel > .table-bordered > thead > tr > td:first-child, .panel > .table-bordered > thead > tr > th:first-child, .panel > .table-responsive > .table-bordered > tbody > tr > td:first-child, .panel > .table-responsive > .table-bordered > tbody > tr > th:first-child, .panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child, .panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child, .panel > .table-responsive > .table-bordered > thead > tr > td:first-child, .panel > .table-responsive > .table-bordered > thead > tr > th:first-child {
  border-left: 0
}
.panel > .table-bordered > tbody > tr > td:last-child, .panel > .table-bordered > tbody > tr > th:last-child, .panel > .table-bordered > tfoot > tr > td:last-child, .panel > .table-bordered > tfoot > tr > th:last-child, .panel > .table-bordered > thead > tr > td:last-child, .panel > .table-bordered > thead > tr > th:last-child, .panel > .table-responsive > .table-bordered > tbody > tr > td:last-child, .panel > .table-responsive > .table-bordered > tbody > tr > th:last-child, .panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child, .panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child, .panel > .table-responsive > .table-bordered > thead > tr > td:last-child, .panel > .table-responsive > .table-bordered > thead > tr > th:last-child {
  border-right: 0
}
.panel > .table-bordered > tbody > tr:first-child > td, .panel > .table-bordered > tbody > tr:first-child > th, .panel > .table-bordered > thead > tr:first-child > td, .panel > .table-bordered > thead > tr:first-child > th, .panel > .table-responsive > .table-bordered > tbody > tr:first-child > td, .panel > .table-responsive > .table-bordered > tbody > tr:first-child > th, .panel > .table-responsive > .table-bordered > thead > tr:first-child > td, .panel > .table-responsive > .table-bordered > thead > tr:first-child > th {
  border-bottom: 0
}
.panel > .table-bordered > tbody > tr:last-child > td, .panel > .table-bordered > tbody > tr:last-child > th, .panel > .table-bordered > tfoot > tr:last-child > td, .panel > .table-bordered > tfoot > tr:last-child > th, .panel > .table-responsive > .table-bordered > tbody > tr:last-child > td, .panel > .table-responsive > .table-bordered > tbody > tr:last-child > th, .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td, .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th {
  border-bottom: 0
}
.panel > .table-responsive {
  margin-bottom: 0;
  border: 0
}
.panel-group {
  margin-bottom: 20px
}
.panel-group .panel {
  margin-bottom: 0;
  border-radius: 4px
}
.panel-group .panel + .panel {
  margin-top: 5px
}
.panel-group .panel-heading {
  border-bottom: 0
}
.panel-group .panel-heading + .panel-collapse > .list-group, .panel-group .panel-heading + .panel-collapse > .panel-body {
  border-top: 1px solid #ddd
}
.panel-group .panel-footer {
  border-top: 0
}
.panel-group .panel-footer + .panel-collapse .panel-body {
  border-bottom: 1px solid #ddd
}
.panel-default {
  border-color: #ddd
}
.panel-default > .panel-heading {
  color: #333;
  background-color: #f5f5f5;
  border-color: #ddd
}
.panel-default > .panel-heading + .panel-collapse > .panel-body {
  border-top-color: #ddd
}
.panel-default > .panel-heading .badge {
  color: #f5f5f5;
  background-color: #333
}
.panel-default > .panel-footer + .panel-collapse > .panel-body {
  border-bottom-color: #ddd
}
.panel-primary {
  border-color: #337ab7
}
.panel-primary > .panel-heading {
  color: #fff;
  background-color: #337ab7;
  border-color: #337ab7
}
.panel-primary > .panel-heading + .panel-collapse > .panel-body {
  border-top-color: #337ab7
}
.panel-primary > .panel-heading .badge {
  color: #337ab7;
  background-color: #fff
}
.panel-primary > .panel-footer + .panel-collapse > .panel-body {
  border-bottom-color: #337ab7
}
.panel-success {
  border-color: #d6e9c6
}
.panel-success > .panel-heading {
  color: #3c763d;
  background-color: #dff0d8;
  border-color: #d6e9c6
}
.panel-success > .panel-heading + .panel-collapse > .panel-body {
  border-top-color: #d6e9c6
}
.panel-success > .panel-heading .badge {
  color: #dff0d8;
  background-color: #3c763d
}
.panel-success > .panel-footer + .panel-collapse > .panel-body {
  border-bottom-color: #d6e9c6
}
.panel-info {
  border-color: #bce8f1
}
.panel-info > .panel-heading {
  color: #31708f;
  background-color: #d9edf7;
  border-color: #bce8f1
}
.panel-info > .panel-heading + .panel-collapse > .panel-body {
  border-top-color: #bce8f1
}
.panel-info > .panel-heading .badge {
  color: #d9edf7;
  background-color: #31708f
}
.panel-info > .panel-footer + .panel-collapse > .panel-body {
  border-bottom-color: #bce8f1
}
.panel-warning {
  border-color: #faebcc
}
.panel-warning > .panel-heading {
  color: #8a6d3b;
  background-color: #fcf8e3;
  border-color: #faebcc
}
.panel-warning > .panel-heading + .panel-collapse > .panel-body {
  border-top-color: #faebcc
}
.panel-warning > .panel-heading .badge {
  color: #fcf8e3;
  background-color: #8a6d3b
}
.panel-warning > .panel-footer + .panel-collapse > .panel-body {
  border-bottom-color: #faebcc
}
.panel-danger {
  border-color: #ebccd1
}
.panel-danger > .panel-heading {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1
}
.panel-danger > .panel-heading + .panel-collapse > .panel-body {
  border-top-color: #ebccd1
}
.panel-danger > .panel-heading .badge {
  color: #f2dede;
  background-color: #a94442
}
.panel-danger > .panel-footer + .panel-collapse > .panel-body {
  border-bottom-color: #ebccd1
}    
    /* CSS Document */

/* style version 4.1 */

      .main-content {
        flex: 1;
        padding: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        max-width: 1200px;
        height: 600px;
        margin: auto;
        position: relative;
      }

      .demo-box {
        border-radius: 12px;
        position: relative;
        overflow: hidden;
        background-size: cover;
        background-position: center;
      }

      .demo-content {
        position: relative;
        z-index: 2;
        color: white;
        padding: 40px;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
      }

      .demo-content h1 {
        font-size: 48px;
        margin-bottom: 16px;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
      }

      .demo-content p {
        font-size: 18px;
        opacity: 0.9;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
      }

      /* Sidebar Styles */
      .sidebar {
        width: 360px;
        background: white;
        border-left: 1px solid #e0e0e0;
        overflow-y: auto;
        flex-shrink: 0;
      }

      .sidebar-header {
        padding: 20px;
        border-bottom: 1px solid #e0e0e0;
      }

      .sidebar-title {
        font-size: 18px;
        font-weight: 600;
        color: #333;
      }

      .sidebar-content {
        padding: 20px;
      }

      .setting-section {
        margin-bottom: 24px;
      }

      .setting-section:last-child {
        margin-bottom: 0;
        padding-bottom: 10px;
      }

      .setting-label {
        font-size: 14px;
        font-weight: 600;
        color: #333;
        margin-bottom: 12px;
        display: block;
      }

      .button-group {
        display: flex;
        gap: 8px;
      }

      .setting-button {
        flex: 1;
        padding: 12px 16px;
        border: 2px solid #e0e0e0;
        background: white;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 500;
        color: #666;
        cursor: pointer;
        transition: all 0.2s ease;
      }

      .setting-button:hover {
        border-color: #ccc;
        background: #fafafa;
      }

      .setting-button.active {
        background: #2c2c2c;
        color: white;
        border-color: #2c2c2c;
      }

      .note {
        font-size: 12px;
        color: #888;
        margin-top: 8px;
        line-height: 1.5;
      }

      .divider {
        height: 1px;
        background: #e0e0e0;
        margin: 24px 0;
      }

      .color-picker-section {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: all 0.3s ease;
      }

      .color-picker-section.show {
        max-height: 600px;
        opacity: 1;
        margin-top: 24px;
      }

      .color-area {
        position: relative;
        width: 100%;
        height: 180px;
        border-radius: 6px;
        margin-bottom: 12px;
        cursor: crosshair;
        background: linear-gradient(to bottom, transparent, black), linear-gradient(to right, white, transparent);
      }

      .color-pointer {
        position: absolute;
        width: 14px;
        height: 14px;
        border: 2px solid white;
        border-radius: 50%;
        box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2);
        transform: translate(-50%, -50%);
        pointer-events: none;
      }

      .hue-slider-container {
        margin-bottom: 16px;
      }

      .hue-slider {
        width: 100%;
        height: 12px;
        border-radius: 6px;
        background: linear-gradient(to right, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
        -webkit-appearance: none;
        outline: none;
        cursor: pointer;
      }

      .hue-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: white;
        border: 2px solid #ccc;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        cursor: pointer;
      }

      .hue-slider::-moz-range-thumb {
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: white;
        border: 2px solid #ccc;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        cursor: pointer;
      }

      .color-input-group {
        display: flex;
        gap: 8px;
        margin-bottom: 12px;
      }

      .color-display {
        width: 50px;
        height: 50px;
        border-radius: 6px;
        border: 2px solid #e0e0e0;
        flex-shrink: 0;
      }

      .hex-input-wrapper {
        flex: 1;
      }

      .hex-input {
        width: 100%;
        padding: 10px 12px;
        border: 2px solid #e0e0e0;
        border-radius: 6px;
        font-size: 14px;
        font-family: "Courier New", monospace;
        text-transform: uppercase;
        outline: none;
        transition: border-color 0.2s;
      }

      .hex-input:focus {
        border-color: #2c2c2c;
      }

      .hex-label {
        display: block;
        font-size: 11px;
        color: #888;
        margin-top: 4px;
        text-align: center;
      }

      .preset-colors {
        display: grid;
        grid-template-columns: repeat(8, 1fr);
        gap: 6px;
      }

      .preset-color {
        width: 100%;
        aspect-ratio: 1;
        border-radius: 4px;
        border: 2px solid transparent;
        cursor: pointer;
        transition: all 0.2s;
      }

      .preset-color:hover {
        transform: scale(1.1);
        border-color: #2c2c2c;
      }

      .image-upload-section {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease;
      }

      .image-upload-section.show {
        max-height: 400px;
        opacity: 1;
        margin-top: 10px;
      }

      .upload-area {
        border: 2px dashed #e0e0e0;
        border-radius: 8px;
        padding: 40px 20px;
        text-align: center;
        cursor: pointer;
        transition: all 0.2s;
        position: relative;
      }

      .upload-area:hover {
        border-color: #2c2c2c;
        background: #fafafa;
      }

      .upload-area.has-image {
        padding: 0;
        border: none;
      }

      .upload-icon {
        font-size: 48px;
        color: #ccc;
        margin-bottom: 12px;
      }

      .upload-text {
        font-size: 14px;
        color: #666;
        margin-bottom: 8px;
      }

      .upload-hint {
        font-size: 12px;
        color: #999;
      }
      .upload-area:has(.image-preview.show) .upload-icon,
      .upload-area:has(.image-preview.show) .upload-text,
      .upload-area:has(.image-preview.show) .upload-hint {
        display: none;
      }
      .image-preview {
        display: none;
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 8px;
      }

      .image-preview.show {
        display: block;
      }

      .remove-image-btn {
        position: absolute;
        top: 8px;
        right: 8px;
        background: rgba(0, 0, 0, 0.6);
        color: white;
        border: none;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        cursor: pointer;
        font-size: 18px;
        display: none;
        align-items: center;
        justify-content: center;
        transition: background 0.2s;
      }

      .remove-image-btn.show {
        display: flex;
      }

      .remove-image-btn:hover {
        background: rgba(0, 0, 0, 0.8);
      }

      #fileInput {
        display: none;
      }

      .overlay-section {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease;
      }

      .overlay-section.show {
        max-height: 300px;
        opacity: 1;
        margin-top: 24px;
      }

      .slider-container {
        margin-top: 12px;
      }

      .slider {
        width: 100%;
        height: 6px;
        border-radius: 3px;
        background: #e0e0e0;
        outline: none;
        -webkit-appearance: none;
      }

      .slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #2c2c2c;
        cursor: pointer;
        transition: all 0.2s ease;
      }

      .slider::-webkit-slider-thumb:hover {
        transform: scale(1.1);
      }

      .slider::-moz-range-thumb {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #2c2c2c;
        cursor: pointer;
        border: none;
        transition: all 0.2s ease;
      }

      .slider::-moz-range-thumb:hover {
        transform: scale(1.1);
      }

      .slider-value {
        display: flex;
        justify-content: space-between;
        font-size: 12px;
        color: #666;
        margin-top: 8px;
      }

      .bg-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0);
        transition: background 0.3s ease;
        pointer-events: none;
        z-index: 1;
      }

      /* Css xử lý input có sẵn */
      .tp-setting-box {
        background: #ffffff;
        padding: 0;
      }

      .tp-setting-section {
        padding: 20px 0;
      }



      .tp-form-row {
        display: flex;
        align-items: flex-start;
        margin-bottom: 16px;
        gap: 16px;
      }

      .tp-form-row:last-child {
        margin-bottom: 0;
      }

      .tp-row-label {
        flex-shrink: 0;
        width: 105px;
        font-size: 13px;
        color: #1d1d1f;
        padding-top: 8px;
        line-height: 1.4;
      }

      .tp-row-input {
        flex: 1;
        max-width: 400px;
      }

      .tp-minimal-select,
      .tp-minimal-input {
        width: 100%;
        padding: 7px 12px;
        font-size: 13px;
        border: 1px solid #d2d2d7;
        border-radius: 8px;
        background: #ffffff;
        color: #1d1d1f;
        outline: none;
        transition: all 0.15s ease;
        font-family: inherit;
      }

      .tp-minimal-select {
        cursor: pointer;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2386868b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        padding-right: 36px;
      }

      .tp-minimal-select:hover,
      .tp-minimal-input:hover {
        border-color: #b8b8bd;
      }

      .tp-minimal-select:focus,
      .tp-minimal-input:focus {
        border-color: #0071e3;
        box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
      }

      .tp-input-note {
        margin: 6px 0 0 0;
        font-size: 12px;
        color: #86868b;
        line-height: 1.4;
      }

      .tp-setting-divider {
        border: none;
        border-top: 1px solid #d2d2d7;
        margin: 0;
      }

      .tp-minimal-select::-ms-expand {
        display: none;
      }

/*****************************/
.main__preview > iframe {
  width: 100%;
  height: 100vh;
}
/****************Hau*******************/
.editable-area-setting-box{
    border: 0px; 
    background-color: transparent;
}
.editor-container {
  display: flex;
  height: 100vh;
}

/* Main Content Area */
.main-content {
  flex: 1;
  padding: 40px;
  overflow-y: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.section-wrapper {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  background: white;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 60px 40px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.section:hover {
  border-color: #005bd3;
  box-shadow: 0 0 0 3px rgba(0, 91, 211, 0.1);
}

.section.active {
  border-color: #005bd3;
  box-shadow: 0 0 0 3px rgba(0, 91, 211, 0.2);
}

.section-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #f1f2f3;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  color: #6d7175;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.2s;
}

.section:hover .section-label,
.section.active .section-label {
  opacity: 1;
}

/* Image with text section */
.image-text-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.image-placeholder {
  aspect-ratio: 4/3;
  background: #f1f2f3;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed #c9cccf;
}

.image-icon {
  width: 120px;
  height: 120px;
  color: #babfc3;
}

.text-content {
  padding: 20px 0;
}

.text-content h2 {
  font-size: 36px;
  color: #202223;
  margin-bottom: 20px;
  line-height: 1.2;
}

.text-content p {
  font-size: 16px;
  color: #6d7175;
  line-height: 1.6;
  margin-bottom: 24px;
}

.text-content button {
  background: #435ebe;
  color: white;
  padding: 14px 24px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

/* Image slide section */
.slide-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.slide-content h2 {
  font-size: 48px;
  color: #202223;
  margin-bottom: 16px;
  line-height: 1.2;
}

.slide-content p {
  font-size: 16px;
  color: #6d7175;
  line-height: 1.6;
  margin-bottom: 24px;
}

.slide-content button {
  background: #435ebe;
  color: white;
  padding: 14px 24px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.slide-images {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  overflow: hidden;
}

.slide-image {
  flex: 0 0 120px;
  height: 120px;
  background: #f1f2f3;
  border-radius: 8px;
  border: 2px dashed #c9cccf;
}

/* Sidebar */
.sidebar {
  width: 380px;
  background: white;
  border-left: 1px solid #e1e3e5;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  position: relative;
  z-index: 10;
}

.sidebar.open {
  transform: translateX(0);
}

.sidebar-header {
  padding: 16px 20px;
  border-bottom: 1px solid #e1e3e5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  position: sticky;
  top: 0;
  z-index: 1;
}

.header-actions {
  display: flex;
  gap: 4px;
}

.icon-btn {
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  border-radius: 4px;
  color: #5c5f62;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-btn:hover {
  background: #f6f6f7;
}

/* Dropdown Menu */


.dropdown-icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropdown-divider {
  height: 1px;
  background: #e1e3e5;
  margin: 4px 0;
}

.sidebar-content {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.setting-group {
  margin-bottom: 20px;
}
.setting-group .input-group > .input-group-text:nth-child(1) {
  font-size: 14px;
  width: 60px;
}
.setting-group .input-group > .input-group-text:nth-child(3) {
  font-size: 14px;
  width: 40px;
}
.setting-label {
  font-size: 13px;
  font-weight: 500;
  color: #202223;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.setting-label > .btn-group {
  margin: 0 !important;
}
.setting-label > .btn-group > :nth-child(4) {
  margin: 0 10px;
}
.setting-label > .btn-group > label {
  padding: 8px;
  border: 1px solid #c9cccf;
  background: white;
  border-radius: 6px !important;
  font-size: 13px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  color: #121212;
}
.setting-label > .btn-group .btn-check:checked + .bt {
  background: #121212;
}
.collapse-icon {
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
}

.collapse-icon:hover {
  background: #f6f6f7;
}

.image-upload {
  border: 2px dashed #babfc3;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  background: #fafbfb;
}
.image-upload #list {
  padding: 0;
}
.image-upload #list img {
  max-width: 120px;
}
.upload-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 12px;
}

.explore-link {
  font-size: 12px;
  color: #005bd3;
  text-decoration: none;
}

.explore-link:hover {
  text-decoration: underline;
}

.text-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #c9cccf;
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
}

.text-input:focus {
  outline: none;
  border-color: #005bd3;
  box-shadow: 0 0 0 1px #005bd3;
}

.select-wrapper {
  position: relative;
}

select {
  width: 100%;
  padding: 8px 32px 8px 12px;
  border: 1px solid #c9cccf;
  border-radius: 6px;
  font-size: 13px;
  background: white;
  cursor: pointer;
  appearance: none;
  color: #202223;
}

select:focus {
  outline: none;
  border-color: #005bd3;
  box-shadow: 0 0 0 1px #005bd3;
}

.select-wrapper::after {
  content: "▼";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  pointer-events: none;
  color: #5c5f62;
}

.size-options {
  display: flex;
  gap: 8px;
}

.size-btn {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #c9cccf;
  background: white;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  line-height: normal;
  display: flex;
  justify-content: center;
  align-items: center;
}

.size-btn.active {
  background: #435ebe;
  color: white;
  border-color: #435ebe;
}

.size-btn:hover:not(.active) {
  background: #f6f6f7;
}

.help-text {
  font-size: 12px;
  color: #6d7175;
  margin-top: 6px;
  line-height: 1.4;
}

.position-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.position-btn {
  padding: 8px;
  border: 1px solid #c9cccf;
  background: white;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}

.position-btn.active {
  background: #435ebe;
  color: white;
  border-color: #435ebe;
}

.position-btn:hover:not(.active) {
  background: #f6f6f7;
}

.layout-options {
  display: flex;
  gap: 8px;
}

.layout-btn {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #c9cccf;
  background: white;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
}

.layout-btn.active {
  background: #435ebe;
  color: white;
  border-color: #435ebe;
}

.layout-btn:hover:not(.active) {
  background: #f6f6f7;
}

.section-title {
  font-size: 14px;
  font-weight: 600;
  color: #202223;
  margin: 32px 0 16px 0;
}

/* Toggle Switch */
.toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  background: #c9cccf;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s;
}

.toggle-switch.active {
  background: #008060;
}

.toggle-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s;
}

.toggle-switch.active .toggle-slider {
  transform: translateX(20px);
}

/* Slider */
.slider-control {
  display: flex;
  align-items: center;
  gap: 12px;
}

.slider {
  flex: 1;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #e1e3e5;
  border-radius: 2px;
  outline: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #435ebe;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #435ebe;
  cursor: pointer;
  border: none;
}

.slider-value {
  display: flex;
  align-items: center;
  gap: 4px;
}

.slider-value input {
  width: 50px;
  padding: 6px 8px;
  border: 1px solid #c9cccf;
  border-radius: 6px;
  font-size: 13px;
  text-align: center;
}

.remove-section {
  border-top: 1px solid #e1e3e5;
  padding: 16px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #bf0711;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  background: none;
  border-bottom: none;
  border-left: none;
  border-right: none;
  width: 100%;
  text-align: left;
  margin-top: 20px;
}

.remove-section:hover {
  background: #fff5f5;
}
.save-btn {
  padding: 8px 12px;
  background: #435ebe;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

/*****setting box class****/
.form-input {
            width: 100%;
            padding: 10px;
            border: 1px solid #e0e0e0;
            font-size: 14px;
            transition: border-color 0.2s;
        }

        .form-input:focus {
            outline: none;
           /* border-color: #000;*/
        }

        .divider {
            height: 1px;
            background: #e0e0e0;
            margin: 24px 0;
        }

        .section-title {
            font-size: 12px;
            font-weight: 600;
            color: #000;
            margin-bottom: 12px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .section-description {
            font-size: 13px;
            color: #666;
            margin-bottom: 16px;
            line-height: 1.5;
        }

        .wrapper-container {
            border: 1px solid #e0e0e0;
            background: #fafafa;
        }

        .wrapper-level {
            padding: 16px;
            background: #fff;
            border-bottom: 1px solid #e0e0e0;
            display: none;
        }

        .wrapper-level.active {
            display: block;
        }

        .wrapper-level:last-child {
            border-bottom: none;
        }

        .wrapper-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .wrapper-title {
            font-size: 13px;
            font-weight: 500;
            color: #000;
        }

        .wrapper-subtitle {
            font-size: 11px;
            color: #999;
            margin-top: 2px;
        }

        .btn-remove-box {
            background: none;
            border: 1px solid #e0e0e0;
            color: #666;
            padding: 4px 8px;
            font-size: 11px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .btn-remove-box:hover {
            border-color: #000;
            color: #000;
        }

        .btn-add-next {
            background: none;
            border: 1px solid #e0e0e0;
            color: #666;
            padding: 8px 12px;
            font-size: 12px;
            cursor: pointer;
            transition: all 0.2s;
            margin-top: 10px;
            width: 100%;
        }

        .btn-add-next:hover {
            border-color: #000;
            color: #000;
            background: #fafafa;
        }

        .form-select {
            width: 100%;
            padding: 10px;
            border: 1px solid #e0e0e0;
            font-size: 14px;
            cursor: pointer;
            transition: border-color 0.2s;
        }

        .form-select:focus {
            outline: none;
            border-color: #000;
        }

        .helper-text {
            font-size: 12px;
            color: #999;
            margin-top: 6px;
        }

.text_under{
  text-decoration: underline;
} 
/*********Demo*****************/

/* ========== VÙNG NỘI DUNG ========== */
.editable-area-short-content {
  position: relative;

  overflow: hidden;
}

/* Hiệu ứng hover vùng nội dung */

/*
.editable-area-short-content:hover {

  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
 
}*/

/* Hiệu ứng hover vùng nội dung */
.editable-area-short-content:active {

}

/* Làm mờ nhẹ vùng khi hover */
.editable-area-short-content:hover .content-view {
}

/* ========== VÙNG SLIDE ========== */
.editable-area-slide {
  position: relative;

  overflow: hidden;
}

/* Hiệu ứng hover vùng nội dung */
.editable-area-slide:hover {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.9);
}
/* Hiệu ứng hover vùng nội dung */
.editable-area-slide:active {
}

.customSidebar-newsSlide {
  display: none;
}

/* ========== NÚT SỬA ========== */
.btn-edit {
  position: absolute;
  top: 12px;
  right: -60px;
  display: none;
  transition: all 0.4s ease;
  z-index: 10;
  border-radius: 20px;
  padding: 5px 12px;
}

/* Khi hover box thì nút hiện trượt vào */
.box_admin {
   /* width: 100%;*/

    border: 1px solid transparent;
    position: relative;
    min-height: 30px;
    padding: 5px 10px;
}
.box_admin:hover {
  border-color: #005bd3;
  box-shadow: 0 0 0 3px rgba(0, 91, 211, 0.1);
}
.box_admin.active {
  border-color: #005bd3;
  box-shadow: 0 0 0 3px rgba(0, 91, 211, 0.1);
}
.box:hover .btn-edit {
  right: 12px;
  display: inline-block;
}

.tp_setting_md_menu{
    display: none;
    position: absolute !important; 
    right: 20px; 
    top: 10px;
}
.box_admin:hover .tp_setting_md_menu { 
  display: inline-block;
  z-index: 10;
}

/*sidebar-news-accordion */
.sidebar-news-accordion{
  position: fixed;
  top: 0;
  right: -390px;
  width: 380px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
  transition: right 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 100;
  padding: 0px;
  overflow-y: auto;
  display: block;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

.sidebar-news-accordion.active {
  right: 0;
  display: block;
}


/*setting form gallery */
.customSidebar-gallery {
  position: fixed;
  top: 0;
  right: -390px;
  width: 380px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
  transition: right 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 100;
  padding: 0px;
  overflow-y: auto;
  display: block;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

.customSidebar-gallery.active {
  right: 0;
  display: block;
}

/*setting form contact */
.customSidebar-contact {
  position: fixed;
  top: 0;
  right: -390px;
  width: 380px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
  transition: right 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 100;
  padding: 0px;
  overflow-y: auto;
  display: block;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

.customSidebar-contact.active {
  right: 0;
  display: block;
}

/*setting product  detail*/
.customSidebar-product-detail {
  position: fixed;
  top: 0;
  right: -390px;
  width: 380px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
  transition: right 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 100;
  padding: 0px;
  overflow-y: auto;
  display: block;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

.customSidebar-product-detail.active {
  right: 0;
  display: block;
}


/* ========== SIDEBAR sửa module HTML ========== */
.customSidebar-html {
  position: fixed;
  top: 0;
  right: -820px;
  width: 680px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
  transition: right 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 9999;
  padding: 0px;
  overflow-y: auto;
  display: block;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

.customSidebar-html.active {
  right: 0;
  display: block;
}


/* ========== SIDEBAR setting customSidebar-setting-box ========== */
.customSidebar-setting-box {
  position: fixed;
  top: 0;
  right: -500px;
  width: 380px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
  transition: right 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 9999;
  padding: 0px;
  overflow-y: auto;
  display: block;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

.customSidebar-setting-box.active {
  right: 0;
  display: block;
}

/* ========== SIDEBAR Sắp xếp module ========== */
.customSidebar-OrderModules {
  position: fixed;
  top: 0;
  right: -520px;
  width: 380px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
  transition: right 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 9999;
  padding: 0px;
  overflow-y: auto;
  display: block;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

.customSidebar-OrderModules.active {
  right: 0;
  display: block;
}

/* ========== SIDEBAR RIÊNG ========== */
.customSidebar-slide {
  position: fixed;
  top: 0;
  right: -520px;
  width: 380px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
  transition: right 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 9999;
  padding: 0px;
  overflow-y: auto;
  display: block;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

.customSidebar-slide.active {
  right: 0;
  display: block;
}


/* custom Sidebar-social */
.custom-sidebar-social {
  position: fixed;
  top: 0;
  right: -20px;
  width: 380px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
  transition: right 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 100;
  padding: 0px;
  overflow-y: auto;
  display: none;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

.custom-sidebar-social.active {
  right: 0;
  display: block;
}


/* custom Sidebar-video */
.custom-sidebar-maps {
  position: fixed;
  top: 0;
  right: -520px;
  width: 380px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
  transition: right 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 100;
  padding: 0px;
  overflow-y: auto;
  display: block;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

.custom-sidebar-maps.active {
  right: 0;
  display: block;
}




/* custom Sidebar-video */
.custom-sidebar-video {
  position: fixed;
  top: 0;
  right: -520px;
  width: 380px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
  transition: right 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 100;
  padding: 0px;
  overflow-y: auto;
  display: block;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

.custom-sidebar-video.active {
  right: 0;
  display: block;
}



/* customSidebar-image */
.customSidebar-image {
  position: fixed;
  top: 0;
  right: -520px;
  width: 380px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
  transition: right 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 100;
  padding: 0px;
  overflow-y: auto;
  display: block;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

.customSidebar-image.active {
  right: 0;
  display: block;
}


/* customSidebar-link */
.customSidebar-icon {
  position: fixed;
  top: 0;
  right: -520px;
  width: 380px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
  transition: right 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 100;
  padding: 0px;
  overflow-y: auto;
  display: block;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

.customSidebar-icon.active {
  right: 0;
  display: block;
}

/* customSidebar-link */
.customSidebar-link {
  position: fixed;
  top: 0;
  right: -520px;
  width: 380px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
  transition: right 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 100;
  padding: 0px;
  overflow-y: auto;
  display: block;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

.customSidebar-link.active {
  right: 0;
  display: block;
}


/* End customSidebar-link */

/* news_op_setting */
.customSidebar-newsOption {
  position: fixed;
  top: 0;
  right: -520px;
  width: 380px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
  transition: right 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 100;
  padding: 0px;
  overflow-y: auto;
  display: block;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

.customSidebar-newsOption.active {
  right: 0;
  display: block;
}

/* End news_op_setting*/


/* news_op_setting */
.customSidebar-news-detail {
  position: fixed;
  top: 0;
  right: -520px;
  width: 380px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
  transition: right 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 100;
  padding: 0px;
  overflow-y: auto;
  display: block;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

.customSidebar-news-detail.active {
  right: 0;
  display: block;
}


/* product_op_setting */
.customSidebar-productOption {
  position: fixed;
  top: 0;
  right: -520px;
  width: 380px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
  transition: right 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 100;
  padding: 0px;
  overflow-y: auto;
  display: block;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

.customSidebar-productOption.active {
  right: 0;
  display: block;
}

/* End news_op_setting*/

/* customSidebar-newsSlide*/
.customSidebar-newsSlide {
  position: fixed;
  top: 0;
  right: -520px;
  width: 380px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
  transition: right 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 100;
  padding: 0px;
  overflow-y: auto;
  display: block;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

.customSidebar-newsSlide.active {
  right: 0;
  display: block;
}

/* End news_op_setting*/

.customSidebar {
 position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.4s ease;
  z-index: 100;
  overflow-y: auto;   
}

.customSidebar.active {
  right: 0;
  display: block;
  transform: translateX(0);
}
/* Overlay nền mờ */
#sidebarOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background: rgba(0,0,0,0.45);*/
  display: none;
  z-index: 100;
  /*  backdrop-filter: blur(2px);*/
}
/* Overlay nền mờ */
#sidebarOverlay_no_setting {
  position: fixed;
  top: 0;
  left: 0;
  right: 380px;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  z-index: 100;
  backdrop-filter: blur(2px);
}
#sidebarOverlay_html {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  z-index: 100;
  backdrop-filter: blur(2px);
}
#sidebarOverlay_po_setting {
  position: fixed;
  top: 0;
  left: 0;
  right: 380px;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  z-index: 100;
  backdrop-filter: blur(2px);
}

#sidebarOverlay_md {
  position: fixed;

  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  z-index: 100;
  backdrop-filter: blur(2px);
}
/*sidebarOverlay_news slid _setting */
#sidebarOverlay_ns_setting {
  position: fixed;
  top: 0;
  left: 0;
  right: 380px;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  z-index: 100;
  backdrop-filter: blur(2px);
}
/*End sidebarOverlay_news slid _setting */
.sidebar-header {
  padding: 16px 20px;
  border-bottom: 1px solid #e1e3e5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  position: sticky;
  top: 0;
  z-index: 5;
}

.sidebar-header h2 {
  font-size: 16px;
  font-weight: 600;
  color: #202223;
  margin: 0;
}

.header-actions {
  display: flex;
  gap: 4px;
}
.header-actions > .dropdown > button {
  padding: 0;

  background: transparent;

  border: none;
}
/* Nút đóng sidebar */
.close-btn {
  float: right;
  border: none;
  background: none;
  font-size: 26px;
  color: #888;
  cursor: pointer;
  transition: color 0.2s;
}
.close-btn:hover {
  color: #000;
}
.image_slide_content {
  max-width: 100%;
}

/*setting box news*/
#left-area .col-box {
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

#left-area .col-box.show {
  opacity: 1;
  transform: translateY(0);
}

#left-area .col-box:hover {
  background: #e7f3ff;
  transform: scale(1.03);
}

.btn.active {
  background-color: #0d6efd !important;
  color: #fff !important;
}
.privew-icon {
  padding-right: 10px;
}
/*icon */
.image-icon {
  max-width: 100%;
}
/*icon */
.center-box {
  position: fixed;
  top: 50%;
  right: 400px;
  transform: translateY(-50%);
  background: #fff;
  color: black;
  padding: 30px 60px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  animation: slideIn 0.8s ease forwards;
  cursor: pointer;
  width: 70%;
  height: 800px;
  overflow: scroll;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translate(100px, -50%);
  }
  to {
    opacity: 1;
    transform: translate(0, -50%);
  }
}

.center-box:hover {
  transform: translateY(-50%) scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

/*----------------------------- */
/* giả lập */

.center-box2 {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 24px;
}

.main-title {
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
  color: #000;
}

.devices-container {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  justify-content: center;
}

.device-wrapper {
  flex: 1;
  max-width: 500px;
}

.device-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  text-align: center;
}

/* Desktop Frame */
.desktop-frame {
  background: #2c2c2c;
  border-radius: 8px;
  padding: 16px 12px 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
}

.desktop-frame::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 12px;
  width: 8px;
  height: 8px;
  background: #ff5f57;
  border-radius: 50%;
  box-shadow: 14px 0 0 #ffbd2e, 28px 0 0 #28ca42;
}

.desktop-screen {
  background: #fff;
  border-radius: 3px;
  padding: 12px;
  min-height: 280px;
  overflow: hidden;
}

/* Tablet Frame */
.tablet-frame {
  background: #1a1a1a;
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
}

.tablet-frame::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: #333;
  border-radius: 2px;
}

.tablet-frame::after {
  content: "";

  position: absolute;
  bottom: 10px;

  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: #2a2a2a;
  border: 2px solid #333;
  border-radius: 50%;
}

.tablet-screen {
  background: #fff;
  border-radius: 3px;
  padding: 12px;
  min-height: 280px;
  overflow: hidden;
}

/* Mobile Frame */
.mobile-frame {
  background: #000;
  border-radius: 24px;
  padding: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  max-width: 200px;
  margin: 0 auto;
}

.mobile-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 18px;
  background: #000;
  border-radius: 0 0 12px 12px;
  z-index: 10;
}

.mobile-notch::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: #333;
  border-radius: 2px;
}

.mobile-screen {
  background: #fff;
  border-radius: 18px;
  padding: 24px 10px 10px;
  min-height: 400px;
  overflow: hidden;
}

/* Card Styles */
.khuvuc-chiacot {
  background: transparent;
  padding: 0;
  border: none !important;
}

.card-item {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.2s ease;
  height: 100%;
  cursor: pointer;
}

.card-item:hover {
  border-color: #000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.image-container {
  position: relative;
  width: 100%;
  padding-top: 60%;
  background: #f8f8f8;
  overflow: hidden;
  border-bottom: 1px solid #e5e5e5;
}

.image-icon {
  /*      position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  height: 50%;
  color: #d0d0d0;*/
}

.card-content {
  padding: 10px;
}

.card-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 4px;
  line-height: 1.3;
}

.card-description {
  font-size: 0.65rem;
  color: #666;
  line-height: 1.4;
  margin: 0;
}

/* Mobile specific - horizontal layout */
.mobile-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.mobile-card .image-container {
  padding-top: 50%;
}

/* Responsive */
@media (max-width: 1200px) {
  .devices-container {
    flex-direction: column;
    align-items: center;
  }

  .device-wrapper {
    max-width: 600px;
    width: 100%;
  }
  .device-desktop_mo {
    width: 1000px !important;
  }
  .mobile-frame {
    max-width: 300px;
  }

  .mobile-screen {
    min-height: 300px;
  }
}
.devices-container {
  flex-wrap: wrap;
}
.device-desktop_mo {
  max-width: 100%;
  width: 100%;
}
.device-desktop_mo .desktop-frame {
  max-width: 850px;
  margin: auto;
}
.devices-container > .device-wrapper:nth-child(2),
.devices-container > .device-wrapper:nth-child(3) {
  width: 50%;
}
.iframe_order {
  display: block;
  border: none;
  height: 100vh;
  width: 100%;
}
.btn-check:checked + .size-btn {
  background: #435ebe;
  color: white;
  border-color: #435ebe;
}
.form-check-input:checked {
  background-color: #435ebe;
  border-color: #435ebe;
}
.form-switch i {
 /* display: none; */
 padding-right: 10px;
}

#submitBtnNewsOption {
  padding: 8px 12px;
  background: #435ebe;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
#submitBtnNewsOption span {
  color: #fff !important;
}

.tp_s_btn_submit {
  padding: 8px 12px;
  background: #435ebe;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.tp_s_btn_submit span {
  color: #fff !important;
}


.header-actions > .dropdown > button {
  padding: 0;
  background: transparent;
  border: none;
}
.header-actions > .dropdown > button.dropdown-toggle::after {
  display: none;
}

/* menu chế độ xem đầu trang */
.tp__device-switch {
        display: flex;
        gap: 1px;
        background: white;
        padding: 2px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        /*background-color: rgba(241, 241, 241, 1);*/
        color: #897f7f;
      }

      .tp__switch-item {
        position: relative;
        cursor: pointer;
      }

      .tp__switch-icon {
        width: 35px;
        height: 35px;
        padding: 10px;
        display: flex;
        border-radius: 6px;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
      }

      .tp__switch-icon:hover {
        background: #fff;
      }

      .tp__switch-icon.active {
        background: #fff;
      }

      .tp__switch-icon svg {
        width: 100%;
        height: 100%;
        fill: #435ebe;
        transition: fill 0.3s ease;
      }

      .tp__switch-icon:hover svg {
        fill: #435ebe;
      }

      .tp__switch-icon.active svg {
        fill: white;
      }

      .tp_tooltip {
        position: absolute;
        top: calc(100% + 8px);
        left: 50%;
        transform: translateX(-50%);
        background: #435ebe;
        color: white;
        padding: 6px 10px;
        border-radius: 4px;
        font-size: 12px;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transition: all 0.2s ease;
        pointer-events: none;
        z-index: 1000;
      }

      .tp_tooltip::after {
        content: "";
        position: absolute;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%);
        border: 4px solid transparent;
        border-bottom-color: #435ebe;
      }

      .tp__switch-item:hover .tp_tooltip {
        opacity: 1;
        visibility: visible;
        top: calc(100% + 6px);
      }

      .top-admin {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 0.0625rem solid rgba(235, 235, 235, 1);
        padding: 5px;
        background: white;
          
       position:sticky;
       top: 0;
       left: 0;
       width: 100%;
       /*  height: 60px;*/
        z-index: 99;
      }
      .tp__sort-module {
        width: 256px;
      }
      .tp__manager-module {
        padding: 8px 16px;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        font-size: 14px;
        transition: all 0.3s ease;
        font-weight: 500;
      }

      .btn-light {
        background: #ffffff;
        color: #212529;
        border: 1px solid #dee2e6;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        font-size: 12px;
      }

      .btn-light:hover {
        background: #f8f9fa;
        border-color: #adb5bd;
      }

      .tp__manager-module {
        background: #435ebe;
        color: white;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
      }

      .tp__manager-module:hover {
        background: #435ebe;
      }

      .module {
        display: flex;
        align-items: center;
        gap: 10px;
      }

  

      .device-frame {
        background: white;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        padding: 20px;
        transition: all 0.5s ease;
        position: relative;
        margin: auto;
      }

      /* Desktop View */
      .device-frame.desktop {
        width: 100%;
        min-height: 600px;
      }

      .device-frame.tablet {
        width: 768px;
        max-width: 90%;
        min-height: 1024px;
      }

      /* Mobile View */
      .device-frame.mobile {
        width: 375px;
        max-width: 90%;
        min-height: 667px;
      }

      .device-content {
        background: #f8f9fa;
        border-radius: 8px;
        padding: 30px;
        height: 100%;
        text-align: center;
      }

      .device-info {
        background: #e7f3ff;
        border: 2px solid #007bff;
        border-radius: 8px;
        padding: 15px;
        margin-top: 20px;
        font-size: 14px;
      }
/*------------------------------------*/

/* class thu nhỏ cho toast */
.toast{
    background-color: #435ebe;
    color: #fff;
    border: none;
    box-shadow: 0 10px 30px rgba(0,128,255,.35);
}

.toast-sm {
  font-size: 0.78rem;       /* chữ nhỏ hơn */
  max-width: 190px;         /* thu nhỏ chiều ngang */
  border-radius: 8px;       /* bo góc nhỏ */
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  padding: 0;               /* padding để .toast-body điều khiển */
  width:fit-content;
}

/* điều chỉnh thân toast */
.toast-sm .toast-body {
  padding: 0.45rem 0.7rem;  /* nhỏ gọn */
  line-height: 1.1;
}

/* thu nhỏ nút đóng */
.toast-sm .btn-close {
  transform: scale(0.68);
  margin-top: 0.15rem; /* căn dọc */
}
/*********Slide********/
.slide_disable img{
    /*filter: grayscale(100%);*/
    display: none !important;
}
/**********Lớp phủ module ***********/
.box_child {
  position: absolute !important;
  top: 0;
  left: 0px;
  right: 0;
  bottom: 0;
  width: 98%;
  cursor: pointer;
  z-index: 3;
  transition: all 0.3s ease;
}
.customSidebar.active ~ * .box_child,
.customSidebar.active .box_child {
  position: static;
  background-color: transparent;
  cursor: default;
  pointer-events: none;
}
body.sidebar-active .box_child {
  position: static;
  background-color: transparent;
  cursor: default;
  pointer-events: none;
}
.remove-image-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

/*Video*/
    .app-container {
        display: flex;
        height: 100vh;
      }



      .sidebar-content::-webkit-scrollbar {
        width: 6px;
      }

      .sidebar-content::-webkit-scrollbar-track {
        background: #fafafa;
      }

      .sidebar-content::-webkit-scrollbar-thumb {
        background: #bbb;
        border-radius: 3px;
      }

      .sidebar-content::-webkit-scrollbar-thumb:hover {
        background: #888;
      }

      .control-group {
        margin-bottom: 20px;
      }

      .control-label {
        display: block;
        font-size: 13px;
        font-weight: 600;
        color: #333;
        margin-bottom: 8px;
      }

      .control-input {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 14px;
        transition: border-color 0.2s;
        background: white;
      }

      .control-input:focus {
        outline: none;
        border-color: #333;
      }

      .control-hint {
        font-size: 11px;
        color: #666;
        margin-top: 6px;
        line-height: 1.4;
      }

      .dimension-inputs {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
      }

      .dimension-group {
        display: flex;
        align-items: center;
        gap: 8px;
      }

      .dimension-label {
        font-size: 12px;
        font-weight: 500;
        color: #666;
        min-width: 45px;
      }

      .dimension-input {
        flex: 1;
        padding: 8px 10px;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 13px;
      }

      .dimension-input:focus {
        outline: none;
        border-color: #333;
      }

      .dimension-unit {
        font-size: 12px;
        color: #666;
      }

      .select-control {
        position: relative;
      }

      .select-control select {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 14px;
        background: white;
        cursor: pointer;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        padding-right: 36px;
      }

      .select-control select:focus {
        outline: none;
        border-color: #333;
      }

      .button-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
      }

      .btn-option {
        padding: 10px 8px;
        border: 1px solid #ddd;
        border-radius: 6px;
        background: white;
        font-size: 12px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s;
        text-align: center;
      }

      .btn-option:hover {
        background: #e8e8e8;
        border-color: #666;
      }

      .btn-option.active {
        background: #435ebe;
        color: white;
        border-color: #435ebe;
      }

      .checkbox-option {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        border: 1px solid #ddd;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.2s;
        background: white;
        margin-bottom: 8px;
      }

      .checkbox-option:hover {
        background: #f0f0f0;
        border-color: #666;
      }

      .checkbox-option input[type="checkbox"] {
        width: 16px;
        height: 16px;
        cursor: pointer;
        accent-color: #435ebe;
      }

      .checkbox-option label {
        flex: 1;
        font-size: 13px;
        color: #333;
        cursor: pointer;
      }

      .action-buttons {
        padding: 16px 20px;
        border-top: 1px solid #e0e0e0;
        display: flex;
        gap: 10px;
        flex-shrink: 0;
        background: white;
      }

      .btn-primary {
        flex: 1;
        padding: 12px;
        background: #435ebe;
        color: white;
        border: none;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
      }

      .btn-primary:hover {
        background: #435ebe;
      }

      .btn-primary:active {
        transform: scale(0.98);
      }

      .btn-secondary {
        padding: 12px 20px;
        background: white;
        color: #666;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s;
      }

      .btn-secondary:hover {
        background: #e8e8e8;
        border-color: #666;
      }

      .main-video {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;     
      }

      .video-wrapper {
        width: 100%;
       /* max-width: 1200px;*/
        background: #000;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
      }

      .video-container {
        position: relative;
        width: 100%;
        padding-bottom: 56.25%;
      }

      .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
      }

      .placeholder {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 16px;
        color: #666;
        text-align: center;
      }

      .placeholder-img {
        width: 300px;
      }

      .placeholder-text {
        font-size: 15px;
        font-weight: 500;
        color: #333;
      }

      .status-message {
        padding: 10px 12px;
        border-radius: 6px;
        font-size: 12px;
        margin-top: 16px;
        display: none;
        background: #000;
        color: #f0f0f0;
        transition: all 0.3s ease;
        position: fixed;
        left: 50%;
        bottom: 20px;
        transform: translateX(-50%);
      }

      .status-message.active {
        display: block;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
      }

      @media (max-width: 1024px) {
        .app-container {
          flex-direction: column;
        }

        .sidebar {
          width: 100%;
          max-height: 60vh;
        }

      }
/*Setting box*/     

      .demo-box {
        border-radius: 12px;
        position: relative;
        overflow: hidden;
        background-size: cover;
        background-position: center;
      }

      .demo-content {
        position: relative;
        z-index: 2;
        color: white;
        padding: 40px;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
      }

      .demo-content h1 {
        font-size: 48px;
        margin-bottom: 16px;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
      }

      .demo-content p {
        font-size: 18px;
        opacity: 0.9;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
      }
      
      .setting-section:last-child {
        margin-bottom: 0;
        padding-bottom: 10px;
      }

      .setting-label {
        font-size: 14px;
        font-weight: 600;
        color: #333;
        margin-bottom: 12px;
        display: block;
      }

      .button-group {
        display: flex;
        gap: 8px;
      }

      .setting-button {
        flex: 1;
        padding: 12px 16px;
        border: 2px solid #e0e0e0;
        background: white;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 500;
        color: #666;
        cursor: pointer;
        transition: all 0.2s ease;
      }

      .setting-button:hover {
        border-color: #ccc;
        background: #fafafa;
      }

      .setting-button.active {
        background: #2c2c2c;
        color: white;
        border-color: #2c2c2c;
      }

      .note {
        font-size: 12px;
        color: #888;
        margin-top: 8px;
        line-height: 1.5;
      }

      .divider {
        height: 1px;
        background: #e0e0e0;
        margin: 24px 0;
      }

      .color-picker-section {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: all 0.3s ease;
      }

      .color-picker-section.show {
        max-height: 600px;
        opacity: 1;
        margin-top: 24px;
      }

      .color-area {
        position: relative;
        width: 100%;
        height: 180px;
        border-radius: 6px;
        margin-bottom: 12px;
        cursor: crosshair;
        background: linear-gradient(to bottom, transparent, black), linear-gradient(to right, white, transparent);
      }

      .color-pointer {
        position: absolute;
        width: 14px;
        height: 14px;
        border: 2px solid white;
        border-radius: 50%;
        box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2);
        transform: translate(-50%, -50%);
        pointer-events: none;
      }

      .hue-slider-container {
        margin-bottom: 16px;
      }

      .hue-slider {
        width: 100%;
        height: 12px;
        border-radius: 6px;
        background: linear-gradient(to right, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
        -webkit-appearance: none;
        outline: none;
        cursor: pointer;
      }

      .hue-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: white;
        border: 2px solid #ccc;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        cursor: pointer;
      }

      .hue-slider::-moz-range-thumb {
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: white;
        border: 2px solid #ccc;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        cursor: pointer;
      }

      .color-input-group {
        display: flex;
        gap: 8px;
        margin-bottom: 12px;
      }

      .color-display {
        width: 50px;
        height: 50px;
        border-radius: 6px;
        border: 2px solid #e0e0e0;
        flex-shrink: 0;
      }

      .hex-input-wrapper {
        flex: 1;
      }

      .hex-input {
        width: 100%;
        padding: 10px 12px;
        border: 2px solid #e0e0e0;
        border-radius: 6px;
        font-size: 14px;
        font-family: "Courier New", monospace;
        text-transform: uppercase;
        outline: none;
        transition: border-color 0.2s;
      }

      .hex-input:focus {
        border-color: #2c2c2c;
      }

      .hex-label {
        display: block;
        font-size: 11px;
        color: #888;
        margin-top: 4px;
        text-align: center;
      }

      .preset-colors {
        display: grid;
        grid-template-columns: repeat(8, 1fr);
        gap: 6px;
      }

      .preset-color {
        width: 100%;
        aspect-ratio: 1;
        border-radius: 4px;
        border: 2px solid transparent;
        cursor: pointer;
        transition: all 0.2s;
      }

      .preset-color:hover {
        transform: scale(1.1);
        border-color: #2c2c2c;
      }

      .image-upload-section {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease;
      }

      .image-upload-section.show {
        max-height: 800px;
        opacity: 1;
        margin-top: 10px;
      }

      .upload-area {
        border: 2px dashed #e0e0e0;
        border-radius: 8px;
        padding: 40px 20px;
        text-align: center;
        cursor: pointer;
        transition: all 0.2s;
        position: relative;
      }

      .upload-area:hover {
        border-color: #2c2c2c;
        background: #fafafa;
      }

      .upload-area.has-image {
        padding: 0;
        border: none;
      }

      .upload-icon {
        font-size: 48px;
        color: #ccc;
        margin-bottom: 12px;
      }

      .upload-text {
        font-size: 14px;
        color: #666;
        margin-bottom: 8px;
      }

      .upload-hint {
        font-size: 12px;
        color: #999;
      }
      .upload-area:has(.image-preview.show) .upload-icon,
      .upload-area:has(.image-preview.show) .upload-text,
      .upload-area:has(.image-preview.show) .upload-hint {
        display: none;
      }
      .image-preview {
        display: none;
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 8px;
      }

      .image-preview.show {
        display: block;
      }

      .remove-image-btn {
        position: absolute;
        top: 8px;
        right: 8px;
        background: rgba(0, 0, 0, 0.6);
        color: white;
        border: none;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        cursor: pointer;
        font-size: 18px;
        display: none;
        align-items: center;
        justify-content: center;
        transition: background 0.2s;
      }

      .remove-image-btn.show {
        display: flex;
      }

      .remove-image-btn:hover {
        background: rgba(0, 0, 0, 0.8);
      }

      #fileInput {
        display: none;
      }

      .overlay-section {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease;
      }

      .overlay-section.show {
        max-height: 300px;
        opacity: 1;
        margin-top: 24px;
      }

      .slider-container {
        margin-top: 12px;
      }

      .slider {
        width: 100%;
        height: 6px;
        border-radius: 3px;
        background: #e0e0e0;
        outline: none;
        -webkit-appearance: none;
      }

      .slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #2c2c2c;
        cursor: pointer;
        transition: all 0.2s ease;
      }

      .slider::-webkit-slider-thumb:hover {
        transform: scale(1.1);
      }

      .slider::-moz-range-thumb {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #2c2c2c;
        cursor: pointer;
        border: none;
        transition: all 0.2s ease;
      }

      .slider::-moz-range-thumb:hover {
        transform: scale(1.1);
      }

      .slider-value {
        display: flex;
        justify-content: space-between;
        font-size: 12px;
        color: #666;
        margin-top: 8px;
      }

      .bg-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0);
        transition: background 0.3s ease;
        pointer-events: none;
        z-index: 1;
      }

      /* Css xá»­ lÃ½ input cÃ³ sáºµn */
      .tp-setting-box {
        background: #ffffff;
        padding: 0;
      }

      .tp-setting-section {
        padding: 20px 0;
      }

.tp-section {
    margin-top: 10px;
}
.tp-section-title {
    font-size: 13px;
    font-weight: 500;
    color: #1d1d1f;
    margin-bottom: 5px;
}
.closeSidebar {
    background: transparent;
}

.sidebar-content .nav-pills {
  display: flex;
  width: 100%;
  border-bottom: 2px solid #e5e5e5;
  gap: 0;
  margin-bottom: 1rem;
}

.sidebar-content .nav-pills .nav-item {
  flex: 1; 
}

.sidebar-content .nav-pills .nav-link {
  width: 100%;
  text-align: center;
  background: transparent;
  color: #666666;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 8px 6px !important;
  font-weight: 500;
  margin-bottom: -2px;
  transition: all 0.2s ease;
  font-size: 14px;
}

.sidebar-content .nav-pills .nav-link:hover {
  color: #000000;
  background: #f9f9f9;
}

.sidebar-content  .nav-pills .nav-link.active {
  color: #000000;
  border-bottom: 2px solid #000000;
  font-weight: 600;
  background: transparent;
}

.sidebar-content  .nav-pills .nav-link:focus {
  outline: none;
  box-shadow: none;
}


      .tp-section-title {
        font-size: 13px;
        font-weight: 500;
        color: #1d1d1f;
        margin-bottom: 12px;
      }

      .tp-form-row {
        display: flex;
        align-items: flex-start;
        margin-bottom: 16px;
        gap: 16px;
      }

      .tp-form-row:last-child {
        margin-bottom: 0;
      }

      .tp-row-label {
        flex-shrink: 0;
        width: 105px;
        font-size: 13px;
        color: #1d1d1f;
        padding-top: 8px;
        line-height: 1.4;
      }

      .tp-row-input {
        flex: 1;
        max-width: 400px;
      }

      .tp-minimal-select,
      .tp-minimal-input {
        width: 100%;
        padding: 7px 12px;
        font-size: 13px;
        border: 1px solid #d2d2d7;
        border-radius: 8px;
        background: #ffffff;
        color: #1d1d1f;
        outline: none;
        transition: all 0.15s ease;
        font-family: inherit;
      }

      .tp-minimal-select {
        cursor: pointer;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2386868b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        padding-right: 36px;
      }

      .tp-minimal-select:hover,
      .tp-minimal-input:hover {
        border-color: #b8b8bd;
      }

      .tp-minimal-select:focus,
      .tp-minimal-input:focus {
        border-color: #0071e3;
        box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
      }

      .tp-input-note {
        margin: 6px 0 0 0;
        font-size: 12px;
        color: #86868b;
        line-height: 1.4;
      }

      .tp-setting-divider {
        border: none;
        border-top: 1px solid #d2d2d7;
        margin: 0;
      }

      .tp-minimal-select::-ms-expand {
        display: none;
      }

      .tp-demo-content {
        position: relative;
        z-index: 2;
        color: white;
        text-align: center;
        padding: 20px;
      }

      .tp-demo-content h2 {
        font-size: 36px;
        margin-bottom: 10px;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
      }

      .tp-demo-content p {
        font-size: 16px;
        opacity: 0.9;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
      }

      .tp-bg-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0);
        transition: background 0.3s ease;
        pointer-events: none;
        z-index: 1;
      }

      /* Upload Area */
      .tp-update-img {
        border: 2px dashed #e0e0e0;
        text-align: center;
        cursor: pointer;
        margin-bottom: 20px;
        transition: all 0.2s;
        position: relative;
      }
      .tp-upload-area {
        position: relative;
        border-radius: 8px;
        padding: 40px 20px;
      }

      .tp-update-img:hover {
        border-color: #2c2c2c;
        background: #fafafa;
      }

      .tp-upload-area.tp-has-image {
        padding: 0;
        border: none;
      }
      .tp-get-img {
        position: absolute;
        bottom: 10px;
        transform: translateX(-50%);
        left: 50%;
      }
      .tp-get-img .tp-img-system {
        color: #303030;
        text-decoration: none;
        font-size: 11px;
        white-space: nowrap;
      }
      .tp-get-img .tp-img-system:hover {
        text-decoration: underline;
      }
      .tp-upload-text {
        font-size: 14px;
        color: #666;
      }

      .tp-upload-hint {
        font-size: 12px;
        color: #999;
      }

      .tp-upload-area:has(.tp-image-preview.tp-show) .tp-upload-text,
      .tp-update-img:has(.tp-image-preview.tp-show) .tp-get-img,
      .tp-upload-area:has(.tp-image-preview.tp-show) .tp-upload-hint {
        display: none;
      }

      .tp-image-preview {
        display: none;
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 8px;
      }

      .tp-image-preview.tp-show {
        display: block;
      }

      .tp-remove-image-btn {
        position: absolute;
        top: 8px;
        right: 8px;
        background: rgba(0, 0, 0, 0.6);
        color: white;
        border: none;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        cursor: pointer;
        font-size: 18px;
        display: none;
        align-items: center;
        justify-content: center;
        transition: background 0.2s;
      }

      .tp-remove-image-btn.tp-show {
        display: flex;
      }

      .tp-remove-image-btn:hover {
        background: rgba(0, 0, 0, 0.8);
      }

      .tp-file-input {
        display: none;
      }

      .tp-settings-group {
        margin-bottom: 25px;
        display: none;
      }

      .tp-settings-group.tp-show {
        display: block;
      }

      .tp-settings-item {
        display: flex;
        align-items: flex-start;
        margin-bottom: 16px;
        gap: 16px;
      }

      .tp-settings-label {
        flex-shrink: 0;
        width: 105px;
        font-size: 13px;
        color: #1d1d1f;
        padding-top: 8px;
        line-height: 1.4;
      }

      .tp-select {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #e0e0e0;
        background: white;
        border-radius: 6px;
        font-size: 14px;
        color: #333;
        cursor: pointer;
        transition: all 0.2s;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        padding-right: 36px;
      }

      .tp-select:hover {
        border-color: #2c2c2c;
      }

      .tp-select:focus {
        outline: none;
        border-color: #2c2c2c;
      }

      .tp-toggle-wrapper {
        display: flex;
        align-items: center;
        gap: 12px;
      }

      .tp-toggle {
        position: relative;
        width: 48px;
        height: 28px;
        background: #e0e0e0;
        border-radius: 14px;
        cursor: pointer;
        transition: background 0.3s;
      }

      .tp-toggle.tp-active {
        background: #2c2c2c;
      }

      .tp-toggle::after {
        content: "";
        position: absolute;
        top: 3px;
        left: 3px;
        width: 22px;
        height: 22px;
        background: white;
        border-radius: 50%;
        transition: left 0.3s;
      }

      .tp-toggle.tp-active::after {
        left: 23px;
      }

      .tp-toggle-label {
        font-size: 13px;
        color: #1d1d1f;
        flex: 1;
      }

      .tp-note {
        font-size: 12px;
        color: #888;
        margin-top: 8px;
        line-height: 1.5;
      }

      .tp-slider-container {
        margin-bottom: 20px;
      }

      .tp-slider-label {
        display: block;
        font-size: 14px;
        font-weight: 500;
        color: #333;
        margin-bottom: 12px;
      }

      .tp-slider {
        width: 100%;
        height: 6px;
        border-radius: 3px;
        background: #e0e0e0;
        outline: none;
        -webkit-appearance: none;
      }

      .tp-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #2c2c2c;
        cursor: pointer;
        transition: all 0.2s ease;
      }

      .tp-slider::-webkit-slider-thumb:hover {
        transform: scale(1.1);
      }

      .tp-slider::-moz-range-thumb {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #2c2c2c;
        cursor: pointer;
        border: none;
        transition: all 0.2s ease;
      }

      .tp-slider-value {
        display: flex;
        justify-content: space-between;
        font-size: 12px;
        color: #666;
        margin-top: 8px;
      }
      .tp-row-input {
        flex: 1;
        max-width: 400px;
      }
/*Maps*/        


      .setting-description {
        font-size: 11px;
        color: #666;
        margin-top: 6px;
        line-height: 1.5;
      }

      .input-with-unit {
        display: flex;
        align-items: center;
        flex: 1;
        border: 1px solid #d0d0d0;
        border-radius: 4px;
        overflow: hidden;
        background: white;
        transition: border-color 0.2s;
      }

      .input-with-unit:focus-within {
        border-color: #000;
      }

      .input-with-unit input,
      .input-with-unit select {
        flex: 1;
        border: none;
        padding: 9px 12px;
        font-size: 13px;
        outline: none;
        background: transparent;
      }

      .input-with-unit .unit {
        padding: 9px 12px;
        background: #f8f8f8;
        border-left: 1px solid #e0e0e0;
        font-size: 12px;
        color: #666;
        min-width: 45px;
        text-align: center;
        font-weight: 500;
      }

      .input-full {
        width: 100%;
        padding: 9px 12px;
        border: 1px solid #d0d0d0;
        border-radius: 4px;
        font-size: 13px;
        margin-top: 8px;
        transition: border-color 0.2s;
      }

      .input-full:focus {
        outline: none;
        border-color: #000;
      }

      .button-group {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-top: 10px;
      }

      .btn-toggle {
        padding: 9px 12px;
        border: 1px solid #d0d0d0;
        border-radius: 4px;
        background: white;
        cursor: pointer;
        font-size: 12px;
        transition: all 0.2s;
        text-align: center;
        font-weight: 500;
        color: #333;
      }

      .btn-toggle:hover {
        background: #f5f5f5;
        border-color: #999;
      }

      .btn-toggle.active {
        background: #000;
        color: white;
        border-color: #000;
      }


      .dimension-item label {
        font-size: 11px;
        color: #666;
        display: block;
        margin-bottom: 6px;
        font-weight: 500;
      }

      .select-custom {
        width: 100%;
        padding: 9px 12px;
        border: 1px solid #d0d0d0;
        border-radius: 4px;
        font-size: 13px;
        background: white;
        cursor: pointer;
        margin-top: 8px;
        transition: border-color 0.2s;
      }

      .select-custom:focus {
        outline: none;
        border-color: #000;
      }

      .preview-panel {
        background: #fafafa;
        padding: 30px;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        height: 100%;
      }

      .preview-header {
        margin-bottom: 20px;
        flex-shrink: 0;
      }

      .preview-header h2 {
        font-size: 1.1em;
        color: #000;
        font-weight: 600;
        margin-bottom: 6px;
      }

      .preview-header p {
        font-size: 12px;
        color: #666;
      }

      .map-wrapper {
        background: white;
        border-radius: 8px;
        padding: 24px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
        margin-bottom: 20px;
        flex-shrink: 0;
      }

      .map-container {
        width: 100%;
        min-height: 450px;
        border-radius: 4px;
        overflow: hidden;
        background: #f0f0f0;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .map-container iframe {
        border: none;
      }

      .placeholder-content {
        text-align: center;
        padding: 60px 20px;
        color: #999;
      }

      .placeholder-content svg {
        width: 70px;
        height: 70px;
        margin-bottom: 12px;
        opacity: 0.4;
        stroke: #ccc;
      }

      .placeholder-content p {
        font-size: 13px;
        color: #999;
      }

      .action-buttons {
        display: flex;
        gap: 10px;
        margin-top: 14px;
      }

      .tp-btn-primary {
        flex: 1;
        padding: 10px 20px;
        background: #435ebe;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 13px;
        font-weight: 600;
        transition: all 0.2s;
      }

      .tp-btn-primary:hover {
        background: #333;
      }

      .tp-btn-primary:disabled {
        background: #ccc;
        cursor: not-allowed;
      }

      .tp-btn-secondary {
        flex: 1;
        padding: 10px 20px;
        background: white;
        color: #333;
        border: 1px solid #d0d0d0;
        border-radius: 4px;
        cursor: pointer;
        font-size: 13px;
        font-weight: 600;
        transition: all 0.2s;
      }

      .tp-btn-secondary:hover {
        background: #f5f5f5;
        border-color: #999;
      }

      .checkbox-item {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-top: 12px;
        padding: 8px 0;
      }

      .checkbox-item input[type="checkbox"] {
        width: 17px;
        height: 17px;
        cursor: pointer;
        accent-color: #435ebe;
      }

      .checkbox-item label {
        font-size: 13px;
        cursor: pointer;
        color: #333;
        flex: 1;
      }

      .status-message {
        padding: 10px 12px;
        border-radius: 6px;
        font-size: 12px;
        margin-top: 16px;
        display: none;
        background: #435ebe;
        color: #f0f0f0;
        transition: all 0.3s ease;
        position: fixed;
        left: 50%;
        bottom: 20px;
        transform: translateX(-50%);
        z-index: 1000;
      }

      .status-message.active {
        display: block;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
      }
/*Social Media*/        
.tp-contact-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
      }

      .tp-contact-card {
        border: 1px solid #dee2e6;
        border-radius: 4px;
        padding: 8px;
        background: white;
        cursor: pointer;
        transition: all 0.2s;
        position: relative;
      }

      .tp-contact-card:hover {
        border-color: #495057;
        transform: translateY(-1px);
      }

      .tp-contact-card.active {
        background: #435ebe;
        border-color: #435ebe;
        color: white;
      }

      .tp-contact-card.active .tp-card-icon {
        background: white;
        color: #435ebe;
      }
      .tp-contact-card.active .tp-card-icon svg {
        fill: #435ebe;
      }
      .tp-contact-card.active .tp-card-label {
        color: white;
      }

      .tp-card-content {
        display: flex;
        align-items: center;
        gap: 8px;
      }

      .tp-card-icon {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: #435ebe;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        flex-shrink: 0;
      }

      .tp-card-label {
        font-size: 12px;
        font-weight: 500;
        color: #212529;
      }

      .tp-contact-input {
        margin-top: 8px;
        display: none;
      }

      .tp-contact-input.show {
        display: block;
      }

      .tp-input {
        width: 100%;
        padding: 6px 8px;
        border: 1px solid #ced4da;
        border-radius: 3px;
        font-size: 12px;
        background: #f8f9fa;
      }

      .tp-input:focus {
        outline: none;
        border-color: #495057;
        background: white;
      }

      .tp-size-row {
        display: flex;
        gap: 10px;
        align-items: center;
      }

      .tp-size-input-group {
        flex: 1;
        display: flex;
        align-items: center;
        gap: 6px;
        background: #f8f9fa;
        padding: 6px 8px;
        border-radius: 3px;
        border: 1px solid #dee2e6;
      }

      .tp-size-label {
        font-size: 12px;
        color: #495057;
        font-weight: 500;
      }

      .tp-size-input {
        width: 50px;
        padding: 4px 6px;
        border: 1px solid #ced4da;
        border-radius: 3px;
        font-size: 12px;
        text-align: center;
        background: white;
      }

      .tp-size-unit {
        font-size: 11px;
        color: #6c757d;
      }

      .tp-button-group {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
      }

      .tp-btn-option {
        padding: 8px;
        border: 1px solid #dee2e6;
        background: white;
        border-radius: 3px;
        font-size: 12px;
        cursor: pointer;
        transition: all 0.2s;
        font-weight: 500;
      }

      .tp-btn-option:hover {
        border-color: #495057;
      }

      .tp-btn-option.active {
        background: #435ebe;
        color: white;
        border-color: #435ebe;
      }

      .tp-style-options {
        display: flex;
        flex-direction: column;
        gap: 8px;
      }

      .tp-style-card {
        border: 2px solid #dee2e6;
        border-radius: 4px;
        padding: 12px;
        cursor: pointer;
        transition: all 0.2s;
        display: flex;
        align-items: center;
        gap: 12px;
      }

      .tp-style-card:hover {
        border-color: #495057;
      }

      .tp-style-card.active {
        border-color: #435ebe;
        background: #f8f9fa;
      }

      .tp-style-preview {
        width: 80px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f8f9fa;
        border-radius: 3px;
      }

      .tp-style-preview-icons {
        display: flex;
        gap: 6px;
        flex-direction: column;
      }

      .tp-style-icon-only .tp-style-preview-icons {
        flex-direction: column;
      }

      .tp-style-icon-text .tp-style-preview-icons {
        flex-direction: column;
      }

      .tp-style-preview-icon {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: #435ebe;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        font-weight: bold;
      }

      .tp-style-icon-text .tp-style-preview-icon {
        width: auto;
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 10px;
      }

      .tp-style-info {
        flex: 1;
      }

      .tp-style-label {
        font-size: 13px;
        font-weight: 600;
        color: #212529;
        margin-bottom: 2px;
      }

      .tp-style-desc {
        font-size: 11px;
        color: #6c757d;
      }

      .tp-order-section {
        max-height: 200px;
        overflow-y: auto;
        padding-right: 5px;
      }

      .tp-order-item {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 6px;
        background: #f8f9fa;
        border-radius: 3px;
        margin-bottom: 4px;
        border: 1px solid #dee2e6;
      }

      .tp-order-item.disabled {
        opacity: 0.4;
      }

      .tp-order-icon {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: #435ebe;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        flex-shrink: 0;
      }

      .tp-order-name {
        flex: 1;
        font-size: 12px;
        font-weight: 500;
      }

      .tp-order-controls {
        display: flex;
        gap: 3px;
      }

      .tp-btn-move {
        width: 24px;
        height: 24px;
        border: 1px solid #ced4da;
        background: white;
        border-radius: 3px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 10px;
        transition: all 0.2s;
      }

      .tp-btn-move:hover:not(:disabled) {
        background: #435ebe;
        color: white;
        border-color: #435ebe;
      }

      .tp-btn-move:disabled {
        opacity: 0.3;
        cursor: not-allowed;
      }

      .tp-save-section {
        padding: 12px 15px;
        background: white;
        border-top: 1px solid #dee2e6;
      }

      .tp-btn-save {
        width: 100%;
        padding: 10px;
        background: #435ebe;
        color: white;
        border: none;
        border-radius: 3px;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.2s;
      }

      .tp-btn-save:hover {
        background: #000;
      }

      .tp-preview-container {
        background: white;
        border-radius: 4px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
        padding: 15px;
        height: 100%;
        display: flex;
        flex-direction: column;
      }

      .tp-preview-title {
        font-size: 13px;
        font-weight: 600;
        color: #212529;
        margin-bottom: 10px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
      }

      .tp-preview-mockup {
        flex: 1;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border-radius: 4px;
        border: 1px solid #dee2e6;
        position: relative;
        overflow: hidden;
      }

      .tp-preview-device {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0.03;
        font-size: 120px;
        color: #212529;
      }

      .tp-preview-sidebar {
        position: fixed;
        display: flex;
        gap: 12px;
        z-index: 500;
        transition: all 0.3s;
      }

      .tp-preview-sidebar.left {
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        flex-direction: column;
      }

      .tp-preview-sidebar.right {
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        flex-direction: column;
      }

      .tp-preview-sidebar.top {
        top: 15px;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
      }

      .tp-preview-sidebar.bottom {
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
      }

      .tp-preview-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #435ebe;
        color: white;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        transition: all 0.3s;
        border-radius: 50%;
      }

      .tp-preview-icon.icon-text {
        border-radius: 50px;
        padding: 0 16px;
        gap: 8px;
      }

      .tp-preview-icon:hover {
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
      }

      .tp-icon-label {
        font-size: 12px;
        font-weight: 500;
      }

      .tp-preview-info {
        margin-top: 10px;
        border-radius: 3px;
        font-size: 11px;
        color: #6c757d;
      }
.tooltip .tooltip-inner{
    background-color: #435ebe !important;
    color: #fff !important;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 6px;
}

/* icon input*/
.icon-item{
    width:42px;height:42px;
    display:flex;align-items:center;justify-content:center;
    cursor:pointer;border-radius:8px;margin:3px;
    font-size:20px;transition:.15s;
}
.icon-item:hover{background:#e9ecef}
.icon-item.active{background:#0d6efd;color:#fff}
.icon-dropdown{position:absolute;width:100%;z-index:999}
.icon-preview{width:48px;justify-content:center}



/* === Kiểu viền mở rộng cho Bootstrap 5 === */

/* Kiểu dashed */
.border-dashed {
  border-style: dashed !important;
  border-radius: 0.5rem; /* bo tròn góc nhẹ */
  background-clip: padding-box; /* tránh viền ăn vào nền */
}
.border-top-dashed {
  border-top-style: dashed !important;
}
.border-end-dashed {
  border-right-style: dashed !important;
}
.border-bottom-dashed {
  border-bottom-style: dashed !important;
}
.border-start-dashed {
  border-left-style: dashed !important;
}

/* Kiểu dotted */
.border-dotted {
  border-style: dotted !important;
  border-radius: 0.5rem; /* bo tròn góc nhẹ */
  background-clip: padding-box; /* tránh viền ăn vào nền */    
}
.border-top-dotted {
  border-top-style: dotted !important;
}
.border-end-dotted {
  border-right-style: dotted !important;
}
.border-bottom-dotted {
  border-bottom-style: dotted !important;
}
.border-start-dotted {
  border-left-style: dotted !important;
}

/* Kiểu double */
.border-double {
  border-style: double !important;
}
.border-top-double {
  border-top-style: double !important;
}
.border-end-double {
  border-right-style: double !important;
}
.border-bottom-double {
  border-bottom-style: double !important;
}
.border-start-double {
  border-left-style: double !important;
}

/*dropdown-menu */
.dropdown-menu {
  max-height: 500px;
  overflow-y: auto;
  overflow-x: hidden;
}
.class-builder, .class-builder * {
    pointer-events: auto !important;
    font-size: 11px;
}
.class-item.active{
    background:#0d6efd;
    color:#fff;
}

.dropdown-header.has-active{
    color:#0d6efd;
    font-weight:600;
}

.class-count-badge{
    font-size:11px;
    padding:2px 6px;
    border-radius:10px;
    background:#0d6efd;
    color:#fff;
    margin-left:6px;
}
/* Thanh range tổng */
input[type="range"]{
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: #ddd;
  outline: none;
}

/* Thumb Chrome, Edge, Safari */
input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #435ebe;
  cursor: pointer;
  border: none;
}

/* Thumb Firefox */
input[type="range"]::-moz-range-thumb{
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #435ebe;
  cursor: pointer;
  border: none;
}

/* Track Firefox */
input[type="range"]::-moz-range-track{
  height: 6px;
  background: #ddd;
  border-radius: 5px;
}

/* menu collapse Áp dụng cho tablet + mobile */
@media screen and (max-width: 999px) {
    .bp_ul_tabs
    {
     padding-bottom: 20px;
     padding-top: 20px;
    }
	/*chỉnh menu */
.offcanvas{
    overflow-y: auto;
}

.offcanvas .dropdown-menu{
    position: static;
    transform: none !important;
}
.tp-menu-mobi-default {
	display:none;
}
.tp-menu-mobi-icon {
	font-size:25px;
}
  .nav-link {
        color: #000 !important;;
  }
   .navbar {
        position: relative;
      /* z-index: 999999; */
    }
    .navbar-collapse {
        position: absolute;
        top:100%; /* nằm ngay dưới navbar */
        left: 0;
        color: #000;
        background: #fff; /* màu nền */
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        border-radius: 0 0 10px 10px;
        width: 100%;
        max-height: 70vh; /* giới hạn chiều cao */
        overflow-y: auto; /* có scroll nếu dài */
        z-index: 9999;
        padding: 15px;
    }
    .navbar-collapse {
    transition: all 0.3s ease;
    }
}

.bp_btn_tabs.active{
    color: #fff !important;
}

