/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */
 ul.gpfw_gallery_gallery_mtb.ui-sortable, .gpfw_global_prices, .global_price_value {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.gpfw_global_prices, .global_price_value {
    margin: 20px 10px;
}
.gift_pack_for_woocommerce_title{
  margin-bottom: 1.5em !important;   
}
.global_price_value small {
    font-weight: normal;
    font-size: 12px;
}
.backend_field_title{
    /* font-weight: bold; */
    color:#000;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding-bottom: 10px;
}
.gpfw_gift_value input {
    width: 100%;
    height: 40px;
    border-color: rgb(0 0 0 / 15%);
}
.global_price_value > div{
    width: 27%;
}
.red_warning{
    color:red;
}
.gpfw_gift_price_value{
    line-height: 28px;
}
.gpfw_save_changes_btn{
    padding-top: 0px;
    margin-left: 10px;
}
 .button.gpfw_gallery_upload_gallery_button {
    position: relative;
    display: flex;
    align-items: center;
    width: 96%;
    max-width: 100%;
    padding: 25px;
    border: 1px dashed #2d3083;
    border-radius: 3px;
    transition: 0.2s;
    flex-wrap: wrap;
    justify-content: center;
    margin: 10px;
}
.gpfw_suggestion_text{
    color:green;
    margin-top: 20px;
    margin-bottom: 10px;
}
.gpfw_gallery_gallery_mtb li span, .gpfw_gallery_gallery_mtb li img {
    display: inline-flex;
    height: 136px;
    min-width: 136px;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0px 6px 10px rgb(0 0 0 / 20%);
    margin: 10px;
}
a.gpfw_gallery_gallery_remove:hover {
    background-color: #ffffffd4;
    color: #2d3083;
}
a.gpfw_gallery_gallery_remove {
    position: absolute;
    right: 0px;
    color: #fff;
    text-decoration: none;
    height: 20px;
    width: 20px;
    font-size: 20px;
    line-height: 16px;
    top: 0px;
    background-color: #2d3083;
    border-radius: 50%;
    display: inline-block;
    margin: 0;
    padding: 2px;
    text-align: center;
    box-shadow: 1px 1px 7px #00000052;
    font-weight: 800;
}
.gpfw-gallery a {
    outline: none !important;
}
ul.gpfw_gallery_gallery_mtb.ui-sortable li{
    position: relative;
}

.gift_tabs {
    display: flex;
    gap: 10px;
    /* margin-bottom: 10px; */
}
.gift_tabs .tab-button {
   float: left;
    border: 1px solid #c3c4c7;
    border-bottom: none;
    margin-left: .5em;
    padding: 5px 10px;
    font-size: 16px;
    line-height: 1.71428571;
    font-weight: 600;
    background: #2e30850d;
    color: #000;
    text-decoration: none;
    white-space: nowrap
}
.gift_tabs .tab-button:hover, .gift_tabs .tab-button.active {
    border-bottom: 1px solid #f0f0f1;
    background: #f0f0f1;
    color: #000
}

/* Style for tab content */
.gift_tab_content {
    display: none;
    padding: 15px 0px ;
    /* border: 1px solid #ddd; */
    /* background: #fff; */
}
.gift_tab_content.active {
    display: block;
}

.global_price_value ul li,.global_price_value .popular-category .children .children {
    margin-bottom: 15px !important;
}

.global_price_value .popular-category .children,.global_price_value .popular-category .children .children{
    margin: 20px 20px !important;
}

.gift_tabs {
    border-bottom: 1px solid #c3c4c7;
    margin: 0;
    padding-top: 9px;
    padding-bottom: 0;
    line-height: inherit
}

.gift_tabs button.tab-button.active {
    margin-bottom: -1px;
    background-color: #fff;
}


/******/ 


.global_price_meta {
  position: relative;
  display: inline-block;
  width: 60px !important;
  height: 34px;
}

.global_price_meta input {
  opacity: 0;
  width: 0; 
  height: 0; 
}

.global_price_meta .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.global_price_meta .slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

.global_price_meta input:checked + .slider {
  background-color: #2d3083;
}

.global_price_meta input:focus + .slider {
  box-shadow: 0 0 1px #2d3083;
}

.global_price_meta input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

@media (max-width: 768px) {
  
    .global_price_value > div, .global_price_color_picker {
        width: 100%;
    }
    .global_price_title.backend_field_title {
        margin-bottom: 10px;
    }
}

/* new css for improved design for admin settings */
.gift_packs_for_woocommerce{
    margin-top: 15px;
    position: relative;
    min-width: 255px;
    border: none !important;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
    background: #fff;
    border-radius: 5px;
    padding: 0px 15px;
}
.gpfw_save_changes_btn .button-primary{
    min-height: 32px;
    line-height: 30px;
    padding: 2px 20px;
    background: #2d3083;
    border-color: #2d3083;
    font-size: 14px;
    color: #fff;
    font-weight: 500;
    outline: 0 !important;
    box-shadow: none !important;
    transition: all 0.4s 
ease-in-out;
}

