.btn-custom {
    background-color: #989b66;
    color: #fff;
    border-radius: 6px;
}

.btn-custom:hover {
    background-color: #7f8253;
}

/* Custom Validation Tooltip */
input:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown),
select:invalid:not(:placeholder-shown) {
    /* border-color: #ff9800 !important; */
}

input:invalid:not(:placeholder-shown):focus+.validation-message,
textarea:invalid:not(:placeholder-shown):focus+.validation-message,
select:invalid:not(:placeholder-shown):focus+.validation-message,
input:invalid:not(:placeholder-shown):not(:focus)+.validation-message,
textarea:invalid:not(:placeholder-shown):not(:focus)+.validation-message {
    display: block;
}

.validation-message {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    white-space: nowrap;
    font-size: 14px;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.validation-message::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #fff;
}

.validation-message::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 19px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #ddd;
    z-index: -1;
}

.validation-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #821F40;
    color: #fff;
    border-radius: 4px;
    text-align: center;
    line-height: 20px;
    font-weight: bold;
    margin-right: 8px;
    font-size: 14px;
    vertical-align: middle;
}

.form-group-relative {
    position: relative;
}

/* Show validation on submit attempt */
.form-submitted input:invalid,
.form-submitted textarea:invalid,
.form-submitted select:invalid {
    border-color: #821F40 !important;
}

.form-submitted input:invalid+.validation-message,
.form-submitted textarea:invalid+.validation-message,
.form-submitted select:invalid+.validation-message {
    display: block;
}

/* Success Notification */
.success-notification {
    display: none;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    min-width: 400px;
    animation: slideDown 0.3s ease-out;
}

.success-notification.show {
    display: block;
}

.success-notification .success-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.success-notification .success-title {
    color: #155724;
    font-weight: bold;
    font-size: 18px;
    margin: 0;
}

.success-notification .success-message {
    color: #155724;
    font-size: 14px;
    margin: 0;
}

.success-notification .close-btn {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    margin-left: 20px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ============================================
   TAB NAVIGATION STYLE 1 - UNDERLINE (Reports)
   ============================================ */
.tab-nav-underline {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e1e8ed;
    margin-bottom: 30px;
}

.tab-nav-underline .tab-btn {
    padding: 14px 28px;
    background: transparent;
    border: none;
    color: #000000;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.tab-nav-underline {
    color: #989b66;
    background-color: #ffffff;
}

.tab-nav-underline .tab-btn.active {
    color: #989b66;
    border-bottom-color: #989b66;
    font-weight: 600;
}

/* ============================================
   FILTER & CONTROLS SECTION
   ============================================ */
.filter-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-label {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

.date-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.date-input {
    padding: 8px 14px 8px 14px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 14px;
    color: #2d3748;
    min-width: 160px;
    transition: all 0.3s ease;
}

.date-input:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.input-icon {
    position: absolute;
    right: 12px;
    color: #718096;
    pointer-events: none;
}

.btn-filter {
    padding: 8px 28px;
    background: #989b66;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-filter:hover {
    background: #821F40;
    box-shadow: 0 4px 8px rgba(140, 141, 72, 0.4);
    transform: translateY(-1px);
}

/* ============================================
   CONTROLS SECTION
   ============================================ */
.controls-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 15px;
}

.show-entries {
    display: flex;
    align-items: center;
    gap: 10px;
}

.show-entries label {
    font-size: 14px;
    font-weight: 500;
    color: #821F40;
}

.entries-select {
    padding: 8px 32px 8px 12px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 14px;
    color: #000000;
    cursor: pointer;
    background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23718096' d='M6 9L1 4h10z'/%3E%3C/svg%3E") no-repeat right 10px center;
    appearance: none;
}

.entries-select:focus {
    outline: none;
    border-color: #821F40;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-input {
    padding: 8px 40px 10px 14px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 14px;
    min-width: 260px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #989b66;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.search-wrapper .input-icon {
    position: absolute;
    right: 14px;
    color: #821F40;
}

/* ============================================
   DATA CARDS & TABLES
   ============================================ */
.data-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
    overflow: hidden;
}

.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #8b2252;
    margin: 0;
}

.table-wrapper {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    background-color: #f7fafc;
}

.data-table th {
    padding: 14px 24px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    color: #8b2252;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
}

.data-table td {
    padding: 16px 24px;
    border-bottom: 1px solid #f0f4f8;
    font-size: 14px;
    color: #989b66;
}

.data-table tbody tr:hover {
    background-color: #f7fafc;
}

.text-right {
    text-align: right;
}

.indented {
    padding-left: 50px !important;
}

.expandable-row {
    cursor: pointer;
    font-weight: 600;
}

.expand-icon {
    margin-right: 10px;
    color: #4299e1;
    transition: transform 0.3s ease;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    border-top: 1px solid #e2e8f0;
    flex-wrap: wrap;
    gap: 15px;
}

.pagination-info {
    font-size: 14px;
    color: #718096;
}

.pagination-links {
    display: flex;
    gap: 6px;
}

.page-link {
    padding: 8px 14px;
    border: 1px solid #cbd5e0;
    background: white;
    color: #4299e1;
    font-size: 14px;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-block;
}

.page-link:hover:not(.disabled) {
    background-color: #ebf8ff;
    border-color: #4299e1;
    color: #2c5282;
}

.page-link.active {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: white;
    border-color: #4299e1;
    pointer-events: none;
    font-weight: 600;
}

.page-link.disabled {
    color: #a0aec0;
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
}

/* ============================================
   INVOICE TABLE
   ============================================ */
.invoice-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e2e8f0;
}

.invoice-table thead {
    background-color: #7b1544;
}

.invoice-table th {
    padding: 16px 20px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
}

.invoice-table td {
    padding: 16px 20px;
    border: 1px solid #e2e8f0;
    font-size: 14px;
    color: #2d3748;
}

.invoice-table tbody tr {
    background-color: #f5f5f5;
}

/* ============================================
   ADVERTISING SECTION
   ============================================ */
.advertising-section {
    padding: 24px;
    background-color: #f5f5f5;
    border-radius: 10px;
}

.ad-wrapper {
    max-width: 800px;
}

.add-campaign-btn-wrapper {
    margin-bottom: 20px;
}

.btn-add-campaign {
    padding: 12px 24px;
    background: #7b1544;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(111, 66, 193, 0.3);
}

.btn-add-campaign:hover {
    background: #490a28;
    box-shadow: #8c0f4c;
    transform: translateY(-1px);
}

.btn-add-campaign i {
    margin-right: 8px;
}

.campaign-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border: 2px solid #989b66;
    border-radius: 8px;
    padding: 16px 20px;
    min-height: 60px;
}

.campaign-name {
    font-weight: 600;
    color: #2d3748;
    font-size: 15px;
}

.campaign-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e0;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.toggle-switch input:checked+.slider {
    background-color: #821F40;
}

.toggle-switch input:checked+.slider:before {
    transform: translateX(24px);
}

.dropdown-icon {
    color: #821F40;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.dropdown-icon:hover {
    transform: rotate(180deg);
}

/* ============================================
   ADMIN CENTER SECTION
   ============================================ */


.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.company-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.company-logo {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.company-name {
    color: #1a237e;
    font-weight: 600;
    font-size: 16px;
}

.admin-title {
    color: #2d3748;
    font-weight: 600;
    font-size: 20px;
    margin: 0;
}

.admin-hero {
   background: #ffffff;
   border-radius: 12px;
   padding: 22px 26px;
   box-shadow: 0 4px 14px rgba(0,0,0,0.05);
   display: flex;
   align-items: center;
   justify-content: space-between;
   margin-bottom: 20px;
}

.admin-hero-left {
   display: inline-flex;
   align-items: center;
   gap: 14px;
}

.admin-hero-name {
   font-size: 28px;
   font-weight: 700;
   color: #1f2933;
}

.admin-hero-right {
   font-size: 20px;
   font-weight: 600;
   color: #243342;
}

.admin-hero-title {
   display: inline-block;
}

.admin-content-wrapper {
   display: grid;
   grid-template-columns: 280px 1fr;
   gap: 24px;
   margin: 0 auto;
   width: 100%;
   max-width: 1280px;
   align-items: start;
}

/* Admin Center Full Width - Sidebar will be hidden via JavaScript */

/* Admin Sidebar Navigation */
.admin-sidebar-nav {
    background: white;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
    padding: 0;
    height: fit-content;
}

.admin-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-nav-item {
    border-bottom: 1px solid #e2e8f0;
}

.admin-nav-item:last-child {
    border-bottom: none;
}

.admin-nav-link {
    display: block;
    padding: 16px 18px;
    color: #2d3748;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.admin-nav-item.active .admin-nav-link {
    color: #7B2C38;
    font-weight: 700;
    background-color: #f7fafc;
}

.admin-nav-item.active .admin-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #7B2C38;
}

.table-wrapper-admin {
    overflow-x: auto;
    margin-bottom: 24px;
}



.content-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 28px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 24px;
}

/* Admin Table */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e2e8f0;
}

.admin-table thead {
    background-color: #f8f9fa;
}

.admin-table th {
    padding: 14px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: #7b1544;
    border: 1px solid #e2e8f0;
}

.admin-table td {
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    font-size: 14px;
    color: #2d3748;
}

.text-center {
    text-align: center;
}

.custom-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #4299e1;
}

.action-buttons {
    margin-top: 24px;
}

.btn-save {
    padding: 12px 32px;
    background: #7b1544;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;

}

.btn-save:hover {
    background: white;
    color: #7b1544;
    box-shadow: 0 4px 10px rgba(111, 66, 193, 0.4);
    transform: translateY(-1px);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .admin-content-wrapper {
        grid-template-columns: 1fr;
    }

    .vertical-tabs {
        flex-direction: row;
        overflow-x: auto;
    }

    .vertical-tab {
        border-left: none;
        border-bottom: 3px solid transparent;
        white-space: nowrap;
    }

    .vertical-tab.active {
        border-left: none;
        border-bottom-color: #6f42c1;
    }
}

@media (max-width: 768px) {

    .filter-section,
    .controls-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-input,
    .date-input {
        min-width: 100%;
    }

    .tab-nav-underline .tab-btn,
    .tab-btn-classic {
        font-size: 14px;
        padding: 10px 16px;
    }

    .pagination-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .campaign-item {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

/* ============================================
   REPORT PAGE STYLES
   ============================================ */
.reports-section {
    padding: 0 24px;
}

.report-table-wrapper {
    margin-top: 20px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding: 0 20px;
}

.report-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #f1f4f8;

}

.report-table thead {
    background-color: #8b2252;


}


.report-table thead th {
    padding: 14px 20px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 20px;
}


.report-table thead th.text-right {
    text-align: right;
}

.report-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
}

.report-table tbody tr:hover {
    background-color: #f7fafc;
}

.report-table tbody td {
    padding: 16px 20px;
    font-size: 14px;
    color: #2d3748;
}

.report-table tbody td.text-right {
    text-align: right;
}

.report-total-row {
    background-color: #e9ecef !important;
    font-weight: 600;
}

.report-total-row:hover {
    background-color: #e9ecef !important;
}

.report-indented {
    padding-left: 50px !important;
}

.report-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 18px 24px;
    border-top: 1px solid #e2e8f0;
}

.report-page-link {
    padding: 8px 14px;
    border: 1px solid #cbd5e0;
    background: white;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-block;
}

.report-page-link:hover:not(.disabled):not(.active) {
    background-color: #f7fafc;
    border-color: #cbd5e0;
    color: #333;
}

.report-page-link.active {
    background-color: #7B2C38;
    color: white;
    border-color: #7B2C38;
    pointer-events: none;
    font-weight: 600;
}

.report-page-link.disabled {
    color: #a0aec0;
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
}

/* Sidebar visibility is controlled by JavaScript */
/*.companyprofile_adswrapper_sticky {
    transition: opacity 0.3s ease;
    position: relative;
    top: 0;
    margin-top: 0;
}*/

/* Ensure sidebar stays on right side */
.col-xl-3.col-lg-3 {
    display: flex;
    flex-direction: column;
}

/* Ensure row maintains proper layout */
/*.tp-companiesposts-area .row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}*/

/* Fix sidebar positioning - Top Right */
/*.tp-companiesposts-area .container>.row {
    display: flex;
    align-items: flex-start;
    align-content: flex-start;
}*/

/*.tp-companiesposts-area .col-xl-3.col-lg-3 {
    position: sticky;
    top: 0;
    align-self: flex-start;
    height: fit-content;
    max-height: calc(100vh - 20px);
    overflow-y: auto;
    padding-top: 0;
    margin-top: 0;
}*/

/* Admin Center specific styles */
.company-logo-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.company-logo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Media Library Styles */
.media-library-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 600px;
    overflow-y: auto;
}

.media-library-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    transition: all 0.3s ease;
}

.media-library-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e0;
}

.media-library-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.media-library-filename {
    flex: 1;
    font-size: 14px;
    color: #2d3748;
    word-break: break-all;
    font-family: monospace;
}

.media-library-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-delete-media {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.btn-delete-media:hover {
    background-color: #c82333;
}

.btn-copy-media {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.btn-copy-media:hover {
    background-color: #218838;
}

/* Rich Text Editor Styles */
.ql-container {
    min-height: 100px;
    font-size: 14px;
}

.ql-editor {
    min-height: 100px;
}

#newsContentEditor,
#productDescriptionEditor,
.rich-text-editor {
   height:80px !important;
}

/* Featured Image Link */
.featured-image-link:hover {
    text-decoration: underline;
}

/* Admin Center Back Button */
.admin-back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #7b1544;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.admin-back-button:hover {
    background-color: #ffffff;
    color: #7b1544;
    transform: translateX(-3px);
}

.admin-back-button i {
    font-size: 14px;
}

.admin-header {
    background: white;
    padding: 24px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.content-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 32px;
    border: 0.2px solid #dbdfe4;
}

.admin-table {
    border-radius: 8px;
    overflow: hidden;
    width: 700px;
}

.admin-table thead {
    background: #7b1544;
}

.admin-table thead th {
    color: white;
    font-weight: 600;
    padding: 12px;
}

.admin-table tbody tr {
    transition: all 0.3s ease;
}

.admin-table tbody tr:hover {
    background-color: #f7fafc;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-save {
    background: #7b1544;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(123, 44, 56, 0.3);
    transition: all 0.3s ease;
}

/* Admin center tabs */
.admin-section {
   display: none;
}

.admin-section.active {
   display: block;
}

.admin-nav-list {
   list-style: none;
   padding: 0;
   margin: 0 24px 0 0;
}

.admin-nav-item {
   margin-bottom: 10px;
}

.admin-nav-link {
   display: block;
   padding: 12px 16px;
   border-radius: 10px;
   color: #243342;
   font-weight: 600;
   text-decoration: none;
   transition: all 0.25s ease;
}



/* Notifications page */
.notification-card {
   background: #f6f6f6;
   border: 1px solid #e2e3e8;
   border-radius: 10px;
   padding: 22px;
}

.notification-form .form-group label {
   font-weight: 600;
   color: #333;
   margin-bottom: 8px;
}

.frequency-options,
.notify-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
   gap: 14px;
}

.radio-inline,
.checkbox-inline {
   display: flex;
   align-items: center;
   gap: 8px;
   font-weight: 500;
   color: #2b2b2b;
}

/* Payment methods */
.payment-header {
   display: flex;
   align-items: center;
   justify-content: space-between;
   margin-bottom: 18px;
}

.payment-table {
   width: 100%;
   border-collapse: collapse;
}

.payment-table th,
.payment-table td {
   padding: 12px 10px;
   border-bottom: 1px solid #e5e7eb;
   font-size: 14px;
}

.payment-table thead th {
   background: #f6f6f6;
   font-weight: 700;
}

.payment-actions {
   display: flex;
   gap: 16px;
   margin-top: 20px;
}

.btn-outline-primary {
   padding: 14px 24px;
   border-radius: 6px;
   border: 1px solid #7b1544;
   background: transparent;
   color: #7b1544;
   font-weight: 600;
   transition: all 0.25s ease;
}

.btn-outline-primary:hover {
   background: #7b1544;
   color: #fff;
}

/* Feed cards */
.posts_wrapper .card {
   position: relative;
}

.companypost_edit {
   position: absolute;
   top: -12px;
   right: -6px;
   background: #7b1544;
   color: #fff;
   width: 44px;
   height: 44px;
   border-radius: 12px;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: transform 0.2s ease;
}

.companypost_edit a {
   color: inherit;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 100%;
   height: 100%;
}

/* .companypost_edit:hover {
   transform: translateY(-2px);
} */

.reaction-bar .f_sz14 {
   font-weight: 600;
}

.reaction-bar .sendmeinfo {
   margin-left: auto;
}

/* Send me info */
.smi-tabs {
   display: flex;
   gap: 6px;
   margin-bottom: 16px;
}

.smi-tab {
   border: 1px solid #d1d5db;
   background: #f8f9fb;
   padding: 10px 16px;
   border-radius: 8px 8px 0 0;
   font-weight: 600;
   color: #2d2d2d;
   cursor: pointer;
   transition: all 0.2s ease;
}

.smi-tab.active {
   background: #ffffff;
   border-bottom-color: #ffffff;
   color: #7b1544;
}

.smi-panel {
   display: none;
}

.smi-panel.active {
   display: block;
}

.smi-table {
   width: 100%;
   border-collapse: collapse;
}

.smi-table th,
.smi-table td {
   padding: 12px 10px;
   border-bottom: 1px solid #e5e7eb;
   font-size: 14px;
}

.smi-table thead th {
   background: #7b1544;
   color: #fff;
   font-weight: 700;
}

.smi-select {
   width: 120px;
   margin-bottom: 6px;
}

.smi-details {
   display: inline-block;
   color: #7b1544;
   font-weight: 600;
   text-decoration: none;
   margin-top: 4px;
}

.smi-details:hover {
   text-decoration: underline;
}

.company_page_view{
    height: 26px !important;
}

