/* =========================================
   BRIGHT ANGEL - JOB PORTAL UI (STANDALONE)
   ========================================= */

body {
    background-color: #f8fafc;
    font-family: 'Times New Roman', Times, serif;
    color: #334155;
    margin: 0;
    padding: 0;
}

/* --- Hero & Search Banner --- */
.jp-hero-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 140px 20px 80px 20px;
    border-bottom: 4px solid #ef4444; /* Corporate Red */
    text-align: center;
    position: relative;
}

.jp-hero-banner h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.jp-hero-banner p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 40px;
}

/* --- Search Bar --- */
.jp-search-bar {
    background: #ffffff;
    border-radius: 50px;
    padding: 10px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.jp-search-bar .form-control {
    font-size: 1.05rem;
    color: #0f172a;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.jp-search-bar .form-control:focus {
    outline: none;
}

.jp-search-divider {
    width: 1px;
    height: 30px;
    background-color: #e2e8f0;
}

.jp-btn-search {
    background: #3b82f6;
    color: #ffffff;
    border: none;
    font-weight: 700;
    border-radius: 50px;
    padding: 12px 35px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.jp-btn-search:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(59, 130, 246, 0.3);
}

/* --- Category Carousel --- */
.jp-categories-wrapper {
    background: #ffffff;
    padding: 40px 0 20px 0;
    border-bottom: 1px solid #e2e8f0;
}

.jp-category-slide {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px 15px;
    border: 1px solid #e2e8f0;
    text-align: center;
    cursor: pointer;
    margin: 0 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.jp-category-slide:hover {
    background: #f0f8ff;
    transform: translateY(-5px);
    border-color: #3b82f6;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.1);
}

.jp-category-icon {
    font-size: 2.2rem;
    color: #3b82f6;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.jp-category-slide:hover .jp-category-icon {
    transform: scale(1.1);
}

.jp-category-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #0f172a;
    margin-bottom: 5px;
}

.jp-category-jobs {
    font-size: 0.9rem;
    color: #64748b;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* --- Main Layout (Sidebar + Listings) --- */
.jp-main-content {
    display: flex;
    gap: 30px;
    padding: 40px 0;
}

/* --- Filter Sidebar --- */
.jp-filter-sidebar {
    width: 280px;
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid #e2e8f0;
    height: fit-content;
    flex-shrink: 0;
}

.jp-filter-sidebar label {
    font-weight: 700;
    margin-bottom: 8px;
    color: #0f172a;
    font-size: 1.05rem;
    display: block;
}

.jp-filter-control {
    width: 100%;
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #334155;
    background-color: #f8fafc;
}

.jp-filter-control:focus {
    outline: none;
    border-color: #3b82f6;
    background-color: #ffffff;
}

.jp-btn-filter {
    width: 100%;
    background: #ef4444; /* Corporate Red */
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 12px 0;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
}

.jp-btn-filter:hover {
    background: #dc2626;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
}

/* --- Job Listings Area --- */
.jp-job-listings {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Responsive */
@media (max-width: 991px) {
    .jp-main-content { flex-direction: column; }
    .jp-filter-sidebar { width: 100%; }
    .jp-search-bar { flex-direction: column; border-radius: 12px; padding: 20px; }
    .jp-search-divider { width: 100%; height: 1px; margin: 10px 0; }
    .jp-btn-search { width: 100%; border-radius: 8px; }
}

@media (max-width: 768px) {
    .jp-hero-banner { padding: 130px 20px 60px 20px; }
    .jp-hero-banner h1 { font-size: 2.2rem; }
}

/* --- Job Card Architecture --- */
.jp-job-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 12px;
    border-left: 4px solid transparent;
    transition: all 0.2s ease;
}

.jp-job-card:hover {
    border-left-color: #0a66c2;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    background: #fcfcfc;
}

/* --- Header Area --- */
.jp-job-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.jp-job-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0a66c2;
    text-decoration: none;
    display: block;
}

.jp-job-title:hover { text-decoration: underline; }

.jp-company-name {
    font-size: 0.95rem;
    color: #4b5563;
    margin-top: 4px;
}

.jp-dot-separator { color: #d1d5db; margin: 0 8px; }

.jp-logo-wrapper img {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    border: 1px solid #f3f4f6;
}

/* --- Meta Info (Icons) --- */
.jp-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.meta-item {
    font-size: 0.9rem;
    color: #6b7280;
    white-space: nowrap;
}

.meta-item i {
    color: #9ca3af;
    margin-right: 6px;
}

/* --- Snippet & Tags --- */
.jp-job-snippet {
    font-size: 0.92rem;
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 15px;
}

.jp-job-snippet i { color: #d1d5db; margin-right: 5px; }

.jp-job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.jp-tag {
    background: #f3f4f6;
    color: #4b5563;
    font-size: 0.78rem;
    padding: 3px 10px;
    border-radius: 4px;
}

/* --- Footer & Buttons --- */
.jp-job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dotted #e5e7eb;
    padding-top: 15px;
}

.jp-posted-date { font-size: 0.8rem; color: #9ca3af; }

.jp-details-btn {
    background: none;
    border: none;
    color: #0a66c2;
    font-weight: 700;
    font-size: 0.9rem;
    margin-right: 15px;
}

.jp-details-btn[aria-expanded="true"] { color: #ef4444; }

.jp-apply-btn {
    background: #0a66c2;
    color: #fff !important;
    text-decoration: none;
    padding: 7px 22px;
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* --- Collapsed View --- */
.jp-expanded-content {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
}

.jp-expanded-content h6 { font-weight: 700; margin-bottom: 12px; }

.jp-html-render { font-size: 0.95rem; line-height: 1.6; }

.jp-extra-info {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
    font-size: 0.9rem;
}

/* --- States --- */
.jp-empty-state {
    padding: 60px;
    text-align: center;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.jp-empty-state i { font-size: 3rem; color: #d1d5db; margin-bottom: 15px; }