/* Reset and base styles */
.msqoj-container * {
    box-sizing: border-box;
}

.msqoj-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
}

/* Content Layout - No header */
.msqoj-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 32px;
    align-items: start;
}

/* Sidebar */
.msqoj-sidebar {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    position: sticky;
    top: 24px;
}

.msqoj-filters-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.msqoj-filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

/* Search Input - Icon on LEFT */
.msqoj-search-input {
    position: relative;
}

.msqoj-search-input input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    background: #ffffff;
    transition: border-color 0.2s;
}

.msqoj-search-input input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.msqoj-search-icon-left {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

/* Country Dropdown */
.msqoj-country-dropdown {
    position: relative;
}

.msqoj-country-select {
    width: 100%;
    padding: 12px 40px 12px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    background: #ffffff;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.2s;
}

.msqoj-country-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.msqoj-dropdown-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

/* Checkbox Group */
.msqoj-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.msqoj-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    user-select: none;
}

.msqoj-checkbox-label input[type="checkbox"] {
    display: none;
}

.msqoj-checkbox-custom {
    width: 16px;
    height: 16px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    position: relative;
    transition: all 0.2s;
}

.msqoj-checkbox-label input[type="checkbox"]:checked + .msqoj-checkbox-custom {
    background: #3b82f6;
    border-color: #3b82f6;
}

.msqoj-checkbox-label input[type="checkbox"]:checked + .msqoj-checkbox-custom::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Pay Slider - Max 200 */
.msqoj-pay-slider {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.msqoj-range-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e5e7eb;
    outline: none;
    -webkit-appearance: none;
}

.msqoj-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.msqoj-range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.msqoj-pay-display {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.msqoj-pay-currency {
    background: #e5e7eb;
    color: #6b7280;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.msqoj-pay-text {
    font-size: 14px;
    color: #374151;
}

.msqoj-pay-value {
    font-weight: 600;
}

/* Main Content */
.msqoj-main-content {
    min-height: 400px;
}

/* Empty State - Briefcase Icon */
.msqoj-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 32px;
    text-align: center;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    background: #fafafa;
}

.msqoj-empty-icon {
    margin-bottom: 16px;
}

.msqoj-empty-title {
    font-size: 24px;
    font-weight: 600;
    color: #284270;
    margin: 0 0 8px 0;
}

.msqoj-empty-text {
    font-size: 16px;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

/* Job Cards */
.msqoj-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.msqoj-job-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.msqoj-job-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
    transform: translateY(-2px);
}

.msqoj-job-card a {
    text-decoration: none;
    color: inherit;
}

.msqoj-job-card a:hover {
    text-decoration: none;
    color: inherit;
}

.msqoj-job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.msqoj-job-title-section {
    flex: 1;
}

.msqoj-job-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 4px 0;
}

.msqoj-job-location {
    font-size: 14px;
    color: #6b7280;
}

.msqoj-job-meta {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.msqoj-job-type {
    font-size: 14px;
    color: #6b7280;
}

.msqoj-job-pay {
    font-size: 16px;
    font-weight: 600;
    color: #059669;
}

.msqoj-job-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.msqoj-skill-tag {
    background: #e0e7ff;
    color: #3730a3;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.msqoj-skill-more {
    background: #f3f4f6;
    color: #6b7280;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

/* Pagination */
.msqoj-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.msqoj-pagination-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.msqoj-pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.2s;
}

.msqoj-pagination-btn:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.msqoj-pagination-numbers {
    display: flex;
    gap: 4px;
}

.msqoj-pagination-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    background: white;
    text-decoration: none;
    color: #374151;
}

.msqoj-pagination-number--active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.msqoj-pagination-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
}

.msqoj-page-size {
    padding: 4px 8px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .msqoj-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .msqoj-sidebar {
        position: static;
        order: 2;
    }
    
    .msqoj-main-content {
        order: 1;
    }
    
    .msqoj-job-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .msqoj-job-meta {
        text-align: left;
    }
    
    .msqoj-pagination {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .msqoj-pagination-controls {
        justify-content: center;
    }
    
    .msqoj-pagination-info {
        justify-content: center;
    }
}

/* Single Job Page Styles */
.msqoj {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.msqoj-back {
    display: inline-block;
    margin-bottom: 24px;
    padding: 8px 16px;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: all 0.2s;
}

.msqoj-back:hover {
    background: #e5e7eb;
    text-decoration: none;
    color: #374151;
}

.msqoj-single {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px;
}

.msqoj-single__header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.msqoj-single__title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px 0;
}

.msqoj-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.msqoj-badge {
    background: #3b82f6;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.msqoj-dot {
    width: 4px;
    height: 4px;
    background: #6b7280;
    border-radius: 50%;
}

.msqoj-section {
    margin-bottom: 32px;
}

.msqoj-h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 16px 0;
}

.msqoj-kv {
    list-style: none;
    padding: 0;
    margin: 0;
}

.msqoj-kv li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.msqoj-kv__k {
    font-weight: 600;
    color: #374151;
}

.msqoj-kv__v {
    color: #6b7280;
}

.msqoj-ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.msqoj-ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.msqoj-ul li:before {
    content: "•";
    color: #3b82f6;
    font-weight: bold;
    margin-right: 8px;
}

.msqoj-tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.msqoj-tag {
    background: #e0e7ff;
    color: #3730a3;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.msqoj__empty {
    text-align: center;
    padding: 64px 32px;
    color: #6b7280;
    font-size: 18px;
}

@media (max-width: 480px) {
    .msqoj-container {
        padding: 16px 12px;
    }
    
    .msqoj-sidebar {
        padding: 16px;
    }
    
    .msqoj-job-card {
        padding: 16px;
    }
    
    .msqoj-single {
        padding: 20px;
    }
    
    .msqoj-single__title {
        font-size: 24px;
    }
}