.elementor-11567 .elementor-element.elementor-element-a29695b > .elementor-container > .elementor-column > .elementor-widget-wrap{align-content:center;align-items:center;}.elementor-11567 .elementor-element.elementor-element-a29695b:not(.elementor-motion-effects-element-type-background), .elementor-11567 .elementor-element.elementor-element-a29695b > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#A1FFCF;}.elementor-11567 .elementor-element.elementor-element-a29695b, .elementor-11567 .elementor-element.elementor-element-a29695b > .elementor-background-overlay{border-radius:10px 10px 10px 10px;}.elementor-11567 .elementor-element.elementor-element-a29695b{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;padding:30px 30px 30px 30px;}.elementor-11567 .elementor-element.elementor-element-a29695b > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-11567 .elementor-element.elementor-element-ce65d1b > .elementor-widget-container{padding:10px 10px 10px 10px;}.elementor-11567 .elementor-element.elementor-element-acb3f0a .elementor-heading-title{font-size:16px;font-weight:600;color:#000000;}@media(min-width:768px){.elementor-11567 .elementor-element.elementor-element-eb84f45{width:64.468%;}.elementor-11567 .elementor-element.elementor-element-52bf136{width:35.111%;}}/* Start custom CSS *//* ================================
   TASK CARD LAYOUT
================================ */

.ag-task-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.ag-task-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    transition: transform .15s ease, box-shadow .15s ease;
}

.ag-task-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.08);
}

/* ================================
   HEADER
================================ */

.ag-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.ag-card-header h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: #111827;
}

/* ================================
   BODY
================================ */

.ag-card-body {
    margin-top: 14px;
    font-size: 14px;
    color: #374151;
}

.ag-card-body p {
    margin: 6px 0;
}

/* ================================
   ACTIONS
================================ */

.ag-card-actions {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ================================
   BUTTONS
================================ */

.ag-btn {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease;
}

.ag-btn:hover {
    transform: translateY(-1px);
}

/* Primary */
.ag-btn {
    background: #2563eb;
    color: #ffffff;
}

.ag-btn:hover {
    background: #1d4ed8;
}

/* Danger */
.ag-btn-danger {
    background: #ef4444;
    color: #ffffff;
}

.ag-btn-danger:hover {
    background: #dc2626;
}

/* ================================
   STATUS BADGES
================================ */

.ag-status {
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    text-transform: capitalize;
}

/* Assigned */
.ag-status-assigned {
    background: #e0e7ff;
    color: #3730a3;
}

/* In Progress */
.ag-status-in_progress {
    background: #dbeafe;
    color: #1e40af;
}

/* Reviewed */
.ag-status-reviewed {
    background: #fef3c7;
    color: #92400e;
}

/* Done */
.ag-status-done {
    background: #dcfce7;
    color: #166534;
}

/* Declined */
.ag-status-declined {
    background: #fee2e2;
    color: #991b1b;
}

/* ================================
   TEXT STATES
================================ */

.ag-waiting {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
}

.ag-done {
    font-size: 13px;
    font-weight: 700;
    color: #16a34a;
}

.ag-declined {
    font-size: 13px;
    font-weight: 700;
    color: #dc2626;
}

.ag-task-desc,
.ag-desc-text {
    font-size: 14px;
    line-height: 1.5;
}

.ag-desc-text {
    max-height: 1.5em; /* 1 line */
    overflow: hidden;
    transition: max-height .2s ease;
}

.ag-task-desc.expanded .ag-desc-text {
    max-height: 1000px;
}

.ag-desc-toggle {
    display: inline-block;
    margin: 4px 0;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    color: #555;
}

.ag-desc-toggle-top {
    margin-bottom: 6px;
}
.ag-task-desc strong {
  display: block;
  margin-bottom: 4px;
}

.ag-desc-toggle-top {
  display: block;
  margin-bottom: 6px;
}


.ag-task-tabs, .ag-subtabs {
  display:flex;
  gap:8px;
  margin-bottom:12px;
  overflow-x:auto;
}

.ag-tab,
.ag-subtab {
  padding: 6px 12px;
  border-radius: 16px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

/* ACTIVE TAB */
.ag-tab.active,
.ag-subtab.active {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* BADGE DEFAULT */
.ag-badge {
  margin-left: 6px;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 10px;
  background: #eee;
  color: #666;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

/* 🔥 ACTIVE TAB → BADGE NUMBER BLACK */
.ag-tab.active .ag-badge,
.ag-subtab.active .ag-badge {
  background: #fff;
  color: #000; /* BLACK NUMBER */
}

/* 🚨 RED BADGE (Assigned) — ALWAYS RED */
.ag-badge.red {
  background: #dc2626;
  color: #fff;
}

/* Red badge stays red even if tab is active */
.ag-tab.active .ag-badge.red,
.ag-subtab.active .ag-badge.red {
  background: #dc2626;
  color: #fff;
}

/* SUBTABS STICKY */
.ag-subtabs {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 5;
}/* End custom CSS */