/* Sexuloon Task Management System — Custom Styles */

/* General */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
}

main {
    flex: 1;
}

/* Auth pages */
.auth-container {
    max-width: 440px;
    margin: 2rem auto;
}

.auth-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
}

.auth-card .card-body {
    padding: 2rem;
}

/* Priority badges */
.badge-low {
    background-color: #0dcaf0 !important;
    color: #000 !important;
}

.badge-medium {
    background-color: #ffc107 !important;
    color: #000 !important;
}

.badge-high {
    background-color: #fd7e14 !important;
    color: #fff !important;
}

.badge-urgent {
    background-color: #dc3545 !important;
    color: #fff !important;
}

/* Status badges */
.badge-pending {
    background-color: #6c757d !important;
}

.badge-in_progress {
    background-color: #0d6efd !important;
}

.badge-completed {
    background-color: #198754 !important;
}

.badge-approved {
    background-color: #20c997 !important;
}

.badge-rejected {
    background-color: #dc3545 !important;
}

/* Task cards / table */
.task-row:hover {
    background-color: #e9ecef;
    cursor: pointer;
}

.task-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.task-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Overdue highlight */
.overdue-text {
    color: #dc3545;
    font-weight: 600;
}

.overdue-badge {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Comment section */
.comment-item {
    border-left: 3px solid #0d6efd;
    padding-left: 1rem;
    margin-bottom: 1rem;
}

.comment-item .comment-meta {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Dashboard filters */
.filter-bar {
    background: #fff;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

/* User management table */
.user-table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    color: #6c757d;
}

/* Detail page */
.detail-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.detail-card .card-header {
    border-radius: 10px 10px 0 0 !important;
}

/* Action buttons */
.btn-action {
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.4;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .filter-bar .row > div {
        margin-bottom: 0.5rem;
    }

    .table-responsive {
        font-size: 0.9rem;
    }
}
