/* ═══════════ ACTIONS LIST (used by todo + actions panels) ═══════════ */

.act-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.act-row {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #f0f2f5;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  transition: all 0.2s;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}
.act-row:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}
.act-label {
  font-weight: 600;
  font-size: 14px;
  color: #05264E !important;
  flex: 1;
  min-width: 120px;
}
.act-label small {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: #8c96a8 !important;
  margin-top: 2px;
}
.act-label .act-name {
  color: #3C65F5 !important;
  text-decoration: none;
  font-weight: 600;
}
.act-label .act-name:hover { text-decoration: underline; }
.act-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.act-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.act-badge.badge-user { background: #e8f0fe; color: #3C65F5 !important; }
.act-badge.badge-date { background: #f0f2f5; color: #6c757d !important; }
.act-badge.badge-job { background: #fff3e0; color: #e67e22 !important; }
.act-dt-form {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.act-dt-form input {
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  width: 140px;
}
.act-dt-form .edt {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  background: #3C65F5;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.act-dt-form .edt:hover { background: #2a4fd6; }
.act-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.act-actions button,
.act-actions .ajaxLink {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid #e0e6f0;
  background: #f8f9fb;
  color: #555 !important;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.act-actions button:hover,
.act-actions .ajaxLink:hover {
  background: #e3f2fd;
  border-color: #3C65F5;
  color: #3C65F5 !important;
}
.act-actions .badge-success {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  background: #e6f9f4;
  color: #09AD95 !important;
}
.act-del {
  color: #ccc !important;
  font-size: 14px;
  transition: color 0.2s;
  text-decoration: none;
}
.act-del:hover { color: #dc3545 !important; }
.act-empty {
  text-align: center;
  padding: 30px;
  color: #aab4c6 !important;
  font-size: 14px;
}

/* ═══════════ TODO PAGE ═══════════ */

.todo-welcome {
    background: linear-gradient(135deg, #05264E 0%, #1a3f7a 40%, #3C65F5 80%, #7B61FF 100%);
    border-radius: 18px;
    padding: 32px 36px;
    margin-bottom: 28px;
    box-shadow: 0 10px 40px rgba(5,38,78,0.20);
    position: relative;
    overflow: hidden;
}
.todo-welcome::after {
    content: '';
    position: absolute;
    right: -30px;
    top: -30px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}
.todo-welcome h2 {
    color: #fff !important;
    font-weight: 800;
    font-size: 24px;
    margin: 0 0 4px 0;
}
.todo-welcome p {
    color: rgba(255,255,255,0.65) !important;
    font-size: 14px;
    margin: 0;
}

.todo-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.05);
    margin-bottom: 24px;
    overflow: hidden;
    border: 1px solid #f0f2f5;
    transition: box-shadow 0.25s;
}
.todo-card:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.todo-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    border-bottom: 1px solid #f0f2f5;
    background: #fafbfd;
}
.todo-card-head h5 {
    color: #05264E !important;
    font-weight: 700;
    font-size: 14px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.todo-card-head h5 i {
    color: #3C65F5 !important;
    font-size: 13px;
}
.todo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    padding: 0 8px;
    border-radius: 13px;
    font-size: 12px;
    font-weight: 700;
    color: #fff !important;
}
.todo-badge.b-blue { background: #3C65F5; }
.todo-badge.b-green { background: #09AD95; }
.todo-badge.b-orange { background: #F5A623; }
.todo-badge.b-red { background: #F96768; }
.todo-badge.b-cyan { background: #17a2b8; }
.todo-badge.b-purple { background: #7B61FF; }

.todo-card-body {
    padding: 0;
    max-height: 340px;
    overflow-y: auto;
}
.todo-card-body::-webkit-scrollbar { width: 4px; }
.todo-card-body::-webkit-scrollbar-track { background: transparent; }
.todo-card-body::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

.todo-card-body table {
    width: 100%;
    border-collapse: collapse;
}
.todo-card-body table tr {
    border-bottom: 1px solid #f0f2f5;
}
.todo-card-body table tr:last-child {
    border-bottom: none;
}
.todo-card-body table td {
    padding: 12px 22px;
    font-size: 13px;
    color: #05264E;
}
.todo-card-body table td a {
    color: #3C65F5 !important;
    text-decoration: none;
    font-weight: 600;
}
.todo-card-body table td a:hover { text-decoration: underline; }

.todo-section {
    color: #05264E !important;
    font-weight: 700;
    font-size: 18px;
    margin: 8px 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.todo-section i { color: #3C65F5 !important; font-size: 16px; }

.todo-admin-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 6px;
    background: linear-gradient(135deg, #05264E, #1a3f7a);
    color: #fff !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

@media (max-width: 991px) {
    .todo-welcome { padding: 24px 20px; }
    .todo-welcome h2 { font-size: 20px; }
}
