/* public/assets/css/candidate-job-card.css */

.premium-job-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.premium-job-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}
.job-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    transition: color 0.15s ease;
}
.job-card-title:hover {
    color: #00aa6c;
}
.job-card-subtitle {
    font-size: 14px;
    color: #64748b;
    margin-top: 4px;
    font-weight: 400;
}
.job-card-badge {
    background-color: #f1f5f9;
    color: #475569;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}
.job-card-badge.rating {
    background-color: #fef3c7;
    color: #d97706;
    font-weight: 600;
}
.job-card-meta {
    font-size: 13px;
    color: #64748b;
}
.job-card-meta i {
    color: #94a3b8;
    width: 16px;
}
.job-card-skills {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
}
.job-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.job-card-btn-outline {
    background-color: transparent;
    color: #2563eb;
    border: 1.5px solid #2563eb;
    font-weight: 600;
    font-size: 13px;
    padding: 6px 18px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: auto;
    line-height: 1.5;
}
.job-card-btn-outline:hover {
    background-color: #eff6ff;
    color: #1d4ed8;
}
.job-card-btn-solid {
    background-color: #2563eb;
    color: #ffffff;
    border: 1.5px solid #2563eb;
    font-weight: 600;
    font-size: 13px;
    padding: 6px 18px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: auto;
    line-height: 1.5;
}
.job-card-btn-solid:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
}
.job-card-btn-applied {
    background-color: #ecfdf5;
    color: #059669;
    border: 1.5px solid #ecfdf5;
    font-weight: 600;
    font-size: 13px;
    padding: 6px 18px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    height: auto;
    line-height: 1.5;
}
.job-card-follow-check {
    width: 16px;
    height: 16px;
    cursor: pointer;
    margin-top: 0;
    accent-color: #0f172a;
    border: 1.5px solid #64748b;
    border-radius: 4px;
}

@media (max-width: 767.98px) {
    .premium-job-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 16px;
        margin-bottom: 14px;
        overflow: hidden;
    }
    .premium-job-card:hover {
        transform: none;
    }
    .premium-job-card > .d-flex:first-child > div:first-child {
        min-width: 0;
        flex: 1 1 auto;
    }
    .job-card-title {
        display: block;
        font-size: 16px;
        line-height: 1.45;
        overflow-wrap: anywhere;
    }
    .job-card-subtitle {
        font-size: 13px;
    }
    .job-card-badge {
        padding: 4px 10px;
        font-size: 11px;
    }
    .job-card-meta {
        gap: 7px 5px !important;
        line-height: 1.45;
    }
    .job-card-meta .mx-2 {
        display: none;
    }
    .job-card-meta > span:not(.mx-2) {
        flex: 0 1 auto;
        min-width: 0;
    }
    .job-card-skills {
        overflow-wrap: anywhere;
    }
    .job-card-footer {
        display: block !important;
    }
    .job-card-footer > div:first-child {
        width: 100%;
    }
    .job-card-footer > div:last-child {
        display: grid !important;
        grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, .8fr);
        width: 100%;
        gap: 8px !important;
        margin-top: 14px;
    }
    .job-card-btn-outline,
    .job-card-btn-solid,
    .job-card-btn-applied {
        width: 100%;
        min-width: 0;
        padding: 7px 8px;
        font-size: 12px;
        white-space: nowrap;
    }
    .job-card-footer .form-check label {
        align-items: flex-start !important;
        line-height: 1.35;
    }
}

@media (max-width: 374.98px) {
    .job-card-footer > div:last-child {
        grid-template-columns: 1fr;
    }
}
