/* 
 * বাংলা জব পোর্টাল স্টাইলশীট
 * Version: 2.1.3
 * Compact design with larger font sizes for better readability
 */

/* বাংলা ফন্ট সেটআপ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@400;500;600;700&display=swap');

/* রিসেট এবং বেসিক স্টাইলস */
.bjp-portal * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.bjp-portal {
    font-family: 'Noto Sans Bengali', 'SolaimanLipi', 'Siyam Rupali', 'Kalpurush', Arial, sans-serif;
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 10px;
    direction: ltr;
    color: #1a1a1a;
    line-height: 1.4;
}

/* হেডার স্টাইলস - LARGER FONTS */
.bjp-portal-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.bjp-portal-header h1 {
    font-size: 32px; /* Increased from 26px */
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.bjp-portal-header p {
    font-size: 18px; /* Increased from 14px */
    color: #444444;
    margin: 0;
    line-height: 1.4;
}

/* সার্চ ফর্ম স্টাইলস - LARGER FONTS */
.bjp-search-form-wrapper {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    padding: 20px; /* Increased padding */
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
}

.bjp-search-form {
    display: block;
    width: 100%;
}

.search-row {
    margin-bottom: 15px; /* Increased from 12px */
    width: 100%;
}

.search-row:last-child {
    margin-bottom: 0;
}

/* Four column grid for search filters */
.search-row-four {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px; /* Increased from 12px */
}

.search-field {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.search-field-full {
    grid-column: 1 / -1;
}

.search-label {
    font-size: 16px; /* Increased from 13px */
    font-weight: 600;
    color: #222222;
    margin-bottom: 8px; /* Increased from 5px */
    display: block;
}

/* সার্চ ইনপুট স্টাইলস - LARGER FONTS */
.search-input-large {
    width: 100%;
    padding: 14px 15px; /* Increased from 10px 12px */
    border: 1px solid #666666;
    border-radius: 6px;
    font-size: 16px; /* Increased from 14px */
    transition: all 0.2s ease;
    background: #ffffff;
    font-family: 'Noto Sans Bengali', 'SolaimanLipi', Arial, sans-serif;
    line-height: 1.4;
    color: #222222;
    height: 48px; /* Increased from 42px */
}

.search-input-large:focus {
    outline: none;
    border-color: #0d47a1;
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.1);
}

.search-select {
    width: 100%;
    padding: 14px 15px; /* Increased from 10px 12px */
    border: 1px solid #666666;
    border-radius: 6px;
    font-size: 16px; /* Increased from 14px */
    transition: all 0.2s ease;
    background: #ffffff;
    cursor: pointer;
    font-family: 'Noto Sans Bengali', 'SolaimanLipi', Arial, sans-serif;
    line-height: 1.4;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23111' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center; /* Adjusted */
    background-size: 12px;
    padding-right: 40px; /* Increased from 35px */
    color: #222222;
    height: 48px; /* Increased from 42px */
}

.search-select:focus {
    outline: none;
    border-color: #0d47a1;
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.1);
}

/* বাটন কন্টেইনার */
.search-button-row {
    display: flex;
    gap: 15px; /* Increased from 10px */
    justify-content: center;
    align-items: center;
    margin-top: 10px; /* Increased from 8px */
    width: 100%;
}

/* সার্চ এবং রিসেট বাটন স্টাইলস - LARGER FONTS */
.bjp-search-btn {
    padding: 14px 25px; /* Increased from 10px 20px */
    background: #0d47a1;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 18px; /* Increased from 14px */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Noto Sans Bengali', 'SolaimanLipi', Arial, sans-serif;
    line-height: 1.4;
    display: inline-block;
    text-align: center;
    flex: 1;
    max-width: 200px; /* Increased from 180px */
    height: 48px; /* Increased from 40px */
}

.bjp-search-btn:hover,
.bjp-search-btn:focus {
    background: #08306b;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(13, 71, 161, 0.3);
    outline: 2px solid #08306b;
    outline-offset: 2px;
}

.bjp-search-btn:active {
    transform: translateY(0);
}

.bjp-reset-btn {
    padding: 14px 25px; /* Increased from 10px 20px */
    background: #f5f5f5;
    color: #333333;
    border: 1px solid #666666;
    border-radius: 6px;
    font-size: 18px; /* Increased from 14px */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Noto Sans Bengali', 'SolaimanLipi', Arial, sans-serif;
    line-height: 1.4;
    display: inline-block;
    text-align: center;
    flex: 1;
    max-width: 200px; /* Increased from 180px */
    height: 48px; /* Increased from 40px */
}

.bjp-reset-btn:hover,
.bjp-reset-btn:focus {
    background: #e0e0e0;
    border-color: #444444;
    color: #111111;
    outline: 2px solid #444444;
    outline-offset: 2px;
}

/* রেজাল্টস এরিয়া স্টাইলস */
.bjp-search-results {
    margin-top: 10px; /* Increased from 5px */
    width: 100%;
}

/* পাওয়া চাকরি সংখ্যা - LARGER FONTS */
.results-header {
    background: #ffffff;
    padding: 18px 20px; /* Increased from 12px 15px */
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px; /* Increased from 15px */
    border: 1px solid #f0f0f0;
}

.results-count {
    font-size: 18px; /* Increased from 14px */
    color: #222222;
    font-weight: 600;
    margin: 0;
    font-family: 'Noto Sans Bengali', 'SolaimanLipi', Arial, sans-serif;
    line-height: 1.4;
}

.results-count strong {
    color: #0d47a1;
}

/* চাকরি গ্রিড স্টাইলস */
.bjp-job-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px; /* Increased from 12px */
    padding: 0;
    margin: 0;
    width: 100%;
}

/* চাকরি কার্ড স্টাইলস - LARGER FONTS */
.bjp-job-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 15px; /* Increased from 12px */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    position: relative;
    text-align: center;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 320px; /* Increased from 280px */
}

.bjp-job-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
    border-color: #0d47a1;
}

/* জব স্ট্যাটাস ব্যাজ - LARGER FONTS */
.job-status-badge {
    position: absolute;
    top: 10px; /* Increased from 8px */
    left: 10px; /* Increased from 8px */
    padding: 4px 8px; /* Increased from 3px 6px */
    font-size: 12px; /* Increased from 10px */
    font-weight: 600;
    border-radius: 4px;
    color: #ffffff;
    z-index: 1;
    line-height: 1;
}

.job-status-active {
    background: #1b5e20;
}

.job-status-expired {
    background: #b71c1c;
}

/* ক্যাটাগরি ব্যাজ - LARGER FONTS */
.job-category-badge {
    position: absolute;
    top: 10px; /* Increased from 8px */
    right: 10px; /* Increased from 8px */
    padding: 4px 8px; /* Increased from 3px 6px */
    background: rgba(13, 71, 161, 0.15);
    color: #0d47a1;
    font-size: 12px; /* Increased from 10px */
    font-weight: 600;
    border-radius: 4px;
    z-index: 1;
    line-height: 1;
}

/* লোগো স্টাইলস */
.job-logo {
    margin: 20px auto 15px; /* Increased margins */
    width: 60px; /* Increased from 50px */
    height: 60px; /* Increased from 50px */
    display: flex;
    align-items: center;
    justify-content: center;
}

.employer-logo {
    width: 60px; /* Increased from 50px */
    height: 60px; /* Increased from 50px */
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    box-shadow: none;
    border-radius: 0;
}

.logo-circle {
    width: 60px; /* Increased from 50px */
    height: 60px; /* Increased from 50px */
    background: #0d47a1;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px; /* Increased from 20px */
    font-weight: 700;
    margin: 0;
    padding: 0;
}

/* চাকরি শিরোনাম - LARGER FONTS */
.job-title {
    font-size: 18px; /* Increased from 14px */
    font-weight: 600;
    color: #000000;
    margin: 0 0 15px 0; /* Increased from 12px */
    line-height: 1.4;
    text-align: center;
    padding: 0 5px;
    min-height: 50px; /* Increased from 36px */
    display: flex;
    align-items: center;
    justify-content: center;
}

.job-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.job-title a:hover {
    color: #0d47a1;
}

/* তারিখ সারি - LARGER FONTS */
.job-dates-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px; /* Increased from 8px */
    margin-bottom: 15px; /* Increased from 12px */
    padding: 0 5px;
}

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

.date-label {
    font-size: 14px; /* Increased from 11px */
    color: #444444;
    font-weight: 500;
    margin-bottom: 5px; /* Increased from 3px */
    line-height: 1.3;
}

.date-value {
    font-size: 15px; /* Increased from 12px */
    color: #222222;
    font-weight: 600;
    font-family: 'Noto Sans Bengali', 'SolaimanLipi', Arial, sans-serif;
    line-height: 1.3;
}

.deadline-date {
    color: #c62828;
    font-weight: 700;
}

/* শূন্য পদ - LARGER FONTS */
.job-vacancies {
    margin: 12px 0 15px; /* Increased margins */
    padding: 0 5px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Increased from 6px */
    font-family: 'Noto Sans Bengali', 'SolaimanLipi', Arial, sans-serif;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.vacancies-label {
    font-size: 16px; /* Increased from 13px */
    color: #333333;
    font-weight: 500;
    white-space: nowrap;
}

.vacancies-value {
    font-size: 17px; /* Increased from 14px */
    color: #ffffff;
    background: #0d47a1;
    padding: 6px 12px; /* Increased from 4px 8px */
    border-radius: 6px;
    border: 1px solid #08306b;
    min-width: 60px; /* Increased from 50px */
    text-align: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
    font-weight: 700;
}

/* বিভাজক রেখা */
.job-separator {
    height: 1px;
    background: #e0e0e0;
    margin: 12px 0 15px; /* Increased margins */
    width: 100%;
}

/* বাটন - LARGER FONTS */
.job-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px; /* Increased from 8px */
    padding: 0 5px;
    margin-top: auto;
}

.view-details-btn,
.apply-now-btn {
    padding: 10px 12px; /* Increased from 8px 10px */
    border-radius: 4px;
    font-size: 16px; /* Increased from 13px */
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    text-align: center;
    font-family: 'Noto Sans Bengali', 'SolaimanLipi', Arial, sans-serif;
    white-space: nowrap;
    display: block;
    line-height: 1.3;
    height: 42px; /* Increased from 36px */
}

.view-details-btn {
    background: #f8f9fa;
    color: #222222;
    border: 1px solid #666666;
}

.view-details-btn:hover,
.view-details-btn:focus {
    background: #e9ecef;
    border-color: #0d47a1;
    color: #0d47a1;
    outline: 2px solid #0d47a1;
    outline-offset: 2px;
}

.apply-now-btn {
    background: #0d47a1;
    color: #ffffff;
    border: 1px solid #08306b;
    position: relative;
}

.apply-now-btn:hover,
.apply-now-btn:focus {
    background: #08306b;
    border-color: #061f4a;
    color: #ffffff;
    outline: 2px solid #08306b;
    outline-offset: 2px;
}

.apply-now-btn[data-external="true"] {
    padding-right: 30px; /* Increased from 25px */
}

.apply-now-btn[data-external="true"]::after {
    content: "↗";
    position: absolute;
    right: 10px; /* Increased from 8px */
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px; /* Increased from 11px */
    opacity: 0.9;
}

/* কোন ফলাফল নেই - LARGER FONTS */
.no-results {
    text-align: center;
    padding: 40px 20px; /* Increased from 30px 15px */
    grid-column: 1 / -1;
}

.no-results h3 {
    font-size: 22px; /* Increased from 16px */
    color: #222222;
    margin: 0 0 12px 0; /* Increased from 8px */
    line-height: 1.3;
}

.no-results p {
    color: #444444;
    margin: 0;
    line-height: 1.5;
    font-size: 18px; /* Increased from 14px */
}

/* আরও দেখুন বাটন - LARGER FONTS */
.load-more-container {
    text-align: center;
    margin-top: 25px; /* Increased from 20px */
    padding-top: 20px; /* Increased from 15px */
    border-top: 1px solid #eeeeee;
    grid-column: 1 / -1;
}

.bjp-load-more {
    padding: 12px 25px; /* Increased from 10px 20px */
    background: #ffffff;
    border: 1px solid #0d47a1;
    color: #0d47a1;
    border-radius: 6px;
    font-size: 18px; /* Increased from 14px */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Noto Sans Bengali', 'SolaimanLipi', Arial, sans-serif;
    line-height: 1.4;
    display: inline-block;
    height: 46px; /* Increased from 38px */
}

.bjp-load-more:hover,
.bjp-load-more:focus {
    background: #0d47a1;
    color: #ffffff;
    outline: 2px solid #0d47a1;
    outline-offset: 2px;
}

.bjp-load-more:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* লোডিং স্টেট - LARGER FONTS */
.loading-state {
    text-align: center;
    padding: 40px 20px; /* Increased from 30px 15px */
    grid-column: 1 / -1;
}

.loading-spinner {
    width: 40px; /* Increased from 35px */
    height: 40px; /* Increased from 35px */
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0d47a1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px; /* Increased from 15px */
}

.loading-state p {
    font-size: 18px; /* Increased from 14px */
    color: #444444;
    margin: 0;
    line-height: 1.5;
}

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

/* ফিল্টার অ্যাকটিভ স্টেট */
.search-select:not([value=""]) {
    border-color: #0d47a1;
    background-color: rgba(13, 71, 161, 0.05);
    font-weight: 600;
}

/* ============================================
   WIDGET STYLES - LARGER FONTS
   ============================================ */

/* Deadline Countdown Widget - LARGER FONTS */
.bjp-deadline-widget {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px; /* Increased from 15px */
    border: 1px solid #0d47a1;
    text-align: center;
    margin-bottom: 20px; /* Increased from 15px */
}

.deadline-title {
    font-size: 20px; /* Increased from 16px */
    font-weight: 700;
    color: #222222;
    margin: 0 0 12px 0; /* Increased from 8px */
    line-height: 1.3;
}

.deadline-days {
    font-size: 28px; /* Increased from 20px */
    font-weight: 800;
    line-height: 1;
    margin: 15px 0 12px 0; /* Increased margins */
    color: #0d47a1;
    font-family: 'Noto Sans Bengali', 'SolaimanLipi', Arial, sans-serif;
}

.deadline-date {
    font-size: 16px; /* Increased from 12px */
    font-weight: 600;
    color: #222222;
    font-family: 'Noto Sans Bengali', 'SolaimanLipi', Arial, sans-serif;
}

/* Similar Jobs Widget - LARGER FONTS */
.bjp-similar-jobs-widget {
    margin-bottom: 20px; /* Increased from 15px */
}

.similar-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Increased from 12px */
}

.similar-job-card {
    border: 1px solid #666666;
    border-radius: 6px;
    padding: 15px; /* Increased from 12px */
    background: white;
    transition: none;
}

.similar-job-header {
    display: flex;
    align-items: flex-start;
    gap: 12px; /* Increased from 10px */
    margin-bottom: 12px; /* Increased from 10px */
}

.similar-job-logo {
    flex-shrink: 0;
}

.job-logo-small {
    width: 55px; /* Increased from 45px */
    height: 55px; /* Increased from 45px */
    object-fit: contain;
    border-radius: 6px;
    background: #ffffff;
    padding: 3px; /* Increased from 2px */
    border: 1px solid #666666;
}

.logo-circle-small {
    width: 55px; /* Increased from 45px */
    height: 55px; /* Increased from 45px */
    background: #0d47a1;
    color: #ffffff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px; /* Increased from 20px */
    font-weight: 700;
}

.similar-job-info {
    flex: 1;
}

.similar-job-title {
    font-size: 18px; /* Increased from 16px */
    font-weight: 600;
    color: #222222;
    margin: 0 0 8px 0; /* Increased from 5px */
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.similar-job-employer {
    font-size: 16px; /* Increased from 14px */
    color: #444444;
    font-weight: 500;
    line-height: 1.4;
}

.similar-job-separator {
    height: 1px;
    background: #666666;
    margin: 12px 0; /* Increased from 10px 0 */
    width: 100%;
}

.similar-job-details {
    margin-bottom: 12px; /* Increased from 10px */
}

.detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px; /* Increased from 12px */
    text-align: center;
}

.detail-column {
    display: flex;
    flex-direction: column;
    gap: 6px; /* Increased from 5px */
    align-items: center;
}

.detail-label {
    font-size: 15px; /* Increased from 13px */
    color: #333333;
    font-weight: 600;
    white-space: nowrap;
}

.detail-value {
    font-size: 16px; /* Increased from 12px */
    color: #222222;
    font-weight: 700;
    font-family: 'Noto Sans Bengali', 'SolaimanLipi', Arial, sans-serif;
}

.similar-job-actions {
    text-align: left;
    margin-top: 10px; /* Increased from 8px */
}

.view-details-link {
    display: inline-block;
    color: #0d47a1;
    font-size: 16px; /* Increased from 14px */
    font-weight: 600;
    text-decoration: none;
    padding: 8px 0; /* Increased from 6px 0 */
}

.view-details-link:hover,
.view-details-link:focus {
    text-decoration: underline;
    outline: 2px solid #0d47a1;
    outline-offset: 2px;
}

.no-similar-jobs {
    text-align: center;
    padding: 20px; /* Increased from 15px */
    border: 1px dashed #666666;
    color: #444444;
    font-size: 16px; /* Increased from 14px */
    border-radius: 6px;
    line-height: 1.5;
}

.bjp-widget-error {
    text-align: center;
    padding: 20px; /* Increased from 15px */
    border: 1px solid #ff9800;
    border-radius: 6px;
    color: #5a3700;
    background: #fff3e0;
    font-size: 16px; /* Increased from 14px */
    line-height: 1.5;
}

/* রেসপন্সিভ ডিজাইন - ADJUSTED FOR LARGER FONTS */
@media (max-width: 1200px) {
    .bjp-job-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .search-row-four {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .bjp-portal {
        padding: 15px; /* Increased from 12px */
    }
    
    .bjp-portal-header h1 {
        font-size: 28px; /* Adjusted from 22px */
    }
    
    .bjp-portal-header p {
        font-size: 16px; /* Adjusted from 13px */
    }
}

@media (max-width: 768px) {
    .bjp-job-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .search-row-four {
        grid-template-columns: 1fr;
    }
    
    .job-logo {
        width: 55px; /* Increased from 45px */
        height: 55px; /* Increased from 45px */
        margin: 15px auto 12px; /* Increased margins */
    }
    
    .employer-logo {
        width: 55px; /* Increased from 45px */
        height: 55px; /* Increased from 45px */
    }
    
    .logo-circle {
        width: 55px; /* Increased from 45px */
        height: 55px; /* Increased from 45px */
        font-size: 22px; /* Increased from 18px */
    }
    
    .job-title {
        font-size: 16px; /* Adjusted from 13px */
        min-height: 42px; /* Adjusted from 32px */
        margin-bottom: 12px; /* Increased from 10px */
    }
    
    .vacancies-value {
        font-size: 15px; /* Adjusted from 13px */
        padding: 4px 8px; /* Adjusted from 3px 6px */
        min-width: 55px; /* Increased from 45px */
    }
    
    .view-details-btn,
    .apply-now-btn {
        padding: 8px 10px; /* Adjusted from 7px 8px */
        font-size: 14px; /* Adjusted from 12px */
        height: 40px; /* Adjusted from 34px */
    }
    
    /* Widget responsive styles */
    .deadline-title {
        font-size: 18px; /* Adjusted from 15px */
    }
    
    .deadline-days {
        font-size: 24px; /* Adjusted from 18px */
    }
    
    .deadline-date {
        font-size: 14px; /* Adjusted from 11px */
    }
    
    .bjp-similar-jobs-widget {
        padding: 15px; /* Increased from 12px */
    }
    
    .similar-job-title {
        font-size: 17px; /* Adjusted from 15px */
    }
    
    .similar-job-employer {
        font-size: 15px; /* Adjusted from 13px */
    }
    
    .detail-row {
        grid-template-columns: 1fr 1fr;
        gap: 10px; /* Adjusted from 8px */
    }
    
    .detail-label {
        font-size: 14px; /* Adjusted from 12px */
    }
    
    .detail-value {
        font-size: 14px; /* Adjusted from 11px */
    }
    
    .view-details-link {
        font-size: 15px; /* Adjusted from 13px */
    }
    
    /* Search and Reset buttons on mobile */
    .search-button-row {
        flex-direction: column;
        gap: 10px; /* Increased from 8px */
    }
    
    .bjp-search-btn,
    .bjp-reset-btn {
        width: 100%;
        max-width: 100% !important;
        padding: 12px 15px; /* Increased from 10px 15px */
        height: 46px; /* Increased from 38px */
    }
}

@media (max-width: 576px) {
    .bjp-job-grid {
        grid-template-columns: 1fr;
        gap: 15px; /* Increased from 10px */
    }
    
    .bjp-portal-header h1 {
        font-size: 24px; /* Adjusted from 20px */
    }
    
    .bjp-portal-header p {
        font-size: 14px; /* Adjusted from 12px */
    }
    
    .bjp-search-form-wrapper {
        padding: 15px; /* Increased from 12px */
    }
    
    .search-input-large,
    .search-select {
        padding: 12px 12px; /* Adjusted from 9px 10px */
        font-size: 15px; /* Adjusted from 13px */
        height: 44px; /* Adjusted from 38px */
    }
    
    .job-status-badge,
    .job-category-badge {
        font-size: 11px; /* Adjusted from 9px */
        padding: 3px 6px; /* Adjusted from 2px 4px */
    }
    
    .job-vacancies {
        flex-direction: row;
        gap: 6px; /* Increased from 5px */
    }
    
    .vacancies-label {
        font-size: 14px; /* Adjusted from 12px */
    }
    
    .vacancies-value {
        font-size: 14px; /* Adjusted from 12px */
        padding: 4px 7px; /* Adjusted from 3px 5px */
    }
    
    .date-label {
        font-size: 12px; /* Adjusted from 10px */
    }
    
    .date-value {
        font-size: 13px; /* Adjusted from 11px */
    }
    
    .apply-now-btn[data-external="true"] {
        padding-right: 28px; /* Adjusted from 22px */
    }
    
    .apply-now-btn[data-external="true"]::after {
        font-size: 12px; /* Adjusted from 10px */
        right: 8px; /* Adjusted from 6px */
    }
    
    /* Widget styles for mobile */
    .deadline-days {
        font-size: 20px; /* Adjusted from 16px */
    }
    
    .detail-row {
        grid-template-columns: 1fr 1fr;
        gap: 8px; /* Adjusted from 6px */
    }
    
    .detail-label {
        font-size: 13px; /* Adjusted from 11px */
    }
    
    .detail-value {
        font-size: 12px; /* Adjusted from 10px */
    }
}

@media (max-width: 375px) {
    .job-logo {
        width: 50px; /* Increased from 40px */
        height: 50px; /* Increased from 40px */
    }
    
    .employer-logo {
        width: 50px; /* Increased from 40px */
        height: 50px; /* Increased from 40px */
    }
    
    .logo-circle {
        width: 50px; /* Increased from 40px */
        height: 50px; /* Increased from 40px */
        font-size: 20px; /* Increased from 16px */
    }
    
    .job-title {
        font-size: 15px; /* Adjusted from 12px */
        min-height: 40px; /* Adjusted from 30px */
    }
    
    .job-buttons {
        grid-template-columns: 1fr;
        gap: 8px; /* Increased from 6px */
    }
    
    .view-details-btn,
    .apply-now-btn {
        padding: 7px; /* Adjusted from 6px */
        font-size: 13px; /* Adjusted from 11px */
        height: 38px; /* Adjusted from 32px */
    }
    
    .deadline-days {
        font-size: 18px; /* Adjusted from 15px */
    }
    
    .similar-job-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .similar-job-info {
        text-align: center;
    }
    
    .detail-row {
        grid-template-columns: 1fr 1fr;
        gap: 6px; /* Adjusted from 4px */
    }
    
    .detail-label {
        font-size: 12px; /* Adjusted from 10px */
    }
    
    .detail-value {
        font-size: 11px; /* Adjusted from 9px */
    }
}

/* For extremely small screens (less than 360px) */
@media (max-width: 360px) {
    .detail-row {
        grid-template-columns: 1fr 1fr;
        gap: 5px; /* Adjusted from 3px */
    }
    
    .detail-label {
        font-size: 11px; /* Adjusted from 9px */
        white-space: nowrap;
    }
    
    .detail-value {
        font-size: 10px; /* Adjusted from 8px */
    }
    
    .view-details-link {
        font-size: 14px; /* Adjusted from 12px */
    }
}

@media (min-width: 769px) {
    /* On desktop, buttons are side by side */
    .search-button-row {
        flex-direction: row;
    }
    
    .bjp-search-btn,
    .bjp-reset-btn {
        width: auto;
        min-width: 160px; /* Increased from 140px */
    }
}

/* প্রিন্ট স্টাইলস */
@media print {
    .bjp-search-form-wrapper,
    .bjp-reset-btn,
    .load-more-container,
    .apply-now-btn[data-external="true"]::after {
        display: none !important;
    }
    
    .bjp-job-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #000000 !important;
    }
    
    .bjp-portal {
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    .bjp-search-btn {
        display: none !important;
    }
    
    .bjp-deadline-widget,
    .bjp-similar-jobs-widget {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #000000 !important;
    }
    
    .deadline-apply-btn,
    .view-details-link {
        display: none !important;
    }
}

/* Screen reader only class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for accessibility */
.bjp-search-btn:focus,
.bjp-reset-btn:focus,
.search-input-large:focus,
.search-select:focus,
.view-details-btn:focus,
.apply-now-btn:focus,
.bjp-load-more:focus,
.view-details-link:focus {
    outline: 2px solid #0d47a1;
    outline-offset: 2px;
}

/* ইউটিলিটি ক্লাসেস */
.bjp-hidden {
    display: none !important;
}

.bjp-visible {
    display: block !important;
}

.bjp-text-center {
    text-align: center !important;
}

.bjp-text-right {
    text-align: right !important;
}

.bjp-text-left {
    text-align: left !important;
}

.bjp-mt-5 {
    margin-top: 5px !important;
}

.bjp-mb-5 {
    margin-bottom: 5px !important;
}

.bjp-mt-10 {
    margin-top: 10px !important;
}

.bjp-mb-10 {
    margin-bottom: 10px !important;
}

.bjp-mt-15 {
    margin-top: 15px !important;
}

.bjp-mb-15 {
    margin-bottom: 15px !important;
}

/* কাস্টম স্ক্রলবার */
.bjp-portal ::-webkit-scrollbar {
    width: 8px; /* Increased from 6px */
    height: 8px; /* Increased from 6px */
}

.bjp-portal ::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px; /* Increased from 3px */
}

.bjp-portal ::-webkit-scrollbar-thumb {
    background: #0d47a1;
    border-radius: 4px; /* Increased from 3px */
}

.bjp-portal ::-webkit-scrollbar-thumb:hover {
    background: #08306b;
}