/**
 * Brief Label CSS Styles
 * Styles for the Brief Label popup and buttons
 */

/* Brief Label Container */
.brief_label_container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.brief_label_btn_wrapper {
    background: #000;
    border-radius: 15px;
    padding: 50px;
    max-width: 600px;
    width: 80%;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.close-brief-label-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.close-brief-label-popup:hover {
    color: #000;
}

/* Brief Label Content */
.brief-label-content {
    margin-top: 20px;
}

.brief-label-content .tab_btn {
    margin-bottom: 0;
}
.brief-label-content .tab_btn a {
    border: 1px solid #000 !important;
    color: #000 !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    padding: 10px 15px !important;
    align-items: center !important;
    transition: all 0.5s ease-in-out !important;
    background: #fff !important;
    text-decoration: none !important;
    line-height: 1 !important;
    border-bottom: 3px solid #000 !important;
    font-size: 17px !important;
    height: 44px !important;
    letter-spacing: normal !important;
    font-family: sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
}
body.page-template-default .site-wrapper .site-content-wrapper .site-content .employee_shop_dashboard .brief_label_container .brief_label_btn_wrapper .brief-label-content .tab_btn a:hover:not(.wp-block-button__link):not(.button):not(.wp-block-file__button):not(.remove):not(.slide-button):not(.gbt_custom_link):not(.vc_btn3):not(.restore-item):not(.wpml-ls-link):not(.wcml-cs-item-toggle):not(.wpml-ls-item-toggle),
.brief-label-content .tab_btn a:hover {
    background: #000 !important;
    color: #fff !important;
    border-color: #fff !important;
}

.brief-label-content .tab_btn a:disabled,
.brief-label-content .tab_btn a.disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Status Messages */
.brief-label-status {
    margin-top: 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brief-label-status p {
    margin: 0;
    padding: 0;
}

.brief-label-status .loading {
    color: #fff;
    font-weight: 500;
    margin: 8px auto;
}

.brief-label-status .success {
    color: #fff;
    font-weight: 500;
    margin: 8px auto;
}

.brief-label-status .error {
    color: #dc3232;
    font-weight: 500;
}

/* Button wrapper in Links section */
.brief-label-wrapper {
    display: inline-block;
    margin-right: 10px;
}

/* Loading animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.brief-label-status .loading::before {
    content: "⟳ ";
    display: inline-block;
    animation: spin 1s linear infinite;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .brief_label_btn_wrapper {
        padding: 20px;
        max-width: 95%;
    }
    
    .brief-label-content .tab_btn a {
        display: block;
        text-align: center;
    }
}