.table-head {
	font-size: 1.2rem; /* mirip h4 */
	font-weight: bold;
	color: #fff;
}

.required-label::after {
	content: "*";
	color: red;
	font-weight: bold;
	vertical-align: super;
	font-size: 13px; /* biar sedikit lebih kecil */
}

.table th,
.table td {
	color: #fff !important;
}

.table thead th {
	color: #fff !important;
}

/* Ubah warna teks di dalam input, select, textarea */
.form-control {
	color: #fff; /* teks jadi putih */
	background-color: #2c2c2c; /* contoh: gelap biar kontras */
	border: 1px solid #555; /* opsional, biar tidak hilang border */
}

/* Placeholder juga harus diubah */
.form-control::placeholder {
	color: #ccc; /* abu-abu biar kelihatan */
	opacity: 1; /* pastikan placeholder tidak transparan */
}

/* Untuk option di dalam select */
.form-control option {
	color: #000; /* teks option hitam */
	background: #fff; /* background option putih */
}

.img-bordered {
	border: 2px solid #007bff;
	padding: 3px;
	border-radius: 8px;
}

.alert {
	animation: slideDown 0.6s ease;
}

@keyframes slideDown {
	from {
		transform: translateY(-20px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.text-muted.text-white {
	color: rgba(255, 255, 255, 0.7) !important; /* putih tapi agak transparan */
}

.status-label {
	display: inline-block;
	transition:
		opacity 0.3s ease,
		transform 0.3s ease;
}

.status-label.loading {
	opacity: 0.5;
	transform: scale(0.95);
}

.user-info h6,
.user-info p {
	margin-left: 5px; /* 👈 kasih jarak dari kiri */
}

/* SEARCH */
.table-dark td,
.table-dark th {
	vertical-align: middle;
}

/* buat baris kosong tampak elegan */
.bg-dark-subtle {
	background-color: #1e1f22 !important; /* sedikit lebih terang dari hitam */
}

.table td[colspan] {
	border: none !important;
}

.mdi-alert-circle-outline {
	vertical-align: middle;
}
/* END SEARCH */

/* ═══════════════════════════════════════════════
   LOGOUT MODAL — Styled Card
   ═══════════════════════════════════════════════ */
.modal-logout-sof7z .modal-content {
    background: #1a1d2e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    color: #e2e8f0;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.modal-logout-sof7z .modal-header {
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 16px 20px;
}

.modal-logout-sof7z .modal-header .modal-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #e2e8f0;
    letter-spacing: 0.2px;
}

.modal-logout-sof7z .modal-body {
    padding: 24px 20px 16px;
    background: transparent;
}

/* Icon atas modal */
.logout-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.12);
    border: 1.5px solid rgba(239, 68, 68, 0.3);
    margin: 0 auto 14px;
}

.logout-icon-wrapper .mdi {
    font-size: 1.6rem;
    color: #f87171;
}

.logout-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 8px;
}

.logout-subtitle {
    font-size: 0.84rem;
    color: rgba(226, 232, 240, 0.6);
    line-height: 1.5;
    margin-bottom: 18px;
}

/* User card di dalam modal */
.logout-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px 16px;
    text-align: left;
    margin-top: 4px;
}

.logout-user-avatar {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid rgba(139, 92, 246, 0.5) !important;
    flex-shrink: 0 !important;
    display: block !important;
}

.logout-user-info {
    flex: 1;
    min-width: 0;
}

.logout-user-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #f1f5f9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logout-user-role {
    font-size: 0.78rem;
    color: rgba(226, 232, 240, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.modal-logout-sof7z .modal-footer {
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 14px 20px;
    gap: 10px;
}

.modal-logout-sof7z .btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.modal-logout-sof7z .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.modal-logout-sof7z .btn-danger {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
    transition: all 0.2s ease;
}

.modal-logout-sof7z .btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.55);
}

/* ═══════════════════════════════════════════════
   FULL-WIDTH LAYOUT FIX FOR CORONA ADMIN TEMPLATE
   ═══════════════════════════════════════════════ */
.container-scroller {
    width: 100% !important;
    max-width: 100% !important;
}

.page-body-wrapper {
    flex: 1 1 auto !important;
    flex-grow: 1 !important;
    min-width: 0 !important;
    width: calc(100% - 244px) !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.sidebar-icon-only .page-body-wrapper {
    width: calc(100% - 70px) !important;
}

@media (max-width: 991px) {
    .page-body-wrapper {
        width: 100% !important;
        max-width: 100% !important;
    }
}

.main-panel {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 auto !important;
    flex-grow: 1 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.content-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    flex-grow: 1 !important;
}

/* To Do List Enhancements */
.todo-list li .delete-todo,
.todo-list li .remove {
    cursor: pointer;
    font-size: 1.2rem;
    color: #6c7293;
    transition: color 0.2s ease, transform 0.2s ease;
}

.todo-list li .delete-todo:hover,
.todo-list li .remove:hover {
    color: #fc424a !important;
    transform: scale(1.15);
}

.todo-list li.no-tasks {
    border-bottom: none !important;
    padding: 1rem 0;
    color: #6c7293;
    font-style: italic;
}

/* Mobile responsive for todo-list */
@media (max-width: 576px) {
    .todo-list-custom li {
        padding: 0.6rem 0 !important;
        align-items: flex-start !important;
    }
    .todo-list-custom li .form-check {
        max-width: calc(100% - 32px) !important;
        margin: 0 !important;
    }
    .todo-list-custom li .form-check .form-check-label {
        white-space: normal !important;
        word-break: break-word !important;
        line-height: 1.4 !important;
        padding-left: 22px !important;
    }
    .todo-list-custom li .delete-todo,
    .todo-list-custom li .remove {
        margin-top: 2px !important;
        margin-left: auto !important;
        font-size: 1.1rem !important;
        padding: 2px;
    }
}



