body {
    background-color: #f0f8ff; /* Very soft blue from the screenshot */
}

.jobs-main {
    padding: 30px 0 60px 0;
    min-height: calc(100vh - 80px);
}

/* Page Title Pill */
.page-title-bar {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.title-pill {
    display: inline-flex;
    align-items: center;
    background-color: transparent;
    gap: 12px;
}

.title-pill .icon-circle {
    background-color: #0088cc;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.title-pill h2 {
    font-size: 20px;
    color: #1e293b;
    font-weight: 700;
    margin: 0;
}

/* Grid Layout */
.jobs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 992px) {
    .jobs-grid {
        grid-template-columns: 1fr;
    }
}

/* Card Styling - 100% Exact match to original image */
.gov-card {
    background: #ffffff;
    border: 1px solid #dbeafe; /* Clean soft blue outline */
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 4px 20px rgba(0, 136, 204, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gov-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 136, 204, 0.12);
    border-color: #60a5fa;
}

/* Top Row: Info (Left) and Timer (Right) */
.gov-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.gov-info {
    display: flex;
    gap: 15px;
    align-items: center;
    padding-right: 15px;
}

/* Logo Box */
.gov-logo-box {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    flex-shrink: 0;
}

.gov-logo {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    position: relative;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Generic BD Govt Logo */
.gov-logo.bg-generic::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: #ef4444; 
    border-radius: 50%;
    border: 3px solid #16a34a; 
}

/* Bongobhaban logo */
.gov-logo.bg-pres::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    background: #fbbf24;
    border-radius: 50%;
    border: 2px solid #b45309;
}

.gov-title h3 {
    font-size: 16px;
    color: #1e293b;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.gov-title .sub {
    font-size: 13px;
    color: #64748b;
    margin: 4px 0 0 0;
}

/* Timer Styling */
.gov-timer {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 46px;
    border-radius: 10px;
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #10b981;
    transition: all 0.3s ease;
}

.gov-card:hover .time-box,
.gov-timer.solid .time-box {
    background-color: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

.time-box .num {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.1;
    font-family: Arial, sans-serif;
}

.time-box .lbl {
    font-size: 10px;
    font-weight: 600;
}

.gov-timer .sep {
    font-weight: bold;
    color: #cbd5e1;
    margin: 0 2px;
    transition: all 0.3s ease;
}
.gov-card:hover .sep,
.gov-timer.solid .sep {
    color: #10b981;
}

/* Bottom Row: Meta (Left) and Actions (Right) */
.gov-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    gap: 8px;
}

.gov-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.meta-pill {
    font-size: 11.5px;
    font-weight: 600;
    padding: 5px 9px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.meta-pill.gray {
    background-color: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
}
.meta-pill.gray i {
    color: #64748b;
}

.meta-pill.red {
    background-color: #fff1f2;
    color: #e11d48;
    border: 1px solid #fecdd3;
}
.meta-pill.red i {
    color: #f43f5e;
}

/* Buttons */
.gov-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.btn-notice, .btn-apply {
    padding: 6px 14px;
    border-radius: 20px; /* Perfectly rounded like original image */
    font-size: 12.5px;
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
    border: none;
    white-space: nowrap;
}

/* Notice Button */
.btn-notice {
    background-color: #f8fafc;
    color: #334155;
    border: 1px solid #e2e8f0;
}
.btn-notice i {
    color: #0284c7; /* PDF icon color match */
}
.btn-notice:hover {
    background-color: #f1f5f9;
}

/* Apply Button */
.btn-apply {
    background-color: #0088cc;
    color: #ffffff;
}
.btn-apply:hover {
    background-color: #0077b3;
}

/* ==============================================
   MOBILE RESPONSIVE FIXES FOR GOVT JOBS CONTAINER
============================================== */
@media (max-width: 768px) {
    .gov-card {
        padding: 18px;
        gap: 16px;
    }

    .gov-card-bottom {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding-top: 10px;
        border-top: 1px dashed #e2e8f0;
    }

    .gov-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        width: 100%;
    }

    .meta-pill {
        flex: 1 1 auto;
        justify-content: center;
        padding: 8px 10px;
        font-size: 12px;
    }

    .gov-actions {
        display: flex;
        gap: 12px;
        width: 100%;
    }

    .btn-notice, .btn-apply {
        flex: 1;
        justify-content: center;
        padding: 10px 14px;
        font-size: 13.5px;
    }
}

@media (max-width: 480px) {
    .gov-card-top {
        gap: 10px;
    }

    .gov-info {
        gap: 10px;
        padding-right: 8px;
    }

    .gov-logo-box {
        width: 48px;
        height: 48px;
    }

    .gov-logo {
        width: 34px;
        height: 34px;
    }

    .gov-title h3 {
        font-size: 15px;
    }

    .gov-title .sub {
        font-size: 12px;
    }

    .time-box {
        width: 38px;
        height: 42px;
    }

    .time-box .num {
        font-size: 13.5px;
    }

    .time-box .lbl {
        font-size: 9.5px;
    }
}
