.table10-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.table10-title {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
}
#table10-filter-type {
    padding:7px 10px;
    border-radius:6px;
    border:1px solid #ccc;
    background:#fff;
    height:40px;
}
.table10-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}
.table10-add-btn {
    background: #1f7ae0;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}
.table10-add-btn:hover {
    background: #1666bb;
}
#table10-search {
    padding: 7px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    min-width: 260px;
}
.table10-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: white;
}
.table10-wrapper {
    overflow-x: auto;
}
.table10-table thead {
    background: #f3f6f9;
}
.table10-table th,
.table10-table td {
    border: 1px solid #e2e6ea;
    padding: 8px 10px;
    text-align: center;
    vertical-align: middle;
    white-space: normal;
    overflow-wrap: break-word;
}
.table10-table th,
.table10-table td {
    min-width: auto;
}
.table10-table td:nth-child(3),
.table10-table td:nth-child(4) {
    min-width: auto;
}
.table10-table th {
    font-weight: 600;
    font-size: 12px;
}
.table10-table tbody tr:nth-child(even) {
    background: #fafafa;
}
.table10-table tbody tr:hover {
    background: #eef5ff;
}
.table10-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.table10-edit-btn,
.table10-delete-btn {
    border: none;
    padding: 6px 8px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
}
.table10-edit-btn {
    background: #28a745;
    color: white;
}
.table10-edit-btn:hover {
    background: #218838;
}
.table10-delete-btn {
    background: #dc3545;
    color: white;
}
.table10-delete-btn:hover {
    background: #c82333;
}
.table10-loading {
    text-align: center;
    padding: 20px;
    color: #666;
}
.table10-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    background: rgba(0,0,0,0.45);
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.table10-modal.active {
    display: flex;
}
.table10-modal-content {
    background: white;
    padding: 25px 30px;
    border-radius: 8px;
    width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
.table10-modal-content h3 {
    margin-top: 0;
}
.table10-modal-content label {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 500;
}
.table10-modal-content input,
.table10-modal-content select {
    width: 100%;
    padding: 6px 8px;
    margin-top: 4px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 13px;
}
#table10-save-add,
#table10-save-edit {
    margin-top: 15px;
    background: #1f7ae0;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}
#table10-save-add:hover,
#table10-save-edit:hover {
    background: #1666bb;
}
#table10-close-add,
#table10-close-edit {
    margin-top: 10px;
    background: #6c757d;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
}
#table10-close-add:hover,
#table10-close-edit:hover {
    background: #5a6268;
}
@keyframes table10-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.table10-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid #ffffff70;
    border-top: 2px solid white;
    border-radius: 50%;
    display: inline-block;
    animation: table10-spin 0.7s linear infinite;
    margin-right: 5px;
}
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.table10-table th:last-child,
.table10-table td:last-child {
    position: sticky;
    right: 0;
    z-index: 4;
    background: white;
}
.table10-table thead th:last-child {
    z-index: 6;
    background: #f3f6f9;
}
.table10-table td:last-child {
    box-shadow: -2px 0 4px rgba(0,0,0,0.05);
}