/* =========================================================
   ACTION BUTTON ADMIN + JOB CARD LOGO FIX
========================================================= */

/* ---------- Admin action buttons ---------- */
.admin-job-table td:last-child {
    text-align: right;
}

.admin-action-group {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    flex-wrap: wrap;
}

.admin-action-group form {
    display: inline-flex;
    margin: 0;
}

.admin-action-btn {
    border: 0;
    min-height: 34px;
    padding: 8px 11px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.18s ease;
    white-space: nowrap;
    cursor: pointer;
}

.admin-action-btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.action-applicant {
    background: #e7f7ff;
    color: #0078b8;
}

.action-applicant:hover {
    background: #d5f1ff;
    color: #005f94;
}

.action-edit {
    background: #fff4cc;
    color: #9a6a00;
}

.action-edit:hover {
    background: #ffedaa;
    color: #7c5400;
}

.action-view {
    background: #eef4ff;
    color: #005baa;
    border: 1px solid #bcd8ff;
}

.action-view:hover {
    background: #dfeeff;
    color: #004986;
}

.action-delete {
    background: #ffe5e8;
    color: #c81e3a;
}

.action-delete:hover {
    background: #ffd3d9;
    color: #98152b;
}

/* ---------- Public job card logo ---------- */
.job-logo-wrap {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 18px;
    background: #e8f4ff;
    border: 1px solid #d9eaff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8px;
    color: #005baa;
    font-weight: 900;
}

.job-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.job-logo-wrap span {
    display: none;
    font-size: 15px;
    letter-spacing: 0.2px;
}

.job-logo-wrap.no-logo span,
.job-logo-wrap.logo-fallback-active span {
    display: block;
}

.job-logo-wrap.logo-fallback-active {
    background: linear-gradient(135deg, rgba(0, 91, 170, 0.10), rgba(0, 167, 225, 0.13));
}

.job-logo-wrap.logo-fallback-active img {
    display: none !important;
}

@media (max-width: 767.98px) {
    .admin-job-table td:last-child {
        text-align: left;
    }

    .admin-action-group {
        justify-content: flex-start;
        margin-top: 8px;
    }

    .admin-action-btn {
        min-height: 32px;
        padding: 7px 10px;
    }

    .job-logo-wrap {
        width: 52px;
        height: 52px;
        min-width: 52px;
        border-radius: 16px;
    }
}
