.wigmaker-page {
    max-width: 1280px;
    margin-inline: auto;
    padding: 1.5rem 1rem;
}

/* Glassmorphism Status Cards */
.status-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.status-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(234, 215, 232, 0.5);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(73, 20, 52, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.status-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(73, 20, 52, 0.08);
    border-color: #ad246d;
}

.status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: #ad246d;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.status-card:hover::before {
    opacity: 1;
}

.status-card h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #ad246d;
    margin: 0;
    font-family: 'Outfit', sans-serif;
}

.status-card p {
    margin-top: 0.4rem;
    color: #665772;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.status-card i {
    position: absolute;
    right: 1.2rem;
    bottom: 1.2rem;
    font-size: 2.2rem;
    color: rgba(173, 36, 109, 0.04);
    transition: all 0.3s ease;
}

.status-card:hover i {
    color: rgba(173, 36, 109, 0.08);
    transform: scale(1.1) rotate(-8deg);
}

/* Task Board */
.task-board {
    background: #ffffff;
    border: 1px solid #ead7e8;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(73, 20, 52, 0.04);
}

.task-board-head {
    margin-bottom: 1.2rem;
    border-bottom: 1px solid #f2ebf4;
    padding-bottom: 0.8rem;
}

.task-board-head h2 {
    font-size: 1.35rem;
    font-family: 'Outfit', sans-serif;
    color: #3b2e43;
    margin: 0;
}

.task-board-head p {
    margin-top: 0.25rem;
    color: #8c7895;
    font-size: 0.85rem;
}

/* Modern Filters */
.task-filters {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}

.filter-btn {
    border: 1px solid #e4cddd;
    background: #fff;
    color: #5f4f68;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.5rem 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: #ad246d;
    color: #ad246d;
    background: #fdf7fb;
}

.filter-btn.active {
    background: #ad246d;
    border-color: #ad246d;
    color: #fff;
    box-shadow: 0 8px 20px rgba(173, 36, 109, 0.3);
}

/* Premium Task Table */
.task-table-wrap {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid #f2ebf4;
}

.task-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.task-table th {
    background: #fcf9fb;
    padding: 0.8rem 1rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #8c7895;
    border-bottom: 2px solid #f2ebf4;
}

.task-table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #f2ebf4;
    vertical-align: middle;
    transition: background 0.2s ease;
}

.task-table tr:hover td {
    background: #fdfbfd;
}

.task-table tr:last-child td {
    border-bottom: none;
}

.task-code-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.task-code-cell .icon-box {
    width: 34px;
    height: 34px;
    background: #fdf2f8;
    color: #ad246d;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.task-info-main {
    display: flex;
    flex-direction: column;
}

.task-info-main strong {
    font-size: 0.95rem;
    color: #3b2e43;
}

.task-info-main span {
    font-size: 0.8rem;
    color: #8c7895;
}

/* Status Pills */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 800;
    border: 1px solid transparent;
}

.status-pill::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}

.status-queued { background: #fff7ed; color: #9a3412; border-color: #ffedd5; }
.status-processing { background: #eff6ff; color: #1e40af; border-color: #dbeafe; }
.status-completed { background: #f0fdf4; color: #166534; border-color: #dcfce7; }

/* Dates & Actions */
.dates-stack {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.date-row {
    font-size: 0.78rem;
    color: #665772;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.date-row i {
    font-size: 0.9rem;
    opacity: 0.6;
}

.action-btn {
    background: #ad246d;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: #8e1d5a;
    box-shadow: 0 5px 15px rgba(173, 36, 109, 0.25);
    transform: translateX(3px);
}

/* Detail Shells */
.task-detail-shell, .task-update-shell, .task-history-shell {
    background: #fff;
    border: 1px solid #ead7e8;
    border-radius: 28px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 15px 45px rgba(73, 20, 52, 0.04);
}

.task-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.snapshot-card {
    background: #fcf9fb;
    border: 1px solid #f2ebf4;
    border-radius: 20px;
    padding: 1.5rem;
}

.snapshot-card h3 {
    margin: 0 0 1rem;
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.2rem;
    color: #ad246d;
}

/* Responsive */
@media (max-width: 768px) {
    .wigmaker-page { padding: 1.5rem 1rem; }
    .status-cards { grid-template-columns: 1fr; }
    .task-board { padding: 1.5rem; }
    .task-table th, .task-table td { padding: 1rem; }
}

