.applicants-preview-image {
    max-height: 50px;
    width: auto;
}

.applicants-action-group {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

.applicants-action-btn span {
    display: none;
}

@media (max-width: 767.98px) {
    .applicants-card {
        margin-top: 0;
        padding: 0;
        overflow: hidden;
        border: 1px solid #edf2f7;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
    }

    .applicants-card .table-header {
        gap: 10px;
        margin-bottom: 0;
        padding: 14px;
        border-bottom: 1px solid #edf2f7;
        background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
    }

    .applicants-card .table-header h5 {
        display: flex;
        min-width: 0;
        align-items: center;
        color: #0f172a;
        font-size: 16px;
        line-height: 1.35;
    }

    .applicants-card .table-header h5 .bi {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        margin-right: 7px !important;
        border-radius: 10px;
        background: #eaf3ff;
        color: #0d6efd;
        font-size: 15px;
    }

    .applicants-card .table-header .btn {
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        min-height: 34px;
        max-width: 132px;
        padding: 6px 11px !important;
        border-radius: 999px !important;
        font-size: 12px;
        font-weight: 800;
        line-height: 1.2;
        white-space: nowrap;
    }

    .applicants-card .table-header .btn .bi {
        margin-right: 4px !important;
    }

    .applicants-table-wrap {
        overflow: visible;
        padding: 12px;
        background: #fff;
    }

    .applicants-table,
    .applicants-table tbody,
    .applicants-table tr,
    .applicants-table td {
        display: block;
        width: 100%;
    }

    .applicants-table {
        margin-bottom: 0;
    }

    .applicants-table thead {
        display: none;
    }

    .applicants-table tbody {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .applicants-table tr {
        padding: 12px;
        border: 1px solid #edf2f7;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    }

    .applicants-table tr:nth-child(even) {
        background: #f8fbff;
    }

    .applicants-table td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 30px;
        padding: 6px 0;
        border-bottom: 0;
        color: #0f172a;
        font-size: 13px;
        line-height: 1.35;
        text-align: right;
        overflow-wrap: anywhere;
    }

    .applicants-table td::before {
        flex: 0 0 auto;
        color: #64748b;
        font-size: 12px;
        font-weight: 800;
        text-align: left;
        white-space: nowrap;
    }

    .applicants-table td:nth-child(1) {
        display: block;
        padding: 0 0 10px;
        border-bottom: 1px solid #e6eef8;
        text-align: left;
    }

    .applicants-table td:nth-child(1)::before,
    .applicants-table td:nth-child(6)::before {
        content: none;
    }

    .applicants-table td:nth-child(2)::before {
        content: "类型";
    }

    .applicants-table td:nth-child(4)::before {
        content: "审核状态";
    }

    .applicants-name-main {
        min-width: 0;
    }

    .applicants-name-text {
        color: #0f172a !important;
        font-size: 15px;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    .applicants-type-cell,
    .applicants-id-cell,
    .applicants-time-cell {
        color: #334155;
        font-weight: 700;
    }

    .applicants-id-cell {
        font-family: Arial, sans-serif;
        font-size: 12px;
    }

    .applicants-table .badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 24px;
        padding: 4px 9px;
        border-radius: 999px;
        font-size: 12px;
        font-weight: 800;
        line-height: 1.2;
        white-space: nowrap;
    }

    .applicants-action-cell {
        display: block !important;
        padding-top: 10px !important;
        text-align: left;
    }

    .applicants-action-group {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(76px, 1fr));
        gap: 7px;
        width: 100%;
    }

    .applicants-action-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        min-height: 32px;
        width: 100%;
        padding: 5px 7px;
        border-radius: 9px;
        font-size: 12px;
        font-weight: 800;
        line-height: 1.2;
        white-space: nowrap;
    }

    .applicants-action-btn span {
        display: inline;
    }

    .applicants-table td[colspan] {
        display: block;
        min-height: 148px;
        padding: 28px 12px !important;
        color: #64748b;
        text-align: center;
    }

    .applicants-table td[colspan]::before {
        content: none;
    }

    .applicants-pagination-bar {
        flex-direction: column;
        align-items: stretch !important;
        gap: 10px;
        padding: 0 12px 12px !important;
    }

    .applicants-pagination-bar #pageInfo {
        text-align: center;
        font-size: 12px;
    }

    .applicants-pagination-bar nav {
        display: flex;
        justify-content: center;
        min-width: 0;
    }

    .applicants-pagination-bar .pagination {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    .applicants-pagination-bar .page-link {
        min-width: 32px;
        border-radius: 9px !important;
        text-align: center;
    }

    .applicants-page .modal-dialog {
        max-width: none;
        margin: 12px;
    }

    .applicants-page .modal-content {
        overflow: hidden;
        border: 0;
        border-radius: 16px;
        box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
    }

    .applicants-page .modal-header,
    .applicants-page .modal-footer {
        padding: 12px 14px;
    }

    .applicants-page .modal-title {
        font-size: 16px;
        font-weight: 800;
    }

    .applicants-page .modal-body {
        max-height: calc(100vh - 170px);
        overflow-y: auto;
        padding: 12px;
        background: #f6f8fb;
    }

    .applicants-page #viewContent .table {
        margin-bottom: 0;
        overflow: hidden;
        border-radius: 12px;
        background: #fff;
        font-size: 13px;
    }

    .applicants-page #viewContent th {
        width: 34% !important;
        background: #f8fbff;
        color: #64748b;
        font-size: 12px;
        white-space: nowrap;
    }

    .applicants-page #viewContent td {
        color: #0f172a;
        overflow-wrap: anywhere;
    }

    .applicants-preview-image {
        max-width: 92px;
        max-height: 64px;
        border-radius: 8px;
        object-fit: cover;
    }
}
