/**
 * Lowongan Kerja - Halaman publik
 */

.page-lowongan-kerja .loker-main {
    padding: 1.5rem 1rem 3rem;
}

.loker-wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 clamp(0.75rem, 4vw, 1.5rem);
}

.loker-breadcrumb {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.loker-breadcrumb a {
    color: #1e40af;
    text-decoration: none;
}

.loker-breadcrumb a:hover {
    text-decoration: underline;
}

.loker-breadcrumb .sep {
    margin: 0 0.35rem;
}

.loker-title {
    font-size: 1.75rem;
    color: #0f172a;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.loker-title i {
    color: #7c3aed;
}

.loker-desc {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0 0 1.5rem 0;
}

.loker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

.loker-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.loker-card:hover {
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.12);
    border-color: #7c3aed;
    transform: translateY(-2px);
}

.loker-card-foto {
    width: 100%;
    aspect-ratio: 16/10;
    background: #e2e8f0;
    overflow: hidden;
}

.loker-card-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.loker-card-body {
    padding: 1rem 1.25rem;
    flex: 1;
}

.loker-card-judul {
    font-size: 1.1rem;
    margin: 0 0 0.35rem 0;
    color: #0f172a;
    font-weight: 600;
    line-height: 1.3;
}

.loker-card-perusahaan,
.loker-card-lokasi,
.loker-card-gaji {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0 0 0.25rem 0;
}

.loker-card-perusahaan i,
.loker-card-lokasi i,
.loker-card-gaji i {
    margin-right: 0.35rem;
    color: #7c3aed;
    width: 1em;
}

.loker-card-meta {
    margin: 0.5rem 0 0.25rem 0;
}

.loker-badge {
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    background: #ede9fe;
    color: #5b21b6;
    margin-right: 0.35rem;
    margin-bottom: 0.25rem;
}

.loker-card-link {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: #7c3aed;
    font-weight: 500;
}

.loker-card-link i {
    margin-left: 0.25rem;
    font-size: 0.8em;
}

.loker-empty {
    background: #f5f3ff;
    border: 1px solid #c4b5fd;
    border-radius: 12px;
    padding: 1.5rem;
    color: #5b21b6;
    text-align: center;
}

.loker-empty p {
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.loker-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #7c3aed;
    font-weight: 500;
    text-decoration: none;
}

.loker-btn-back:hover {
    text-decoration: underline;
    color: #5b21b6;
}

/* Detail */
.loker-detail-wrap {
    max-width: 900px;
}

.loker-detail-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 720px) {
    .loker-detail-layout {
        grid-template-columns: 1fr;
    }
}

.loker-detail-side .loker-detail-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 1rem;
}

.loker-detail-foto {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    background: #e2e8f0;
    margin-bottom: 1rem;
}

.loker-detail-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.loker-detail-judul {
    font-size: 1.2rem;
    margin: 0 0 0.35rem 0;
    color: #0f172a;
    font-weight: 600;
}

.loker-detail-perusahaan {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 0.75rem 0;
}

.loker-detail-perusahaan i {
    margin-right: 0.35rem;
    color: #7c3aed;
}

.loker-detail-meta {
    margin: 0 0 1rem 0;
}

.loker-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.loker-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.loker-btn-primary {
    background: #7c3aed;
    color: #fff;
}

.loker-btn-primary:hover {
    background: #6d28d9;
    color: #fff;
}

.loker-btn-outline {
    background: transparent;
    color: #7c3aed;
    border: 1px solid #7c3aed;
}

.loker-btn-outline:hover {
    background: #7c3aed;
    color: #fff;
}

.loker-detail-section {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.loker-detail-section-title {
    font-size: 1rem;
    color: #7c3aed;
    margin: 0 0 0.5rem 0;
}

.loker-detail-section-title i {
    margin-right: 0.5rem;
    width: 1em;
}

.loker-detail-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #334155;
    margin: 0;
}

.loker-detail-text a {
    color: #7c3aed;
    text-decoration: none;
}

.loker-detail-text a:hover {
    text-decoration: underline;
}

.loker-back-wrap {
    margin: 1.5rem 0 0 0;
}
