/* Toggle Switch */
.switch,
.wh-csrotator-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 24px;
    margin-right: 10px;
}

.switch input,
.wh-csrotator-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch label,
.wh-csrotator-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    -o-transition: .4s;
    -moz-transition: .4s;
    transition: .4s;
    -webkit-border-radius: 34px;
    -moz-border-radius: 34px;
    border-radius: 34px;
}

.switch label:before,
.wh-csrotator-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    -o-transition: .4s;
    -moz-transition: .4s;
    transition: .4s;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.switch input:checked+label,
input:checked+.wh-csrotator-slider {
    background-color: #2196F3;
}

.switch input:checked+label:before,
input:checked+.wh-csrotator-slider:before {
    -webkit-transform: translateX(16px);
    -moz-transform: translateX(16px);
    -ms-transform: translateX(16px);
    -o-transform: translateX(16px);
    transform: translateX(16px);
}

/* Status Column */
.status-active {
    color: #46b450;
    font-weight: 600;
}

.status-inactive {
    color: #dc3232;
    font-weight: 600;
}

/* Staff Form Styles */
.wh-csrotator-switch-wrapper {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-left: 8px;
}

.wh-csrotator-switch-label {
    font-size: 13px;
    color: #50575e;
    min-width: 45px;
}

/* Form Elements */
.required {
    color: #dc3232;
}

.error-message {
    color: #dc3232;
    font-style: italic;
}



.wh-repeater-row select,
.wh-repeater-row input[type="time"] {
    min-width: 120px;
}

/* Staff Form Layout */
#poststuff #post-body.columns-2 {
    margin-right: 300px;
}

#post-body.columns-2 #postbox-container-1 {
    float: right;
    margin-right: -300px;
    width: 280px;
}

.postbox {
    margin-bottom: 20px;
    padding: 0;
    line-height: 1;
}

.postbox .inside {
    margin: 11px 0;
    position: relative;
    padding: 0 12px 12px;
}

.postbox .postbox-header {
    border-bottom: 1px solid #ccd0d4;
}

.postbox .postbox-header h2 {
    font-size: 14px;
    padding: 8px 12px;
    margin: 0;
    line-height: 1.4;
}

/* Publishing Actions */
.major-publishing-actions {
    padding: 10px;
    clear: both;
    border-top: 1px solid #dcdcde;
    background: #f6f7f7;
}

.major-publishing-actions .publishing-action {
    text-align: right;
    float: right;
    line-height: 23px;
}

.major-publishing-actions:after {
    content: "";
    display: table;
    clear: both;
}

/* Button Loading States */
.publishing-action {
    position: relative;
}

.publishing-action .spinner {
    position: absolute;
    right: 100%;
    top: 50%;
    margin: -10px 5px 0;
    float: none;
}

.disabled {
    opacity: 0.6;
    pointer-events: none;
}

/* Spinner for Delete Link */
.submitdelete+.spinner {
    margin: -10px 5px;
    float: none;
    vertical-align: middle;
}

/* Delete Link */
.submitdelete {
    color: #b32d2e;
    text-decoration: none;
    margin-right: 10px;
    padding: 1px 2px;
}

.submitdelete:hover {
    color: #dc3232;
    border: none;
}

/* Misc Pub Section */
.misc-pub-section {
    padding: 6px 10px 8px;
    line-height: 1.8;
    border-bottom: 1px solid #dcdcde;
}

.misc-pub-section:last-child {
    border-bottom: 0;
}

.misc-pub-section .dashicons {
    color: #787c82;
    margin-right: 5px;
    vertical-align: text-top;
}

/* Form Fields */
.form-table th {
    width: 150px;
}

.form-table td {
    padding: 15px 10px;
}

.form-table .description {
    font-size: 13px;
    margin: 2px 0 5px;
    color: #646970;
}

.required {
    color: #d63638;
}

/* Status Styles */
.status-active {
    color: #008a20;
    font-weight: 600;
}

.status-inactive {
    color: #dc3232;
    font-weight: 600;
}

/* Phone Input Styles */
.iti {
    width: 100%;
    max-width: 25em;
}

.error-message {
    color: #d63638;
    margin-top: 5px;
    display: none;
}

/* Adjust spacing for phone input */
.form-table td .iti+.description {
    margin-top: 8px;
}

/* Universal Repeater */
.wh-repeater {
    margin: 10px 0;
}

.wh-repeater-header {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    font-weight: 600;
    margin-bottom: 10px;
    padding: 0 10px;
    color: #1d2327;
}

.wh-repeater-row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 15px;
    padding: 10px;
    background: #f6f7f7;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin-bottom: 10px;
}


.wh-repeater-col.action-col {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 80px;
    -moz-box-flex: 0;
    -ms-flex: 0 0 80px;
    flex: 0 0 80px;
    text-align: right;
    padding-right: 0;
}

/* CS Assignments List Table */
.cs-assignments-list {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 4px;
}

.cs-assignment {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: #f0f0f1;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    padding: 2px 8px;
    font-size: 12px;
}

.cs-name {
    font-weight: 500;
}

/* Responsive Layout */
@media screen and (max-width: 850px) {
    #poststuff #post-body.columns-2 {
        margin-right: 0;
    }

    #post-body.columns-2 #postbox-container-1 {
        float: none;
        margin-right: 0;
        width: 100%;
    }
}

/* Staff Form Sidebar Styles */
.misc-pub-section {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.misc-pub-section .dashicons {
    color: #82878c;
    margin-right: 5px;
}

.major-publishing-actions {
    padding: 10px;
    clear: both;
    border-top: 1px solid #ddd;
    background: #f5f5f5;
}

.publishing-action {
    text-align: right;
    float: right;
    line-height: 23px;
}

.submitdelete.deletion {
    color: #a00;
    text-decoration: none;
    margin-right: 10px;
}

.submitdelete.deletion:hover {
    color: #dc3232;
    text-decoration: none;
}

.spinner {
    -webkit-background-size: 20px 20px;
    -moz-background-size: 20px 20px;
    -o-background-size: 20px 20px;
    background-size: 20px 20px;
    display: inline-block;
    visibility: hidden;
    float: right;
    vertical-align: middle;
    opacity: 0.7;
    width: 20px;
    height: 20px;
    margin: 2px 10px 0;
}

/* Link List Table */
.wh-csrotator-copy-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    position: relative;
}

.wh-csrotator-link {
    background: #f0f0f1;
    padding: 4px 8px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    font-size: 13px;
    color: #50575e;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fixed .column-link {
    width: 40%;
}

.wh-csrotator-copy-wrapper {
    width: 100%;
}

.wh-csrotator-link {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -moz-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.wp-core-ui .wh-csrotator-copy-wrapper .button.wh-csrotator-copy-button {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    height: auto;
    min-height: 28px;
    background: #fff;
    line-height: 0;
    -webkit-transition: all 0.2s ease-in-out !important;
    -o-transition: all 0.2s ease-in-out !important;
    -moz-transition: all 0.2s ease-in-out !important;
    transition: all 0.2s ease-in-out !important;
}

.wp-core-ui .wh-csrotator-copy-wrapper .button.wh-csrotator-copy-button:hover {
    background: #0073aa !important;
    color: #fff !important;
}

.wp-core-ui .wh-csrotator-copy-wrapper .button.wh-csrotator-copy-button .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.wh-csrotator-copied-message {
    position: absolute;
    background: #0073aa;
    color: #fff;
    padding: 4px 8px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    -webkit-transform: translateY(-10px);
    -moz-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    -o-transform: translateY(-10px);
    transform: translateY(-10px);
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.wh-csrotator-copied-message.show {
    opacity: 1;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
}

/* Status Styles */
.wh-csrotator-status {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 4px 8px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1;
}

.wh-csrotator-status.active {
    background: #edfaef;
    color: #00844a;
}

.wh-csrotator-status.inactive {
    background: #f8e8e7;
    color: #cc1818;
}

/* Tracking Icons */
.wh-csrotator-tracking-logo {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-right: 4px;
}

.wh-csrotator-tracking-logo img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

/* Loading Page Settings Layout */
.wh-csrotator-settings-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    gap: 30px;
    margin: 20px 0;
    position: relative;
    min-height: -webkit-calc(100vh - 200px);
    min-height: -moz-calc(100vh - 200px);
    min-height: calc(100vh - 200px);
}

.wh-csrotator-settings-container {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 450px;
    -moz-box-flex: 0;
    -ms-flex: 0 0 450px;
    flex: 0 0 450px;
    background: #fff;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.wh-csrotator-settings-container.folded {
    display: none;
}

.wh-csrotator-settings-toggle {
    position: absolute;
    left: 400px;
    top: 50px;
    width: 50px;
    height: 50px;
    background: #fff;
    border: 1px solid #e2e4e7;
    cursor: pointer;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.wh-csrotator-settings-toggle.folded {
    left: 0;
    background-color: #9E9E9E;
    color: #fff;
}

.wh-csrotator-settings-toggle:hover {
    background: #f0f0f1;
}

.wh-csrotator-preview-container {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -moz-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    background: #f8f9fa;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    min-height: -webkit-calc(100vh - 200px);
    min-height: -moz-calc(100vh - 200px);
    min-height: calc(100vh - 200px);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.wh-csrotator-preview-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background: #fff;
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Settings Tabs */
.wh-csrotator-settings-tabs {
    background: #f8f9fa;
    margin: 0;
    padding: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    border-bottom: 1px solid #e2e4e7;
}

.wh-csrotator-settings-tabs li {
    margin: 0;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -moz-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.wh-csrotator-settings-tabs li a {
    display: block;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    color: #50575e;
    font-weight: 500;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
}

.wh-csrotator-settings-tabs li.active a {
    color: #2271b1;
    border-bottom-color: #2271b1;
    background: -webkit-gradient(linear, left top, left bottom, from(#f8f9fa), to(#fff));
    background: -webkit-linear-gradient(top, #f8f9fa, #fff);
    background: -moz-linear-gradient(top, #f8f9fa, #fff);
    background: -o-linear-gradient(top, #f8f9fa, #fff);
    background: linear-gradient(to bottom, #f8f9fa, #fff);
}

.wh-csrotator-settings-tabs li a:focus {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    outline: none;
}

.wh-csrotator-settings-tabs li a:hover {
    color: #2271b1;
    background: #fff;
}

.wh-csrotator-tab-content {
    display: none;
    padding: 25px;
}

.wh-csrotator-tab-content.active {
    display: block;
    -webkit-animation: fadeIn 0.3s ease;
    -moz-animation: fadeIn 0.3s ease;
    -o-animation: fadeIn 0.3s ease;
    animation: fadeIn 0.3s ease;
}

/* Form Fields */
.wh-csrotator-settings-container .form-table {
    margin: 0;
}

.wh-csrotator-settings-container .form-table th {
    padding: 20px 10px 20px 0;
    width: 120px;
    color: #1d2327;
}

.wh-csrotator-settings-container .form-table td {
    padding: 15px 10px;
}

/* Radio Field Styling */
.wh-csrotator-settings-container fieldset label {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 5px 20px 5px 0;
    padding: 8px 16px;
    background: #f8f9fa;
    border: 1px solid #e2e4e7;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.wh-csrotator-settings-container fieldset label:hover {
    background: #fff;
    border-color: #2271b1;
}

.wh-csrotator-settings-container fieldset input[type="radio"] {
    margin: 0 8px 0 0;
}

.wh-csrotator-settings-container fieldset input[type="radio"]:checked+span {
    color: #2271b1;
    font-weight: 500;
}

/* Preview Controls */
.wh-csrotator-preview-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    gap: 5px;
    background: #fff;
    padding: 5px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.wh-csrotator-preview-controls button {
    border: none !important;
    background: transparent !important;
    padding: 8px 12px !important;
    -webkit-border-radius: 20px !important;
    -moz-border-radius: 20px !important;
    border-radius: 20px !important;
    color: #50575e !important;
    -webkit-transition: all 0.2s ease !important;
    -o-transition: all 0.2s ease !important;
    -moz-transition: all 0.2s ease !important;
    transition: all 0.2s ease !important;
}

.wh-csrotator-preview-controls button:hover,
.wh-csrotator-preview-controls button.active {
    background: #f0f0f1 !important;
    color: #2271b1 !important;
}

.wh-csrotator-preview-controls button .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.wh-csrotator-logo-preview img {
    width: auto;
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
}

.wh-csrotator-logo-preview:not(.no-logo) {
    margin: 10px 0;
    padding: 10px;
    border: 1px dashed #ccc;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-color: #f3f3f3;
}


/* Animations */
@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
        -webkit-transform: translateY(10px);
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-moz-keyframes fadeIn {
    from {
        opacity: 0;
        -moz-transform: translateY(10px);
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        -moz-transform: translateY(0);
        transform: translateY(0);
    }
}

@-o-keyframes fadeIn {
    from {
        opacity: 0;
        -o-transform: translateY(10px);
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        -o-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        -webkit-transform: translateY(10px);
        -moz-transform: translateY(10px);
        -o-transform: translateY(10px);
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
    }
}

/* Submit Button */
.wh-csrotator-settings-container .submit {
    padding: 0;
    margin: 20px 0;
}

.wh-csrotator-settings-container .submit .button-primary {
    padding: 8px 20px;
    height: auto;
    line-height: 1.4;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

.code-wrapper {
    width: 100%;
    position: relative;
    overflow-y: auto;
    scrollbar-width: thin;
    background-color: #f0f0f1;
    margin-bottom: 10px;
}

.code-wrapper::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.code-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.code-wrapper::-webkit-scrollbar-thumb {
    background: #ccc;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

.code-wrapper code {
    padding: 10px;
    width: 100%;
    display: block;
    white-space: pre-wrap;
    background-color: transparent;
    font-size: 12px;
}

.icon-clipboard::after {
    background-image: url('data:image/svg+xml,<svg width="64" height="64" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8 5.00005C7.01165 5.00082 6.49359 5.01338 6.09202 5.21799C5.71569 5.40973 5.40973 5.71569 5.21799 6.09202C5 6.51984 5 7.07989 5 8.2V17.8C5 18.9201 5 19.4802 5.21799 19.908C5.40973 20.2843 5.71569 20.5903 6.09202 20.782C6.51984 21 7.07989 21 8.2 21H15.8C16.9201 21 17.4802 21 17.908 20.782C18.2843 20.5903 18.5903 20.2843 18.782 19.908C19 19.4802 19 18.9201 19 17.8V8.2C19 7.07989 19 6.51984 18.782 6.09202C18.5903 5.71569 18.2843 5.40973 17.908 5.21799C17.5064 5.01338 16.9884 5.00082 16 5.00005M8 5.00005V7H16V5.00005M8 5.00005V4.70711C8 4.25435 8.17986 3.82014 8.5 3.5C8.82014 3.17986 9.25435 3 9.70711 3H14.2929C14.7456 3 15.1799 3.17986 15.5 3.5C15.8201 3.82014 16 4.25435 16 4.70711V5.00005" stroke="%23000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    -webkit-background-size: 16px 16px;
    -moz-background-size: 16px 16px;
    -o-background-size: 16px 16px;
    background-size: 16px 16px;
    background-position: center;
    background-repeat: no-repeat;
    content: "";
    width: 16px;
    height: 16px;
    display: inline-block;
}

button:hover .icon-clipboard::after {
    background-image: url('data:image/svg+xml,<svg width="64" height="64" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8 5.00005C7.01165 5.00082 6.49359 5.01338 6.09202 5.21799C5.71569 5.40973 5.40973 5.71569 5.21799 6.09202C5 6.51984 5 7.07989 5 8.2V17.8C5 18.9201 5 19.4802 5.21799 19.908C5.40973 20.2843 5.71569 20.5903 6.09202 20.782C6.51984 21 7.07989 21 8.2 21H15.8C16.9201 21 17.4802 21 17.908 20.782C18.2843 20.5903 18.5903 20.2843 18.782 19.908C19 19.4802 19 18.9201 19 17.8V8.2C19 7.07989 19 6.51984 18.782 6.09202C18.5903 5.71569 18.2843 5.40973 17.908 5.21799C17.5064 5.01338 16.9884 5.00082 16 5.00005M8 5.00005V7H16V5.00005M8 5.00005V4.70711C8 4.25435 8.17986 3.82014 8.5 3.5C8.82014 3.17986 9.25435 3 9.70711 3H14.2929C14.7456 3 15.1799 3.17986 15.5 3.5C15.8201 3.82014 16 4.25435 16 4.70711V5.00005" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

.wh-csrotator-copy .button:hover {
    background-color: #0a4b78;
    color: #ffffff;
}

.wh-csrotator-copy .button {
    line-height: 0;
    border: 1px solid #ccc;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 40px;
    color: #50575e;
}

.wh-csrotator-copy .buttons {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    gap: 5px;
}

.wp-core-ui .wh-csrotator-copy-wrapper .button.wh-csrotator-copy-button:hover {
    background-color: #0073aa !important;
    color: #fff !important;
}

@media screen and (max-width: 850px) {
    .wh-csrotator-postbox-form #post-body.columns-2 #postbox-container-1 {
        float: right !important;
    }
}

.wh-repeater-row {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-flow: row wrap;
    -moz-box-orient: horizontal;
    -moz-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
    -moz-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    position: relative;
}



.wh-repeater-col label {
    font-weight: bold;
}

.wh-repeater-col {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-flow: row wrap;
    -moz-box-orient: horizontal;
    -moz-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    gap: 5px;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -moz-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.wh-repeater-col.action-col {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
}

.wh-repeater-col.action-col .button.wh-repeater-remove {
    line-height: 0;
    padding: 0 5px;
    background-color: #d7d7d7;
    color: #444;
    border: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.wh-repeater-col.action-col .button.wh-repeater-remove:hover {
    background: #fd8e85;
    color: #fff;
}

.wh-repeater-col select,
.wh-repeater-col input {
    width: 100%;
}

.wh-repeater-col.workload-col {
    max-width: 200px;
}

.wh-repeater-col.staff-col {
    max-width: 300px;
}

.wh-csrotator-tracking-option {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 15px;
    padding: 5px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-transition: background-color 0.3s ease;
    -o-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;
    background-color: #f0f0f1;
    padding: 0 10px;
}

.wh-csrotator-tracking-option:hover {
    background-color: #f5f5f5;
}

.wh-csrotator-tracking-logo {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-right: 15px;
}

.wh-csrotator-tracking-logo img {
    margin-right: 10px;
}

.wh-csrotator-tracking-option-label {
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -moz-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.wh-csrotator-tracking-option .wh-csrotator-switch-wrapper {
    margin-left: auto;
}

.wh-csrotator-id-container {
    margin-top: 5px;
    padding-left: 35px;
    display: none;
    margin-bottom: 20px;
}

.wh-csrotator-id-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
}

.wh-csrotator-id-container input[type="text"],
.wh-csrotator-id-container input[type="number"],
.wh-csrotator-id-container select {
    width: 100%;
    max-width: 300px;
    padding: 6px 10px;
    border: 1px solid #ddd;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    font-size: 14px;
}

.wh-csrotator-id-container label {
    display: block;
    width: 100%;
}

.wh-csrotator-pro-message {
    padding: 5px;
    background-color: #ffe8c6;
    border: 1px solid #FF5722;
}

.wh-csrotator-tracking-note {
    background-color: #ffd699;
    padding: 10px;
    border: 1px solid #F44336;
    margin-bottom: 10px !important;
    display: block;
}
