.select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle}.select2-container .select2-selection--single{box-sizing:border-box;cursor:pointer;display:block;height:28px;margin:0 0 -4px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--single .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-selection--single .select2-selection__clear{position:relative}.select2-container[dir=rtl] .select2-selection--single .select2-selection__rendered{padding-right:8px;padding-left:20px}.select2-container .select2-selection--multiple{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-search--inline{float:left;padding:0}.select2-container .select2-search--inline .select2-search__field{box-sizing:border-box;border:none;font-size:100%;margin:0;padding:0}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown{background-color:var(--wc-form-color-background,#fff);color:var(--wc-form-color-text,#000);border:1px solid #aaa;border-radius:4px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{padding:6px;user-select:none;-webkit-user-select:none}.select2-results__option[aria-selected],.select2-results__option[data-selected]{cursor:pointer}.select2-container--open .select2-dropdown{left:0}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff}.select2-hidden-accessible{border:0!important;clip:rect(0 0 0 0)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important}.select2-container--default .select2-selection--single{background-color:#fff;border:1px solid #aaa;border-radius:4px}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:700}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--default .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;top:1px;right:1px;width:20px}.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--default[dir=rtl] .select2-selection--single .select2-selection__clear{float:left}.select2-container--default[dir=rtl] .select2-selection--single .select2-selection__arrow{left:1px;right:auto}.select2-container--default.select2-container--disabled .select2-selection--single{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--default .select2-selection--multiple{background-color:#fff;border:1px solid #aaa;border-radius:4px;cursor:text}.select2-container--default .select2-selection--multiple .select2-selection__rendered{box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%}.select2-container--default .select2-selection--multiple .select2-selection__rendered li{list-style:none;margin:5px 5px 0 0}.select2-container--default .select2-selection--multiple .select2-selection__rendered li:before{content:"";display:none}.select2-container--default .select2-selection--multiple .select2-selection__placeholder{color:#999;margin-top:5px;float:left}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:700;margin-top:5px;margin-right:10px}.select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{color:#999;cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{color:#333}.select2-container--default[dir=rtl] .select2-selection--multiple .select2-search--inline,.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice,.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__placeholder{float:right}.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--default.select2-container--focus .select2-selection--multiple{border:solid #000 1px;outline:0}.select2-container--default.select2-container--disabled .select2-selection--multiple{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple,.select2-container--default.select2-container--open.select2-container--above .select2-selection--single{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple,.select2-container--default.select2-container--open.select2-container--below .select2-selection--single{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #aaa}.select2-container--default .select2-search--inline .select2-search__field{background:0 0;border:none;outline:0;box-shadow:none;-webkit-appearance:textfield}.select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--default .select2-results__option[role=group]{padding:0}.select2-container--default .select2-results__option[aria-disabled=true]{color:#999}.select2-container--default .select2-results__option[aria-selected=true],.select2-container--default .select2-results__option[data-selected=true]{background-color:#ddd}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}.select2-container--default .select2-results__option--highlighted[aria-selected],.select2-container--default .select2-results__option--highlighted[data-selected]{background-color:#0073aa;color:#fff}.select2-container--default .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic .select2-selection--single{background-color:#f7f7f7;border:1px solid #aaa;border-radius:4px;outline:0;background-image:linear-gradient(to bottom,#fff 50%,#eee 100%);background-repeat:repeat-x}.select2-container--classic .select2-selection--single:focus{border:1px solid #0073aa}.select2-container--classic .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--classic .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:700;margin-right:10px}.select2-container--classic .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--classic .select2-selection--single .select2-selection__arrow{background-color:#ddd;border:none;border-left:1px solid #aaa;border-top-right-radius:4px;border-bottom-right-radius:4px;height:26px;position:absolute;top:1px;right:1px;width:20px;background-image:linear-gradient(to bottom,#eee 50%,#ccc 100%);background-repeat:repeat-x}.select2-container--classic .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--classic[dir=rtl] .select2-selection--single .select2-selection__clear{float:left}.select2-container--classic[dir=rtl] .select2-selection--single .select2-selection__arrow{border:none;border-right:1px solid #aaa;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px;left:1px;right:auto}.select2-container--classic.select2-container--open .select2-selection--single{border:1px solid #0073aa}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow{background:0 0;border:none}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single{border-top:none;border-top-left-radius:0;border-top-right-radius:0;background-image:linear-gradient(to bottom,#fff 0,#eee 50%);background-repeat:repeat-x}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;background-image:linear-gradient(to bottom,#eee 50%,#fff 100%);background-repeat:repeat-x}.select2-container--classic .select2-selection--multiple{background-color:#fff;border:1px solid #aaa;border-radius:4px;cursor:text;outline:0}.select2-container--classic .select2-selection--multiple:focus{border:1px solid #0073aa}.select2-container--classic .select2-selection--multiple .select2-selection__rendered{list-style:none;margin:0;padding:0 5px}.select2-container--classic .select2-selection--multiple .select2-selection__clear{display:none}.select2-container--classic .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove{color:#888;cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover{color:#555}.select2-container--classic[dir=rtl] .select2-selection--multiple .select2-selection__choice{float:right}.select2-container--classic[dir=rtl] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--classic[dir=rtl] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--classic.select2-container--open .select2-selection--multiple{border:1px solid #0073aa}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--classic .select2-search--dropdown .select2-search__field{border:1px solid #aaa;outline:0}.select2-container--classic .select2-search--inline .select2-search__field{outline:0;box-shadow:none}.select2-container--classic .select2-dropdown{background-color:#fff;border:1px solid transparent}.select2-container--classic .select2-dropdown--above{border-bottom:none}.select2-container--classic .select2-dropdown--below{border-top:none}.select2-container--classic .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--classic .select2-results__option[role=group]{padding:0}.select2-container--classic .select2-results__option[aria-disabled=true]{color:grey}.select2-container--classic .select2-results__option--highlighted[aria-selected],.select2-container--classic .select2-results__option--highlighted[data-selected]{background-color:#3875d7;color:#fff}.select2-container--classic .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic.select2-container--open .select2-dropdown{border-color:#0073aa}#agenwebsite_shipping_check_ongkir_tab_container.row{margin-left:-0.75rem;margin-right:-0.75rem;}
#agenwebsite_shipping_check_ongkir_tab_container.row:after{content:"";display:block;clear:both;}
#agenwebsite_shipping_check_ongkir_tab_container.row .co-lom{float:left;-webkit-box-sizing: border-box;-mox-box-sizing: border-box; box-sizing:border-box;padding:0 0.75rem;}
#agenwebsite_shipping_check_ongkir_tab_container.row .co-lom select{width:100%;}
#agenwebsite_shipping_check_ongkir_tab_container .co-lom.co-12 {padding: 0.75rem; width: 100%;}
#agenwebsite_shipping_check_ongkir_tab_container .co-lom input[type='text']{width:100%;}
.agenwebsite_shipping_check_ongkir_tab.agenwebsite_shipping_check_ongkir_tab_loader,
.agenwebsite_shipping_check_ongkir_widget.agenwebsite_shipping_check_ongkir_widget_loader,
.agenwebsite_shipping_check_ongkir_shortcode.agenwebsite_shipping_check_ongkir_shortcode_loader{
position:relative;
}
.agenwebsite_shipping_check_ongkir_tab.agenwebsite_shipping_check_ongkir_tab_loader #agenwebsite_shipping_check_ongkir_tab_loader,
.agenwebsite_shipping_check_ongkir_widget.agenwebsite_shipping_check_ongkir_widget_loader #agenwebsite_shipping_check_ongkir_widget_loader,
.agenwebsite_shipping_check_ongkir_shortcode.agenwebsite_shipping_check_ongkir_shortcode_loader #agenwebsite_shipping_check_ongkir_shortcode_loader{
height:1em;
width:1em;
position:absolute;
top:50%;
left:50%;
margin-left:-.5em;
margin-top:-.5em;
display:block;
-webkit-animation:spin 1s ease-in-out infinite;
-moz-animation:spin 1s ease-in-out infinite;
animation:spin 1s ease-in-out infinite;
content:"";
background:center center/cover;
line-height:1;
text-align:center;
font-size:2em;
color:rgba(0,0,0,.75)
}
.agenwebsite_shipping_check_ongkir_tab.agenwebsite_shipping_check_ongkir_tab_loader:before,
.agenwebsite_shipping_check_ongkir_widget.agenwebsite_shipping_check_ongkir_widget_loader:before,
.agenwebsite_shipping_check_ongkir_shortcode.agenwebsite_shipping_check_ongkir_shortcode_loader:before{
content:"";
display:block;
position:absolute;
width:100%;
height:100%;
background:rgba(255, 255, 255, 0.5);
z-index: 9;
}
.agenwebsite_shipping_check_ongkir_tab .select2-container .select2-choice,
.agenwebsite_shipping_check_ongkir_widget .select2-container .select2-choice,
.agenwebsite_shipping_check_ongkir_shortcode .select2-container .select2-choice{
padding:5px;
}
#agenwebsite_shipping_check_ongkir_widget_container p,
#agenwebsite_shipping_check_ongkir_shortcode_container p{
margin-bottom:10px;
}
#agenwebsite_shipping_check_ongkir_widget_container select,
#agenwebsite_shipping_check_ongkir_shortcode_container select,
#agenwebsite_shipping_check_ongkir_tab_container .select2-container{
width: 90% !important;
}
#agenwebsite_shipping_check_ongkir_widget_berat,
#agenwebsite_shipping_check_ongkir_shortcode_berat{
display:block;
width:90%;
padding:5px;
border-radius:3px;
background-color:#fff;
border:1px solid #ccc;
}
#agenwebsite_shipping_check_ongkir_tab_result {
margin-top: 20px;
}
#agenwebsite_shipping_check_ongkir_tab_result h4 {
font-size: 14px;
font-weight: 500;
color: #333;
margin-bottom: 20px;
padding-bottom: 10px;
border-bottom: 1px solid #e5e7eb;
}
#agenwebsite_shipping_check_ongkir_widget_result .layanan,
#agenwebsite_shipping_check_ongkir_shortcode_result .layanan,
#agenwebsite_shipping_check_ongkir_tab_result .layanan {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 12px;
padding: 16px;
border: 1px solid #e5e7eb;
border-radius: 8px;
background-color: #fff;
transition: all 0.2s ease;
cursor: pointer;
}
#agenwebsite_shipping_check_ongkir_widget_result .layanan:hover,
#agenwebsite_shipping_check_ongkir_shortcode_result .layanan:hover,
#agenwebsite_shipping_check_ongkir_tab_result .layanan:hover {
border-color: #d1d5db;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
#agenwebsite_shipping_check_ongkir_widget_result .layanan:last-child,
#agenwebsite_shipping_check_ongkir_shortcode_result .layanan:last-child,
#agenwebsite_shipping_check_ongkir_tab_result .layanan:last-child {
margin-bottom: 0;
} .courier-logo {
width: 60px;
height: 40px;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
margin-right: 16px;
flex-shrink: 0;
} .layanan-content {
flex: 1;
display: flex;
flex-direction: column;
gap: 4px;
}
#agenwebsite_shipping_check_ongkir_widget_result .nama_paket,
#agenwebsite_shipping_check_ongkir_shortcode_result .nama_paket,
#agenwebsite_shipping_check_ongkir_tab_result .nama_paket {
font-weight: 600;
font-size: 14px;
color: #1f2937;
margin: 0;
line-height: 1.4;
}
#agenwebsite_shipping_check_ongkir_widget_result .estimasi_hari,
#agenwebsite_shipping_check_ongkir_shortcode_result .estimasi_hari,
#agenwebsite_shipping_check_ongkir_tab_result .estimasi_hari {
font-size: 12px;
color: #6b7280;
margin: 0;
line-height: 1.4;
}
#agenwebsite_shipping_check_ongkir_widget_result .harga_paket,
#agenwebsite_shipping_check_ongkir_shortcode_result .harga_paket,
#agenwebsite_shipping_check_ongkir_tab_result .harga_paket {
font-weight: 600;
font-size: 16px;
color: #059669;
margin-left: 16px;
white-space: nowrap;
flex-shrink: 0;
}
@-moz-keyframes spin {
from { -moz-transform: rotate(0deg); }
to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
from { -webkit-transform: rotate(0deg); }
to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
from {transform:rotate(0deg);}
to {transform:rotate(360deg);}
} @media only screen and (min-width : 993px) {
.row .co-lom.co-3{
width:33.33333%;
margin-left:0;
}
} @media only screen and (max-width : 992px) {
.row .co-lom.co-3{
width:100%;
margin-left:0;
margin-bottom:10px;
} #agenwebsite_shipping_check_ongkir_widget_result .layanan,
#agenwebsite_shipping_check_ongkir_shortcode_result .layanan,
#agenwebsite_shipping_check_ongkir_tab_result .layanan {
padding: 12px;
}
.courier-logo {
width: 50px;
height: 35px;
margin-right: 12px;
}
#agenwebsite_shipping_check_ongkir_widget_result .nama_paket,
#agenwebsite_shipping_check_ongkir_shortcode_result .nama_paket,
#agenwebsite_shipping_check_ongkir_tab_result .nama_paket {
font-size: 13px;
}
#agenwebsite_shipping_check_ongkir_widget_result .harga_paket,
#agenwebsite_shipping_check_ongkir_shortcode_result .harga_paket,
#agenwebsite_shipping_check_ongkir_tab_result .harga_paket {
font-size: 14px;
margin-left: 8px;
}
}:root {
--chat-button-primary-color: #1ab744;
--chat-button-secondary-color: #2196f3;
--chat-button-text-color: #ffffff;
--chat-button-pulse-duration: 1.5s;
--chat-button-size: 70px;
--chat-button-font-family: "Lato", sans-serif;
--chat-button-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
--chat-button-border-radius: 5px;
}
.afcb-position-wrapper {
position: fixed;
width: var(--chat-button-size);
height: var(--chat-button-size);
z-index: 9999999;
}
.pulse {
position: absolute;
top: 0;
left: 0;
z-index: 9999999;
width: var(--chat-button-size);
height: var(--chat-button-size);
border-radius: 50%;
background: var(--chat-button-primary-color);
line-height: var(--chat-button-size);
text-align: center;
cursor: pointer;
transition: all 0.2s ease-in-out;
}
@-webkit-keyframes Animated-pulse {
0% {
-webkit-transform: scale(0.1);
transform: scale(0.1);
opacity: 0;
}
50% {
opacity: 0.3;
}
100% {
-webkit-transform: scale(2);
transform: scale(2);
opacity: 0;
}
}
@keyframes Animated-pulse {
0% {
transform: scale(0.1);
opacity: 0;
}
50% {
opacity: 0.3;
}
100% {
transform: scale(2);
opacity: 0;
}
}
.pulse:nth-child(1) {
animation: Animated-pulse var(--chat-button-pulse-duration) infinite;
}
.pulse:nth-child(2) {
animation: Animated-pulse var(--chat-button-pulse-duration) infinite 0.3s;
}
.pulse:nth-child(3) {
animation: Animated-pulse var(--chat-button-pulse-duration) infinite 0.6s;
}
.pulse:hover,
.pulse:focus {
transform: scale(1.15);
}
.chat-button {
color: var(--chat-button-text-color);
text-decoration: none;
}
.chat-icon {
display: inline-block;
width: 100%;
height: 100%;
line-height: var(--chat-button-size);
text-align: center;
}
.chat-icon img {
max-width: 100%;
height: auto;
margin-bottom: 9px;
vertical-align: middle;
} .afcb-admin-page {
--afcb-admin-navy: #071f36;
--afcb-admin-green: #1ab744;
--afcb-admin-green-dark: #159c39;
--afcb-admin-bg: #f5f7fa;
--afcb-admin-card: #ffffff;
--afcb-admin-text: #10243a;
--afcb-admin-muted: #6d7c8e;
--afcb-admin-border: #e3e9ef;
width: calc(100% - 32px);
max-width: 1580px;
margin: 14px auto 40px;
}
.afcb-admin-page * {
box-sizing: border-box;
}
.afcb-admin-shell {
overflow: hidden;
border: 1px solid #dce4ec;
border-radius: 14px;
background: var(--afcb-admin-card);
box-shadow: 0 18px 45px rgba(18, 43, 68, 0.12);
}
.afcb-admin-topbar {
display: grid;
grid-template-columns: auto 1fr auto;
align-items: center;
min-height: 56px;
padding: 0 24px;
background: var(--afcb-admin-navy);
color: #ffffff;
}
.afcb-window-dots {
display: flex;
gap: 7px;
}
.afcb-window-dots span {
width: 10px;
height: 10px;
border-radius: 50%;
}
.afcb-window-dots span:nth-child(1) {
background: #ff6b6b;
}
.afcb-window-dots span:nth-child(2) {
background: #ffd166;
}
.afcb-window-dots span:nth-child(3) {
background: #1ab744;
}
.afcb-brand {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
font-size: 14px;
font-weight: 600;
}
.afcb-version {
padding: 4px 10px;
border: 1px solid rgba(255, 255, 255, 0.16);
border-radius: 999px;
background: rgba(255, 255, 255, 0.08);
font-size: 12px;
font-weight: 600;
}
.afcb-admin-content {
display: grid;
grid-template-columns: minmax(0, 1.55fr) minmax(340px, 0.65fr);
gap: 34px;
padding: 34px;
background: var(--afcb-admin-bg);
}
.afcb-section-heading,
.afcb-preview-heading {
margin-bottom: 22px;
}
.afcb-section-heading h1,
.afcb-preview-heading h2,
.afcb-developer-details h2 {
margin: 0 0 7px;
color: var(--afcb-admin-text);
line-height: 1.3;
}
.afcb-section-heading h1 {
font-size: 24px;
}
.afcb-preview-heading h2,
.afcb-developer-details h2 {
font-size: 20px;
}
.afcb-section-heading p,
.afcb-developer-details p {
margin: 0;
color: var(--afcb-admin-muted);
font-size: 13px;
line-height: 1.6;
}
.afcb-modern-form,
.afcb-preview-panel,
.afcb-developer-card {
padding: 24px;
border: 1px solid var(--afcb-admin-border);
border-radius: 12px;
background: #ffffff;
box-shadow: 0 10px 25px rgba(17, 38, 63, 0.05);
}
.afcb-field-group {
display: grid;
grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
align-items: center;
gap: 24px;
margin: 0;
padding: 16px 0;
border-bottom: 1px solid #edf1f5;
}
.afcb-field-group:first-of-type {
padding-top: 0;
}
.afcb-field-group:last-of-type {
border-bottom: 0;
}
.afcb-field-group > label,
.afcb-field-label {
display: flex;
align-items: flex-start;
gap: 11px;
margin: 0;
color: var(--afcb-admin-text);
}
.afcb-field-group > label > .dashicons,
.afcb-field-label > .dashicons,
.afcb-axis-icon {
flex: 0 0 auto;
width: 18px;
height: 18px;
margin-top: 2px;
color: var(--afcb-admin-green-dark);
font-size: 18px;
font-weight: 700;
line-height: 18px;
text-align: center;
}
.afcb-field-group strong {
display: block;
margin-bottom: 3px;
font-size: 13px;
line-height: 1.35;
}
.afcb-field-group small {
display: block;
color: var(--afcb-admin-muted);
font-size: 11px;
font-weight: 400;
line-height: 1.45;
}
.afcb-modern-form input[type="text"],
.afcb-modern-form input[type="number"] {
width: 100%;
min-height: 40px;
margin: 0;
padding: 8px 12px;
border: 1px solid #dce4ec;
border-radius: 8px;
background: #ffffff;
color: var(--afcb-admin-text);
font-size: 13px;
box-shadow: none;
}
.afcb-modern-form input[type="text"]:focus,
.afcb-modern-form input[type="number"]:focus {
border-color: var(--afcb-admin-green);
box-shadow: 0 0 0 3px rgba(26, 183, 68, 0.12);
outline: none;
}
.afcb-segmented-control {
display: inline-grid;
grid-template-columns: repeat(2, minmax(96px, 1fr));
gap: 8px;
justify-self: start;
}
.afcb-segmented-control label {
position: relative;
margin: 0;
}
.afcb-segmented-control input {
position: absolute;
opacity: 0;
pointer-events: none;
}
.afcb-segmented-control label > span {
display: flex;
align-items: center;
justify-content: center;
gap: 5px;
min-height: 38px;
padding: 7px 14px;
border: 1px solid #dce4ec;
border-radius: 8px;
background: #ffffff;
color: #526275;
font-size: 12px;
font-weight: 600;
cursor: pointer;
transition: all 0.18s ease;
}
.afcb-segmented-control input:checked + span {
border-color: var(--afcb-admin-green);
background: var(--afcb-admin-green);
color: #ffffff;
}
.afcb-segmented-control input:focus-visible + span {
box-shadow: 0 0 0 3px rgba(26, 183, 68, 0.15);
}
.afcb-range-control {
display: grid;
grid-template-columns: minmax(0, 1fr) 92px;
align-items: center;
gap: 12px;
}
.afcb-range-control input[type="range"] {
width: 100%;
margin: 0;
accent-color: var(--afcb-admin-green);
}
.afcb-number-control {
display: flex;
align-items: center;
overflow: hidden;
border: 1px solid #dce4ec;
border-radius: 8px;
background: #ffffff;
}
.afcb-number-control input[type="number"] {
min-height: 38px;
padding-right: 4px;
border: 0;
border-radius: 0;
text-align: right;
}
.afcb-number-control span {
padding: 0 9px 0 4px;
color: var(--afcb-admin-muted);
font-size: 11px;
font-weight: 600;
}
.afcb-toggle-field {
grid-template-columns: minmax(220px, 1fr) auto;
}
.afcb-toggle-switch {
position: relative;
display: inline-flex;
width: 46px;
height: 25px;
cursor: pointer;
}
.afcb-toggle-switch input {
position: absolute;
opacity: 0;
}
.afcb-toggle-slider {
position: absolute;
inset: 0;
border-radius: 999px;
background: #c7d0da;
transition: background 0.18s ease;
}
.afcb-toggle-slider::before {
position: absolute;
top: 4px;
left: 4px;
width: 17px;
height: 17px;
border-radius: 50%;
background: #ffffff;
box-shadow: 0 2px 5px rgba(17, 38, 63, 0.22);
content: "";
transition: transform 0.18s ease;
}
.afcb-toggle-switch input:checked + .afcb-toggle-slider {
background: var(--afcb-admin-green);
}
.afcb-toggle-switch input:checked + .afcb-toggle-slider::before {
transform: translateX(21px);
}
.afcb-form-actions {
display: flex;
justify-content: flex-start;
padding-top: 22px;
}
.afcb-save-btn {
line-height: normal !important;
vertical-align: middle !important;
}
.afcb-admin-page .afcb-save-button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
min-width: 196px;
min-height: 42px;
padding: 5px 20px;
border: 0;
border-radius: 5px;
background: linear-gradient(135deg, #1ac15a, #159c39);
color: #ffffff;
font-size: 15px;
font-weight: 600;
box-shadow: 0 9px 20px rgba(26, 183, 68, 0.22);
transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.afcb-admin-page .afcb-save-button:hover,
.afcb-admin-page .afcb-save-button:focus {
color: #ffffff;
transform: translateY(-1px);
box-shadow: 0 12px 24px rgba(26, 183, 68, 0.28);
filter: brightness(0.98);
background: #208b13;
}
.afcb-sidebar {
display: flex;
flex-direction: column;
gap: 20px;
min-width: 0;
}
.afcb-browser-preview {
overflow: hidden;
border: 1px solid #dbe3eb;
border-radius: 10px;
background: #ffffff;
}
.afcb-browser-toolbar {
display: grid;
grid-template-columns: auto 1fr;
align-items: center;
gap: 10px;
min-height: 34px;
padding: 0 10px;
border-bottom: 1px solid #dce4ec;
background: #f3f6f9;
}
.afcb-browser-controls {
display: flex;
gap: 4px;
}
.afcb-browser-controls span {
width: 7px;
height: 7px;
border-radius: 50%;
background: #c8d1da;
}
.afcb-browser-controls span:nth-child(1) {
background: #ff6b6b;
}
.afcb-browser-controls span:nth-child(2) {
background: #ffd166;
}
.afcb-browser-controls span:nth-child(3) {
background: #1ab744;
}
.afcb-browser-address {
height: 15px;
border-radius: 999px;
background: #e2e8ee;
}
.afcb-browser-content {
position: relative;
min-height: 320px;
overflow: hidden;
background: #fbfcfd;
}
.afcb-preview-site-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 18px;
border-bottom: 1px solid #edf1f4;
background: #ffffff;
}
.afcb-preview-logo {
width: 62px;
height: 11px;
border-radius: 4px;
background: #d8e0e8;
}
.afcb-preview-menu {
display: flex;
gap: 7px;
}
.afcb-preview-menu span {
width: 23px;
height: 6px;
border-radius: 999px;
background: #e0e6ec;
}
.afcb-preview-site-body {
padding: 34px 24px;
}
.afcb-preview-title {
width: 65%;
height: 17px;
margin-bottom: 14px;
border-radius: 4px;
background: #d9e1e9;
}
.afcb-preview-text {
width: 90%;
height: 7px;
margin-bottom: 7px;
border-radius: 999px;
background: #e6ebef;
}
.afcb-preview-text-short {
width: 64%;
}
.afcb-preview-cards {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
margin-top: 26px;
}
.afcb-preview-cards span {
height: 82px;
border-radius: 8px;
background: #e7edf2;
}
#afcb-admin-floating-preview {
position: absolute;
width: 50px;
height: 50px;
z-index: 20;
pointer-events: none;
transition: opacity 0.18s ease;
}
#afcb-admin-floating-preview .pulse {
width: 50px;
height: 50px;
line-height: 50px;
}
#afcb-admin-floating-preview .chat-icon {
width: 100%;
height: 100%;
line-height: 50px;
text-align: center;
}
#afcb-admin-floating-preview .chat-icon img {
max-width: 100%;
height: auto;
margin-bottom: 6px;
vertical-align: middle;
}
#afcb-admin-floating-preview.is-hidden {
opacity: 0.18;
}
.afcb-preview-status {
display: flex;
align-items: center;
justify-content: center;
gap: 7px;
margin-top: 15px;
color: var(--afcb-admin-muted);
font-size: 11px;
font-weight: 600;
}
.afcb-status-dot {
width: 7px;
height: 7px;
border-radius: 50%;
background: var(--afcb-admin-green);
box-shadow: 0 0 0 3px rgba(26, 183, 68, 0.12);
}
.afcb-preview-status.is-hidden .afcb-status-dot {
background: #9aa6b3;
box-shadow: 0 0 0 3px rgba(154, 166, 179, 0.14);
}
.afcb-developer-card {
text-align: center;
}
.afcb-developer-photo {
display: block;
width: 112px;
height: 112px;
margin: 0 auto 14px;
border: 4px solid rgba(26, 183, 68, 0.12);
border-radius: 50%;
object-fit: cover;
}
.afcb-developer-actions {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
margin-top: 18px;
}
.afcb-developer-button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
min-height: 40px;
padding: 8px 12px;
border-radius: 4px;
font-size: 12px;
font-weight: 600;
text-decoration: none;
transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.afcb-developer-button:hover,
.afcb-developer-button:focus {
transform: translateY(-1px);
text-decoration: none;
}
.afcb-email-button {
border: 1px solid #dce4ec;
background: #ffffff;
color: var(--afcb-admin-text);
}
.afcb-email-button:hover,
.afcb-email-button:focus {
border-color: var(--afcb-admin-green);
color: var(--afcb-admin-green-dark);
box-shadow: 0 6px 16px rgba(17, 38, 63, 0.08);
}
.afcb-whatsapp-button {
border: 1px solid #29A71A;
background: #29A71A;
color: #ffffff;
box-shadow: 0 7px 16px rgba(26, 183, 68, 0.18);
}
.afcb-whatsapp-button:hover,
.afcb-whatsapp-button:focus {
border-color: var(--afcb-admin-green-dark);
background: var(--afcb-admin-green-dark);
color: #ffffff;
}
.afcb-whatsapp-button img {
width: 17px;
height: 17px;
margin: 0;
object-fit: contain;
}
@media (max-width: 1100px) {
.afcb-admin-content {
grid-template-columns: 1fr;
}
.afcb-sidebar {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
align-items: start;
}
}
@media (max-width: 782px) {
.afcb-admin-page {
width: calc(100% - 20px);
margin-right: 10px;
}
.afcb-admin-content {
padding: 22px 16px;
}
.afcb-field-group {
grid-template-columns: 1fr;
gap: 12px;
}
.afcb-toggle-field {
grid-template-columns: 1fr auto;
}
.afcb-sidebar {
grid-template-columns: 1fr;
}
.afcb-version {
display: none;
}
}
@media (max-width: 480px) {
.afcb-brand span:last-child {
display: none;
}
.afcb-modern-form,
.afcb-preview-panel,
.afcb-developer-card {
padding: 16px;
}
.afcb-segmented-control {
width: 100%;
}
.afcb-range-control {
grid-template-columns: 1fr;
}
.afcb-number-control {
max-width: 100px;
}
.afcb-toggle-field {
grid-template-columns: 1fr;
}
.afcb-admin-page .afcb-save-button {
width: 100%;
}
.afcb-developer-actions {
grid-template-columns: 1fr;
}
}
@media (prefers-reduced-motion: reduce) {
.pulse:nth-child(1),
.pulse:nth-child(2),
.pulse:nth-child(3) {
animation: none;
}
}