.event_btn{
    border-radius: 5px;
    background: #592B7D;
    padding: 8px 15px;
    display: inline-flex;
    align-items: center;
}
.inbox_newsletter_btn{
    padding: 14px;
    font-size: 1.3rem !important;
}

/* Content Envelope Container */
.custom-job-modal {
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden;
    background: #ffffff;
    font-family: 'Poppins', 'Inter', sans-serif;
}

/* Premium Header Adjustments */
.header-premium {
    background: #fdfdfd;
    border-bottom: 1px solid #f0f0f0 !important;
    padding: 24px 28px !important;
    display: d-flex;
    align-items: flex-start;
    justify-content: space-between;
}
.header-title-container {
    max-width: 90%;
}
.badge-accent {
    background: rgba(255, 182, 6, 0.12);
    color: #d49300;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 50px;
    display: inline-block;
}
.custom-job-modal .modal-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1a1a1a;
    line-height: 1.4;
}
.highlight-text {
    color: #ffb606;
}
.company-text {
    color: #6c757d;
    font-weight: 400;
    font-size: 16px;
}
.close-btn {
    background: transparent;
    border: none;
    font-size: 28px;
    color: #b0b0b0;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
    padding: 0;
    margin-top: -4px;
}
.close-btn:hover {
    color: #333;
}

/* Input Elements Micro-Styling Framework */
.form-group-custom label {
    font-weight: 600 !important;
    font-size: 13px !important;
    color: #495057;
    margin-bottom: 8px;
    display: block;
}
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.input-icon {
    position: absolute;
    left: 16px;
    color: #a0a0a0;
    font-size: 14px;
    transition: color 0.2s ease;
}
.form-control-custom {
    width: 100%;
    padding: 12px 16px 12px 44px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    color: #334155 !important;
    font-size: 14px !important;
    height: auto !important;
    transition: all 0.25s ease !important;
}
.form-control-custom:focus {
    background: #fff !important;
    border-color: #ffb606 !important;
    box-shadow: 0 0 0 4px rgba(255, 182, 6, 0.15) !important;
    outline: none !important;
}
.form-control-custom:focus + .input-icon {
    color: #ffb606;
}

/* Premium Custom File Upload Box Layout */
.upload-dropzone-box {
    position: relative;
    border: 2px dashed #cbd5e1;
    background: #f8fafc;
    border-radius: 10px;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
}
.upload-dropzone-box:hover {
    border-color: #ffb606;
    background: rgba(255, 182, 6, 0.02);
}
.upload-dropzone-box input[type="file"] {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}
.dropzone-trigger-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 !important;
    cursor: pointer;
    z-index: 1;
}
.dropzone-icon {
    font-size: 32px;
    color: #94a3b8;
    margin-bottom: 10px;
    transition: transform 0.2s ease, color 0.2s ease;
}
.upload-dropzone-box:hover .dropzone-icon {
    color: #ffb606;
    transform: translateY(-2px);
}
.dropzone-text-primary {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
}
.dropzone-text-secondary {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
}
/* State style class applied dynamically when a file gets selected */
.upload-dropzone-box.has-file {
    border-style: solid;
    border-color: #2ec4b6;
    background: rgba(46, 196, 182, 0.04);
}
.upload-dropzone-box.has-file .dropzone-icon {
    color: #2ec4b6;
}

/* Quality Assurance Error Strings Layout */
.text-error {
    color: #ef4444;
    font-size: 12px;
    font-weight: 500;
    display: block;
    margin-top: 6px;
}

/* Custom Alert Panel Overrides */
.custom-alert {
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
}
.custom-alert.alert-success {
    background-color: #ecfdf5 !important;
    color: #065f46 !important;
}
.custom-alert.alert-danger {
    background-color: #fef2f2 !important;
    color: #991b1b !important;
}
.alert-icon-ui {
    font-size: 16px;
}

/* Premium Button Footers */
.footer-premium {
    background: #fdfdfd;
    border-top: 1px solid #f0f0f0 !important;
    gap: 12px;
}
.btn-cancel-modern {
    background: #f1f5f9 !important;
    color: #64748b !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    border: none !important;
    transition: all 0.2s ease !important;
}
.btn-cancel-modern:hover {
    background: #e2e8f0 !important;
    color: #475569 !important;
}
.btn-apply-modern {
    background: #ffb606 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 10px 24px !important;
    border-radius: 8px !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(255, 182, 6, 0.25) !important;
    transition: all 0.2s ease !important;
}
.btn-apply-modern:hover {
    background: #e09f00 !important;
    box-shadow: 0 6px 16px rgba(255, 182, 6, 0.35) !important;
    transform: translateY(-1px);
}
.btn-apply-modern:disabled {
    background: #cbd5e1 !important;
    box-shadow: none !important;
    cursor: not-allowed;
}

/* Tab buttons match theme (#321a4c dark & #ffb606 yellow) */
.restaurant-tabs-wrapper .nav-item-btn {
    background-color: #ffb606;
    color: #000;
    border: none;
    padding: 8px 24px;
    font-weight: 700;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}
.restaurant-tabs-wrapper .nav-item-btn.active {
    background-color: #321a4c !important;
    color: #fff !important;
}
.restaurant-tabs-wrapper .nav-item-btn:hover:not(.active) {
    opacity: 0.9;
}
.star-rating-picker i {
    cursor: pointer;
    transition: transform 0.1s ease;
}
.star-rating-picker i:hover {
    transform: scale(1.15);
}

.ads_container {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Restore bullets and numbered lists inside article body */
.article-body-content ul {
    list-style-type: disc !important;
    padding-left: 24px !important;
    margin-bottom: 16px !important;
}

.article-body-content ol {
    list-style-type: decimal !important;
    padding-left: 24px !important;
    margin-bottom: 16px !important;
}

.article-body-content li {
    list-style: inherit !important;
    margin-bottom: 8px !important;
}

.article-body-content li p {
    padding-bottom: 4px !important;
}

/* ==========================================================================
   ARTICLE BODY & TYPOGRAPHY ENHANCEMENTS (EDITORIAL FIX)
   ========================================================================== */

/* 1. Fix Word-Breaking & Line Height for Article Body */
.artical-detail .article-body-content,
.article-body-content p,
.article-body-content li,
.article-body-content span {
    word-break: normal !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    line-height: 1.75 !important;
    font-size: 15.5px;
    color: #333333;
}

/* 2. Paragraph Spacing */
.artical-detail .article-body-content p {
    padding-bottom: 0 !important;
    margin-bottom: 18px !important;
}

/* 3. Heading Spacing & Hierarchy (Breathing room for sections & FAQs) */
.article-body-content h2,
.article-body-content h3,
.article-body-content h4,
.article-body-content h5,
.article-body-content h6 {
    color: #1a1a1a !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin-top: 28px !important;
    margin-bottom: 12px !important;
    padding-bottom: 0 !important;
}

.article-body-content h2 { font-size: 22px !important; }
.article-body-content h3 { font-size: 19px !important; }
.article-body-content h4 { font-size: 17px !important; }
.article-body-content h5,
.article-body-content h6 { font-size: 16px !important; }

/* If a sub-heading immediately follows a heading, avoid double top spacing */
.article-body-content h2 + h3,
.article-body-content h3 + h4,
.article-body-content h2 + h4 {
    margin-top: 8px !important;
}

/* First element in content shouldn't have top margin */
.article-body-content > *:first-child {
    margin-top: 0 !important;
}

/* 4. Lists & Bullet Points Line Spacing */
.article-body-content ul,
.article-body-content ol {
    margin-bottom: 20px !important;
    padding-left: 24px !important;
}

.article-body-content li {
    margin-bottom: 10px !important;
    line-height: 1.7 !important;
}

/* 5. Safe CKEditor Inline Images Handling */
.article-body-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 24px auto !important;
    border-radius: 6px;
    object-fit: cover;
}

/* For CKEditor 5 <figure class="image"> containers */
.article-body-content figure.image {
    margin: 24px auto !important;
    max-width: 100% !important;
    text-align: center;
}

.article-body-content figure.image img {
    margin: 0 auto !important;
}

.article-body-content figure.image figcaption {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
    text-align: center;
    font-style: italic;
}

/* 6. Responsive Tables inside Content (if added via CKEditor) */
.article-body-content table {
    width: 100% !important;
    max-width: 100% !important;
    margin: 20px 0 !important;
    border-collapse: collapse;
    overflow-x: auto;
    display: block;
}
