/* Denier Master Custom Styles */

/* Toggle Switch Styles */
.status-switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
    vertical-align: middle;
}

.status-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.status-switch input:focus,
.status-switch input:focus-visible,
.status-switch input:active,
.status-switch input:focus + .status-slider,
.status-slider:focus,
.status-slider:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.status-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .2s ease-in-out;
    border-radius: 20px;
    outline: none !important;
    box-shadow: none !important;
}

.status-slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .2s ease-in-out;
    border-radius: 50%;
}

.status-switch input:checked + .status-slider {
    background-color: #16A34A !important; /* status on toggle button color */
}

.status-switch input:checked + .status-slider:before {
    transform: translateX(16px);
}

/* Action Button Custom Colors */
.denier-table .action-delete-btn svg {
    stroke: #ef4444; /* Red color for trash icon */
    stroke-width: 2;
}

.denier-table .action-delete-btn:hover {
    background-color: #fee2e2;
    border-color: #ef4444;
}

.denier-table .action-edit-btn svg {
    stroke: #4a5568;
    stroke-width: 2;
}

.denier-table .action-edit-btn:hover {
    background-color: #f7fafc;
    border-color: #cbd5e1;
}

/* Table Specific Layouts */
.denier-table {
    width: 100%;
    border-collapse: collapse;
}

.denier-table th, .denier-table td {
    padding: 12px 16px;
    text-align: left;
    font-size: 13px;
    border-bottom: 1px solid #f1f5f9;
}

.denier-table th {
    font-weight: 600;
    color: #718096;
    background-color: #f8fafc;
}

.denier-table td {
    color: #151515;
}

.denier-table tbody tr:hover {
    background-color: #f8fafc;
}

/* Spacing and alignment after the Action portion */
.denier-table th:last-child, .denier-table td:last-child {
    padding-right: 40px !important;
    text-align: right !important;
}

.denier-table td:last-child .actions-container {
    justify-content: flex-end;
}
