/* Import base styles */
@import url('custom-style.css');

/* Job Posting Page Specific Styles */
.posting-container {
    margin-top: 10px;
    padding: 0 10px;
}

/* Posting Sidebar */
.posting-sidebar {
    width: 380px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: var(--sticky-offset);
    height: calc(100vh - var(--sticky-offset) - 30px);
    overflow-y: auto;
    padding: 20px;
    transition: all 0.3s ease;
}

.posting-sidebar.collapsed {
    width: 60px;
    padding: 20px 10px;
}

.posting-sidebar.collapsed .sidebar-header h4 {
    display: none;
}

.posting-sidebar.collapsed .posting-form {
    display: none !important;
}

.posting-sidebar.collapsed .user-type-tabs {
    display: none;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-purple);
}

.sidebar-header h4 {
    color: var(--primary-purple);
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.toggle-posting-sidebar {
    background: var(--primary-purple);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-posting-sidebar:hover {
    background: var(--dark-purple);
    transform: scale(1.1);
}

/* User Type Tabs */
.user-type-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.user-tab {
    flex: 1;
    padding: 10px 8px;
    border: 2px solid #e0e0e0;
    background: #f5f5f5;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.user-tab i {
    display: block;
    font-size: 20px;
    margin-bottom: 5px;
}

.user-tab:hover {
    border-color: var(--primary-purple);
    background: #f0e6f6;
}

.user-tab.active {
    border-color: var(--primary-purple);
    background: var(--primary-purple);
    color: white;
}

/* Form Sections */
.form-section {
    margin-bottom: 25px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 2px solid var(--text-dark);
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-purple);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.personal-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
    display: block;
}

.form-control,
.form-select {
    font-size: 13px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 0.2rem rgba(106, 27, 154, 0.25);
}

.btn-save-info {
    width: 100%;
    padding: 8px;
    background: #4caf50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-save-info:hover {
    background: #45a049;
    transform: translateY(-2px);
}

/* Text Editor */
.editor-toolbar {
    display: flex;
    gap: 5px;
    padding: 8px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
}

.editor-toolbar button {
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.editor-toolbar button:hover {
    background: var(--primary-purple);
    color: white;
    border-color: var(--primary-purple);
}

.text-editor {
    min-height: 200px;
    max-height: 300px;
    overflow-y: auto;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 0 0 5px 5px;
    background: white;
    font-size: 13px;
    line-height: 1.6;
}

.text-editor:focus {
    outline: none;
    border-color: var(--primary-purple);
}

.text-editor:empty:before {
    content: attr(placeholder);
    color: #999;
    font-style: italic;
}

/* Post Button */
.btn-post {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--light-purple) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(106, 27, 154, 0.4);
}

/* Feed Area */
.feed-area {
    flex: 1;
    margin-left: 15px;
}

/* Main Filter Tabs */
.main-filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    background: white;
    padding: 8px;
    border-radius: 9px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.main-filter-btn {
    flex: 1;
    padding: 8px 10px;
    border: 2px solid #e0e0e0;
    background: #f5f5f5;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.main-filter-btn i {
    margin-right: 6px;
}

.main-filter-btn:hover {
    border-color: var(--primary-purple);
    background: #f0e6f6;
}

.main-filter-btn.active {
    border-color: var(--primary-purple);
    background: var(--primary-purple);
    color: white;
}

/* Advanced Filters */
.advanced-filters {
    background: rgb(196, 193, 193);
    padding: 10px;
    border-radius: 9px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 12px;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    align-items: end;
}

.filter-item label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
    display: block;
}

.filter-select {
    font-size: 10px;
    padding: 7px;
}

.btn-clear-filters {
    width: 100%;
    padding: 7px;
    background: #f44336;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-clear-filters:hover {
    background: #da190b;
}

/* Feed Posts */
.feed-posts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feed-pagination {
    margin-top: 12px;
    background: white;
    border-radius: 9px;
    padding: 10px 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.pagination-summary {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-dark);
}

.pagination-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pagination-btn {
    background: #f4f4f4;
    border: 1px solid #dcdcdc;
    color: var(--text-dark);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-btn:hover {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
    color: white;
}

.pagination-btn.active {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
    color: white;
    cursor: default;
}

.pagination-btn.disabled,
.pagination-btn:disabled {
    background: #ececec;
    border-color: #dcdcdc;
    color: #9d9d9d;
    cursor: not-allowed;
}

.feed-post-card {
    background: white;
    border-radius: 9px;
    padding: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 2px solid var(--text-dark);
    transition: all 0.3s ease;
}

.feed-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.post-type-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-type-job {
    background: #4caf50;
    color: white;
}

.badge-type-hotlist {
    background: #ff9800;
    color: white;
}

.badge-type-candidate {
    background: #2196f3;
    color: white;
}

.post-actions {
    display: flex;
    gap: 8px;
}

.btn-view-post,
.btn-copy-post {
    padding: 6px 10px;
    border: none;
    border-radius: 5px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view-post {
    background: var(--primary-purple);
    color: white;
}

.btn-view-post:hover {
    background: var(--dark-purple);
}

.btn-copy-post {
    background: #4caf50;
    color: white;
}

.btn-copy-post:hover {
    background: #45a049;
}

.post-main-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.post-meta-info {
    display: flex;
    gap: 14px;
    font-size: 11px;
    color: #777;
    margin-bottom: 12px;
}

.post-meta-info i {
    margin-right: 5px;
    color: var(--primary-purple);
}

.post-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.detail-item {
    display: flex;
    align-items: center;
    padding: 7px 10px;
    background: #f5f5f5;
    border-radius: 5px;
    font-size: 11px;
}

.detail-item i {
    margin-right: 8px;
    color: var(--primary-purple);
}

.post-description-preview {
    font-size: 12px;
    color: #555;
    line-height: 1.6;
    max-height: 90px;
    overflow: hidden;
    position: relative;
}

.post-description-preview::after {
    content: '...';
    position: absolute;
    bottom: 0;
    right: 0;
    background: white;
    padding-left: 10px;
}

/* Modal Styles */
.modal {
    padding: 0 12px 12px;
}

.modal-dialog {
    margin: max(1.25rem, calc(var(--header-height) - 8px)) auto 1.25rem;
    max-height: calc(100vh - var(--header-height) - 20px);
}

.modal-dialog.modal-dialog-centered {
    min-height: calc(100vh - var(--header-height) - 16px);
}

.modal.show .modal-dialog {
    transform: translate(0, 0);
}

.modal.fade .modal-dialog {
    transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 576px) {
    .modal {
        padding: 0 10px 10px;
    }

    .modal-dialog {
        margin: max(0.85rem, calc(var(--header-height) - 16px)) 0.85rem 0.85rem;
        max-height: calc(100vh - var(--header-height) - 14px);
    }

    .modal-dialog.modal-dialog-centered {
        min-height: calc(100vh - var(--header-height) - 10px);
    }
}

.modal-content {
    border-radius: 15px;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--light-purple) 100%);
    color: white;
    border-radius: 15px 15px 0 0;
}

.modal-body {
    padding: 25px;
}

.modal-detail-section {
    margin-bottom: 20px;
}

.modal-detail-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-purple);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.modal-detail-value {
    font-size: 14px;
    color: var(--text-dark);
    padding: 10px;
    background: #f9f9f9;
    border-radius: 5px;
}

/* Desktop/laptop readability tightening */
/* =========================================
   RESPONSIVE FIXES (Small Laptops & Zoom)
   ========================================= */

/* 1. Global Safety Fixes (Prevents overlap on all screens) */
.feed-area {
    min-width: 0; /* Magic fix: Stops feed from pushing underneath sidebar */
    flex: 1;      /* Ensures it takes up remaining space properly */
}

.posting-sidebar {
    z-index: 100; /* Keeps it above content but below mobile menus */
}

/* 2. Large Screens (Desktops 1200px+) */
/* We keep the big sidebar here because there is plenty of room */
@media (min-width: 1200px) {
    .posting-sidebar {
        width: 350px;
        padding: 18px;
        flex-shrink: 0; /* Force Field: Never let this shrink or get squashed */
    }

    .sidebar-header h4 { font-size: 15px; }
    .user-tab { font-size: 9.5px; }
    .section-title { font-size: 13px; }
    .form-group label { font-size: 11.5px; }
    .form-control, .form-select { font-size: 12.5px; padding: 8px 10px; }
    .feed-hero-title { font-size: 22px; }
    .feed-hero-description { font-size: 13px; }
    body { font-size: 13px; }
}

/* 3. Medium Screens & Zoomed Laptops (992px to 1199px) */
/* We shrink the sidebar to 280px here to prevent the collision */
@media (min-width: 992px) and (max-width: 1199px) {
    body {
        font-size: 12.5px; /* Slightly smaller text for tight screens */
    }

    .posting-sidebar {
        width: 280px; /* Slimmer sidebar so Feed has 70px more room! */
        padding: 15px;
        flex-shrink: 0; /* Force Field: Do not let Feed overlap me! */
    }

    .sidebar-header h4 { font-size: 14px; }
    .user-tab { font-size: 9px; padding: 6px 4px; } /* Compact tabs */
    .feed-hero-title { font-size: 20px; }
    
    /* Stack stats to save width */
    .feed-hero-stats {
        grid-template-columns: repeat(2, 1fr); 
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .toggle-posting-sidebar {
        display: none;
    }

    .posting-sidebar {
        position: fixed;
        left: -100%;
        top: 22;
        height: 100vh;
        z-index: 1050;
        width: 90%;
        max-width: 380px;
    }
    
    .posting-sidebar.mobile-active {
        left: 0;
    }
    
    .feed-area {
        margin-left: 0;
    }
    
    .main-filter-tabs {
        flex-wrap: wrap;
    }
    
    .main-filter-btn {
        font-size: 11px;
        padding: 7px 8px;
    }
    
    .filter-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .personal-info-grid {
        grid-template-columns: 1fr;
    }
    
    .user-tab {
        font-size: 10px;
        padding: 8px 4px;
    }
    
    .user-tab i {
        font-size: 16px;
    }
    
    .post-details-grid {
        grid-template-columns: 1fr;
    }
}

/* Scrollbar Styling */
.posting-sidebar::-webkit-scrollbar,
.text-editor::-webkit-scrollbar {
    width: 6px;
}

.posting-sidebar::-webkit-scrollbar-thumb,
.text-editor::-webkit-scrollbar-thumb {
    background: var(--primary-purple);
    border-radius: 10px;
}

.posting-sidebar::-webkit-scrollbar-track,
.text-editor::-webkit-scrollbar-track {
    background: #f1f1f1;
}






/* NEW: Mobile Action Buttons Container */
.mobile-action-buttons {
    display: flex;
    gap: 8px;
    float: right;
}

.mobile-menu-toggle {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
    font-size: 20px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* Mobile Navigation (same as home page) */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--dark-purple);
    padding: 20px;
    transition: right 0.3s ease;
    z-index: 2000;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.close-mobile-nav {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 24px;
    float: right;
    cursor: pointer;
    margin-bottom: 20px;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
}

.mobile-nav-links li {
    margin-bottom: 15px;
}

.mobile-nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 16px;
    display: block;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.mobile-nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Backdrop for posting sidebar */
.sidebar-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1049;
}

.sidebar-backdrop.active {
    display: block;
}


/*  NEW: Feed Hero Section */
.feed-hero-section {
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1), transparent 38%),
        radial-gradient(circle at 80% 0%, rgba(0, 188, 212, 0.16), transparent 46%),
        linear-gradient(125deg, #120f38 0%, #251451 48%, #0f172a 100%);
    border-radius: 13px;
    padding: 26px 22px;
    margin-bottom: 18px;
    box-shadow: 0 5px 25px rgba(106, 27, 154, 0.3);
    position: relative;
    overflow: hidden;
}

/* Animated background pattern */
.feed-hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
    pointer-events: none;
}

@keyframes moveBackground {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.feed-hero-content {
    position: relative;
    z-index: 1;
}

.feed-hero-title {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.feed-hero-title i {
    color: var(--accent-color);
    margin-right: 10px;
    animation: rocketPulse 2s ease-in-out infinite;
}

@keyframes rocketPulse {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.feed-hero-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 18px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.feed-hero-description strong {
    color: var(--accent-color);
    font-weight: 600;
}

/* Hero Stats */
.feed-hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
    margin-bottom: 16px;
    padding: 14px 0;
}

.hero-stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-stat-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.hero-stat-item i {
    font-size: 26px;
    color: var(--accent-color);
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-size: 20px;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.stat-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 3px;
}

/* Hero Features */
.feed-hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 25px;
    color: white;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.feature-badge:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.feature-badge i {
    color: var(--accent-color);
    font-size: 14px;
}

/* Responsive Design for Hero Section */
@media (max-width: 992px) {
    .feed-hero-section {
        padding: 25px 20px;
    }
    
    .feed-hero-title {
        font-size: 22px;
    }
    
    .feed-hero-description {
        font-size: 14px;
    }
    
    .feed-hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .hero-stat-item i {
        font-size: 26px;
    }
    
    .stat-number {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .feed-hero-section {
        padding: 20px 15px;
    }
    
    .feed-hero-title {
        font-size: 18px;
    }
    
    .feed-hero-title i {
        display: block;
        margin-bottom: 8px;
    }
    
    .feed-hero-description {
        font-size: 13px;
        line-height: 1.6;
    }
    
    .feed-hero-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .hero-stat-item {
        padding: 12px;
    }
    
.feature-badge {
    font-size: 11px;
    padding: 6px 12px;
}
}

.scroll-top-btn {
    position: fixed;
    right: 25px;
    bottom: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: black;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 30px rgba(67, 56, 202, 0.35);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 999;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: translateY(-4px);
}

@media (max-width: 576px) {
    .scroll-top-btn {
        right: 15px;
        bottom: 20px;
    }
}

/* SEO content sections */
.seo-content-section {
    background: #fff;
    border: 1px solid #ece7f7;
    border-radius: 12px;
    padding: 22px;
    margin-top: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.seo-content-section.alt {
    background: #f8f5ff;
}

.section-heading h2 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.section-heading p {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 16px;
}

.seo-card {
    background: #f9f7ff;
    border: 1px solid #e1d8f5;
    border-radius: 10px;
    padding: 16px;
    height: 100%;
}

.seo-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.seo-card p {
    font-size: 13px;
    color: #4b5563;
    margin-bottom: 10px;
}

.seo-list {
    padding-left: 18px;
    margin: 0;
    color: #374151;
}

.seo-list li {
    margin-bottom: 6px;
    font-size: 13px;
}

.seo-list.checklist li {
    margin-bottom: 10px;
}

.seo-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.seo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #e1d8f5;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
}

.how-it-steps .seo-step {
    background: #fff;
    border: 1px solid #e3ddf2;
    border-radius: 10px;
    padding: 16px;
    height: 100%;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.seo-step h3 {
    font-size: 15px;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.seo-step p {
    font-size: 13px;
    color: #4b5563;
    margin: 0;
}

.step-number {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary-purple);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 10px;
}

.seo-note {
    font-size: 13px;
    color: #4b5563;
    background: #f1f5f9;
    border-left: 3px solid var(--primary-purple);
    padding: 10px 12px;
    border-radius: 8px;
    margin-top: 12px;
}

.seo-resource-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0;
}

.seo-resource-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e1d8f5;
    color: var(--text-dark);
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.seo-resource-link:hover {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
    box-shadow: 0 10px 20px rgba(106, 27, 154, 0.1);
}

.checklist-card {
    background: #fff;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.faq-item {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.03);
}

.faq-item h3 {
    font-size: 15px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.faq-item p {
    font-size: 13px;
    color: #4b5563;
    margin: 0;
}

@media (max-width: 768px) {
    .seo-content-section {
        padding: 16px;
    }

    .section-heading h2 {
        font-size: 18px;
    }

    .seo-card h3 {
        font-size: 14px;
    }

    .seo-card p,
    .seo-step p,
    .seo-note,
    .seo-list li {
        font-size: 12px;
    }
}




/* =========================================
   SEO BOOST SECTION STYLES
   ========================================= */

.seo-boost-section {
    background: linear-gradient(to bottom, #ffffff, #f3f0f9);
    padding: 40px 20px 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(106, 27, 154, 0.1);
}

.seo-boost-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    height: 100%;
    border: 1px solid rgba(106, 27, 154, 0.08);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.seo-boost-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(106, 27, 154, 0.12);
    border-color: rgba(106, 27, 154, 0.3);
}

.seo-boost-card.highlight {
    background: linear-gradient(135deg, #fff 0%, #fbf7ff 100%);
    border-left: 3px solid var(--primary-purple);
}

/* Header Styles */
.seo-icon-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.seo-icon-header i {
    font-size: 18px;
    color: var(--primary-purple);
    background: rgba(106, 27, 154, 0.1);
    padding: 8px;
    border-radius: 8px;
}

.seo-icon-header h5 {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    color: #333;
}

.seo-sm-text {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Tag Cloud Styles */
.seo-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.seo-tag {
    font-size: 11px;
    color: #555;
    background: #f5f5f5;
    padding: 5px 10px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #eee;
    font-weight: 500;
}

.seo-tag:hover {
    background: var(--primary-purple);
    color: #fff;
    border-color: var(--primary-purple);
}

/* Check List Styles */
.seo-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seo-check-list li {
    font-size: 12px;
    color: #444;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    line-height: 1.5;
}

.seo-check-list li::before {
    content: '\f00c'; /* Font Awesome Check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #4caf50;
    font-size: 10px;
}

.seo-check-list li span {
    color: var(--primary-purple);
    font-weight: 700;
}

/* Quick Links Bar */
.seo-quick-links-bar {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px dashed rgba(0,0,0,0.1);
    text-align: center;
    font-size: 11px;
    color: #777;
}

.seo-quick-links-bar span {
    font-weight: 700;
    color: #333;
    margin-right: 5px;
}

.seo-quick-links-bar a {
    color: #666;
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.2s;
}

.seo-quick-links-bar a:hover {
    color: var(--primary-purple);
    text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .seo-boost-section {
        padding: 30px 10px 10px;
    }
    .seo-tag {
        font-size: 10px;
        padding: 4px 8px;
    }
}



/* Add this to css/job-posting-style.css */
.post-description table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}
.post-description th, .post-description td {
    border: 1px solid #ddd;
    padding: 8px;
}

/* Share Button Style */
.btn-share-post {
    background: #eef2ff;
    color: #4f46e5;
    border: 1px solid #e0e7ff;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-share-post:hover {
    background: #4f46e5;
    color: white;
    border-color: #4f46e5;
}

/* Optional: Ensure buttons wrap nicely on small screens */
.post-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}


/* Styling for the new Searchable Inputs */
.filter-input {
    font-size: 10px;
    padding: 7px;
    border: 1px solid #ced4da;
    border-radius: 0.375rem; /* Matches Bootstrap standard */
    width: 100%;
}

@media (min-width: 992px) {
    .filter-input {
        font-size: 12.5px;
        padding: 8px 10px;
    }
}

/* Ensure placeholder text is readable */
.filter-input::placeholder {
    color: #6c757d;
    opacity: 0.8;
}