 @keyframes wt-opacity-animation {
  from {opacity: 0;}
  to {oapcity: 1;}
}
.wt-custom-btn-group {
    position: relative;
    overflow: visible;
    display: inline-block;
}
.wt-custom-btn-group:hover:before, .wt-custom-btn-group:hover:after {
    display: block;
  animation-name: wt-opacity-animation;
  animation-duration: .3s;
}
.wt-custom-btn-group:before, .wt-custom-btn-group:after {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: none;
}
.wt-custom-btn-group:before {
    content: attr(data-custom-tooltip);
    bottom: calc(100% + 6px);
    background: rgba(0,0,0,.8);
    color: #fff;
    padding: 8px;
    border-radius: 5px;
    min-width: 300px;
    font-size: 13px;
}
.wt-custom-btn-group:after {
    content: '';
    font-size: 0;
    border-top: 6px solid rgba(0,0,0,.8);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    bottom: 100%;
}
.wt-custom-btn-group input[type="radio"] {
    width: 0;
    height: 0;
    position: absolute;
    opacity: 0;
}
.wt-custom-btn-group .button {
    float: left;
}
.wt-custom-btn-group .button:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.wt-custom-btn-group .button ~ .button {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin-left: -1px;
}
.wt-custom-btn-group input:checked + .button {
    background: #007cba;
    border-color: #007cba;
    color: #fff;
}
.form-table th[scope="row"] {
    text-align: right;
}
#allOptions {
    padding-top: 5px;
}
#allOptions ul.checkbox > li {
    min-width: 200px;
    float: left;
}
#allOptions ul.checkbox {
    float: left;
    max-width: 400px;
    margin-top: 20px;
}
@media (max-width: 782px) {
    .form-table th[scope="row"] {
        text-align: left;
    }
}
 
.custom-login-page {
    max-width: 500px;
    margin: 40px auto;
}

.custom-login-page > h2 {
    font-size: 24px;
    margin: 0;
}

.custom-login-page > h2:empty {
    display: none;
}

.custom-login-page > p {
    font-size: 14px;
    margin: 0 0 10px;
}

.custom-login-page > b {
    margin: 20px 0 30px;
    display: block;
    font-size: 14px;
}

.custom-login-page > .form-table {
    background: #fff;
    box-shadow: 0 2px 6px rgb(0 0 0 / 5%);
    border-radius: 8px;
    margin-top: 20px;
}
.custom-login-page > .form-table tr {
    padding: 35px 40px 0;
}

.custom-login-page > .form-table tr, 
.custom-login-page > .form-table tr th, 
.custom-login-page > .form-table tr td {
    display: block;
}

.custom-login-page > .form-table tr th {
    text-align: left;
    padding: 0;
    width: auto;
}

.custom-login-page > .form-table tr td {
    padding: 0;
    margin: 0;
}

.custom-login-page > .form-table .submit {
    padding: 0;
    float: left;
    padding-bottom: 35px;
}

.custom-login-page > .form-table .submit .button {
    min-width: 100px;
}

.custom-login-page > .form-table .create-an-account-link {
    display: inline-block;
    margin-left: 12px;
    padding: 8px 0 42px;
}

.custom-login-page > .form-table .create-an-account-link a {
    margin-left: 10px;
    text-decoration: none;
}

.custom-login-page > .form-table #websitetoolbox_username, 
.custom-login-page > .form-table #websitetoolbox_password {
    width: 100%;
    margin-top: 10px;
    border-color: #ccc;
}

.custom-login-page > .form-table #websitetoolbox_username:focus, 
.custom-login-page > .form-table #websitetoolbox_password:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

.custom-login-page > .form-table #websitetoolbox_username.has-error, 
.custom-login-page > .form-table #websitetoolbox_password.has-error {
    border-color: #dc3545;
    box-shadow: 0 0 0 1px #dc3545;
}

.custom-login-page > .form-table #websitetoolbox_username ~ span.custom-error, 
.custom-login-page > .form-table #websitetoolbox_password ~ span.custom-error {
    width: 100%;
    margin-top: 10px;
    display: none;
}

.custom-login-page > .form-table #websitetoolbox_username.has-error ~ span.custom-error, 
.custom-login-page > .form-table #websitetoolbox_password.has-error ~ span.custom-error {
    display: block;
    color: #dc3545;
}

.custom-login-page > .form-table #websitetoolbox_username.has-error ~ span.custom-error, 
.custom-login-page > .form-table #websitetoolbox_password.has-error ~ span.custom-error {
    display: block;
    color: #dc3545;
}

.custom-login-page > .form-table #websitetoolbox_username.has-error ~ span.custom-error a, 
.custom-login-page > .form-table #websitetoolbox_password.has-error ~ span.custom-error a {
    color: inherit;
}

.custom-login-page > .form-table #websitetoolbox_password ~ .forgot-password-link {
    display: block;
    text-align: right;
    margin-top: 10px;
}

.custom-login-page > .form-table #websitetoolbox_password.has-error ~ .forgot-password-link {
    display: none;
}

button.components-button.is-pressed.has-icon:has(.wt_chat_icon) {
    background: #eaeaea !important;
}

.wt_chat_icon{
    margin-top: 4px;
}

.dev-sidebar-category-none{
    display: none;
}

.dev-sidebar-category-block{
    display: block;
}

.request-error#wtb-error {
    border-radius: 8px;
    padding: 10px 20px;
    border-left-width: 6px;
    padding-bottom: 20px;
    margin: 15px 0;
    margin-right: 15px;
}

/* Website Toolbox Menu Icon Styles */
#adminmenu .toplevel_page_websitetoolboxUpdateOptions .wp-menu-image img,
#adminmenu .toplevel_page_websitetoolboxoptions .wp-menu-image img {
    width: 20px;
    height: 20px;
    padding: 0;
    opacity: 0.6;
}

#adminmenu .toplevel_page_websitetoolboxUpdateOptions:hover .wp-menu-image img,
#adminmenu .toplevel_page_websitetoolboxoptions:hover .wp-menu-image img,
#adminmenu .toplevel_page_websitetoolboxUpdateOptions.current .wp-menu-image img,
#adminmenu .toplevel_page_websitetoolboxoptions.current .wp-menu-image img {
    opacity: 1;
}

/* Forum Logs Page Styles */
.wtb-logs-header {
    background: #fff;
    padding: 15px;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
}

.wtb-table-wrapper {
    overflow-x: auto;
    margin-bottom: 15px;
}

.wtb-logs-table {
    min-width: 100%;
    table-layout: auto;
}

.wtb-log-message {
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.wtb-log-context {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    margin-top: 10px;
    padding: 10px;
    background: #f5f5f5;
    border-left: 3px solid #0073aa;
    border-radius: 3px;
}

.wtb-log-context pre {
    margin: 0;
    white-space: pre;
    word-wrap: normal;
    overflow-wrap: normal;
    max-width: none;
    min-width: 100%;
}

.wtb-log-row td {
    vertical-align: top;
}

/* Log Level Badge Styles */
.wtb-log-level {
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
    display: inline-block;
}

.wtb-log-level-error {
    background: #dc3232;
    color: white;
}

.wtb-log-level-warning {
    background: #ffb900;
    color: #000;
}

.wtb-log-level-info {
    background: #00a0d2;
    color: white;
}

.wtb-log-level-debug {
    background: #808080;
    color: white;
}

/* Make table responsive */
@media screen and (max-width: 1024px) {
    .wp-list-table.widefat th:nth-child(7),
    .wp-list-table.widefat td:nth-child(7) {
        display: none; /* Hide User Agent on smaller screens */
    }
    
    .wp-list-table.widefat th:nth-child(1),
    .wp-list-table.widefat td:nth-child(1) {
        width: 120px !important;
    }
}

@media screen and (max-width: 782px) {
    .wp-list-table.widefat th:nth-child(5),
    .wp-list-table.widefat td:nth-child(5) {
        display: none; /* Hide User on mobile */
    }
    
    .wp-list-table.widefat th:nth-child(3),
    .wp-list-table.widefat td:nth-child(3) {
        width: 90px !important;
    }
    
    .wtb-log-message {
        font-size: 13px;
    }
    
    .wtb-toggle-context {
        margin-top: 5px !important;
        margin-left: 0 !important;
    }
}

.tablenav .actions select {
    float: none;
}
