.wrap .notice:not(.notice-success) {
    display: none
}

.TRPlugin-emm-full-page {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.TRPlugin-emm-columns-2 {
    display: flex;
    width: 100%;
    flex-direction: row;
    gap: 20px;
}

.TRPlugin-emm-column-a {
    flex: 3; /* 75% of the width */
    box-sizing: border-box;
}

.TRPlugin-emm-column-b {
    flex: 1; /* 25% of the width */
    box-sizing: border-box;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .TRPlugin-emm-columns-2 {
        flex-direction: column; /* Stack columns vertically on smaller screens */
    }
}

.qbp-title input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    font-size: 1.7em;
}

.TRPlugin-emm-global-rule-work {
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 20px;
    position: relative;
    text-align: center;
}

.TRPlugin-emm-global-rule-work__close {
    position: absolute;
    top: 10px;
    width: 26px;
    height: 26px;
    background: #faf6f9;
    color: #814c77;
    text-align: center;
    line-height: 24px;
    right: 10px;
    font-weight: bold;
    border-radius: 50%;
}

.TRPlugin-emm-global-rule-work__close:hover {
    background: #f3ddee;
    cursor: pointer;
}

.TRPlugin-emm-global-rule-work__title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
}

.TRPlugin-emm-global-rule-work__steps {
    justify-content: center;
    gap: 20px;
    display: flex;
    align-items: center;
    margin-top: 30px
}

.TRPlugin-emm-global-rule-work-step--arrow {
    color: #814c77;
}

.TRPlugin-emm-global-rule-work-step__title {
    font-size: 1.4em;
    font-weight: 600;
}

.TRPlugin-emm-global-rule-work-step__description {
    margin-top: 10px;
}

.TRPlugin-emm-global-rule-work-step__icon,
.TRPlugin-emm-global-rule-work-step__icon span {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #faf6f9;
    margin: 0 auto 15px;
    text-align: center;
    color: #814c77;
    font-size: 25px;
    font-weight: bold;
    line-height: 50px;
}


.TRPlugin-emm-global-rule-form .woocommerce-help-tip {
    margin-left: 5px;
}

.TRPlugin-emm-global-rule-form {
    margin: 20px 0;
    display: flex;
    overflow: hidden;
    border-radius: 3px;
    flex-wrap: nowrap;
}

.TRPlugin-emm-global-rule-form__tabs {
    width: 30%;
    max-width: 300px;
    min-width: 250px;
}

.TRPlugin-emm-global-rule-form-tab {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    border-left: 1px solid #e8e8e8;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 15px 10px;
}

.TRPlugin-emm-global-rule-form-tab:first-child {
    border-top: 1px solid #e8e8e8;
}

.TRPlugin-emm-global-rule-form-tab:hover:not(.TRPlugin-emm-global-rule-form-tab--active) {
    background: #fbfbfb;
}

.TRPlugin-emm-global-rule-form-tab--active {
    cursor: default;
    background: #faf6f9;
}

.TRPlugin-emm-global-rule-form-tab__icon {
    transition: all .1s;
    margin-right: 10px;
}

.TRPlugin-emm-global-rule-form-tab--active h3,
.TRPlugin-emm-global-rule-form-tab--active div {
    color: #814c77 !important;
}

.TRPlugin-emm-global-rule-form-tab__title h3 {
    font-size: 1.1em;
    margin: 0;
}

.TRPlugin-emm-global-rule-form-tab__title div {
    margin-top: 5px;
    color: #777;
}

.TRPlugin-emm-global-rule-form-tab-content {
    display: none;
}

.TRPlugin-emm-global-rule-form-tab-content--active {
    display: block;
}

.TRPlugin-emm-global-rule-form__content {
    width: 70%;
    background: #fff;
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 0 8px rgba(0, 0, 0, .1);
}


/* tab hint */
.TRPlugin-emm-global-rule-hint {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #e8e8e8;
    background: #faf6f9;
    color: #814c77 !important;
    margin-bottom: 20px;
}

.TRPlugin-emm-global-rule-hint--top-level {
    margin-top: 10px;
}

.TRPlugin-emm-global-rule-hint__icon {
    margin-right: 10px;
}



/* Admin notice */
#TRPlugin-emm-notice-box.notice_box {
    border: 1px solid #ccc;
    border-radius: 2px;
    margin-bottom: 20px;
    background-color: white;
    overflow: hidden;
}
.notice_box_header {
    font-size: 16px;
    font-weight: bold;
    padding-left: 15px;
    padding-right: 15px;
    color: #333;
    margin-bottom: 10px;

}
.notice-content{
    padding-left: 15px;
    padding-right: 15px;
}
#TRPlugin-emm-notice-box h4 {
    margin: 10px 0;
    font-weight: bold;
    color: #444;
    font-size: 13px;
}
.TRPlugin-emm-notice-list {
    list-style-type: decimal;
    margin-left: 20px;
    padding-left: 20px;
}
.TRPlugin-emm-notice-list li {
    margin-bottom: 5px;
    font-size: 13px;
    color: #555;
}

.publish-content {
    padding: 20px 15px 20px 15px; /* top, right, bottom, left */
}

/* Styling for the publish button container */
.publish_button {
    text-align: center; /* Center the button within the container */
    padding-top: 8px; /* Space above the button */
    padding-bottom: 8px;
    background-color: #F6F7F7;
    display: flex; /* Use flexbox for alignment */
    justify-content: flex-end;
    padding-right: 20px;
}

/* Styling for the publish button */
.publish_button .btn {
    background-color: #125E96; /* Primary button color */
    color: #fff; /* Button text color */
    border: none; /* Remove default border */
    border-radius: 4px; /* Rounded corners */
    padding: 8px 16px; /* Padding for size */
    font-size: 14px; /* Font size */
    font-weight: bold; /* Bold text */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transition */
}

/* Hover effect for the button */
.publish_button .btn:hover {
    background-color: #0056b3; /* Darker shade on hover */
    transform: translateY(-2px); /* Slight upward movement on hover */
}

/* Focus effect for the button */
.publish_button .btn:focus {
    outline: none; /* Remove default focus outline */
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5); /* Custom focus outline */
}