.job-card {
    border: 1px solid rgba(29, 52, 105, 0.08);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.01) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Rubik', sans-serif;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.job-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(29, 52, 105, 0.08);
    border-color: rgba(29, 52, 105, 0.15);
}

.job-title-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
}

.jobs-favorite-toggle {
    color: #cbd5e0;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    flex-shrink: 0;
}

.jobs-favorite-toggle:hover {
    color: #f56565;
    background: #fff;
    transform: scale(1.1);
}

.jobs-favorite-toggle.active {
    color: #f56565;
}

.job-card-header {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    align-items: center;
}

.job-company-logo-frame {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.job-company-logo-frame img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
}

.logo-placeholder {
    color: #cbd5e0;
}

.job-title {
    color: var(--jobs-primary-color);
    margin: 0 0 2px 0;
    font-size: 1.1em;
    font-weight: 700;
    line-height: 1.2;
}

.job-title a {
    color: inherit;
    text-decoration: none !important;
}

.job-title a:hover {
    text-decoration: none !important;
}

.company-info-line {
    color: #64748b;
    margin: 0;
    font-size: 0.8em;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.v-bar {
    color: #cbd5e1;
    font-weight: 300;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.capsule {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.6em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border: none !important;
    gap: 4px;
}

.capsule-location {
    background: #dcfce7 !important;
    color: #166534; /* Green */
}

.capsule-salary {
    background: #dbeafe !important;
    color: #1e40af; /* Blue */
}

.capsule-type {
    background: #f3e8ff !important;
    color: #6b21a8; /* Purple/Pastel */
}

.capsule-specialization {
    background: #fef9c3 !important;
    color: #854d0e; /* Yellow/Gold */
}

.job-excerpt {
    color: #64748b;
    font-size: 0.85em;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.2em;
}

.job-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
}

.job-pub-date {
    font-size: 0.7em;
    color: #94a3b8;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.job-pub-date .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.job-card-actions {
    display: flex;
    gap: 10px;
}

.job-card-actions .jobs-btn-minimal:first-child {
    background: var(--jobs-primary-color);
    color: #fff;
}

.job-card-actions .jobs-btn-minimal:first-child:hover {
    background: #152a55;
    transform: translateY(-1px);
}

.job-card-actions .jobs-btn-minimal:last-child {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.job-card-actions .jobs-btn-minimal:last-child:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.card-apply-dropdown {
    margin-top: 20px;
    padding: 25px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    position: relative;
    animation: slideDownFade 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 15px 35px rgba(29, 52, 105, 0.08);
}

@keyframes slideDownFade {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-arrow {
    position: absolute;
    top: -8px;
    right: 40px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-left: 1px solid #e2e8f0;
    border-top: 1px solid #e2e8f0;
    transform: rotate(45deg);
}

.jobs-btn-minimal {
    padding: 8px 16px;
    font-size: 0.75em;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

@media (max-width: 768px) {
    .job-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .job-card-actions {
        width: 100%;
        justify-content: flex-end;
    }
}
