/* General Container */
.utl-container { 
    font-family: 'Hind Siliguri', sans-serif;
    max-width: 1200px; 
    margin: 20px auto; 
    padding: 25px; 
    background: #fff; 
    border-radius: 8px; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-size: 16px;
}
.utl-container h2 { 
    margin-top: 0; 
    color: #2c3e50; 
}

/* Form Styling */
.utl-form { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 20px; 
    margin-bottom: 30px; 
    padding: 25px; 
    background: #f9f9f9; 
    border-radius: 5px; 
    border: 1px solid #eee; 
}
.utl-form-group { 
    display: flex; 
    flex-direction: column; 
}
.utl-form-group label { 
    margin-bottom: 8px; 
    font-weight: 600; 
    color: #34495e; 
}
.utl-form-group input { 
    padding: 12px; 
    border: 1px solid #ccc; 
    border-radius: 4px;
    font-family: 'Hind Siliguri', sans-serif;
    font-size: 16px;
}
.utl-form-group input:focus { 
    border-color: #3498db; 
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5); 
    outline: none; 
}
.utl-form .utl-submit-btn { 
    grid-column: 1 / -1; 
    padding: 14px; 
    background: #178d44; 
    color: white; 
    border: none; 
    border-radius: 4px; 
    cursor: pointer; 
    font-size: 17px; 
    transition: background 0.3s;
    font-family: 'Hind Siliguri', sans-serif;
    font-weight: 600;
}
.utl-form .utl-submit-btn:hover { 
    background: #269C53; 
}

/* Table Styling */
.utl-table-wrapper { 
    overflow-x: auto; 
}
#utl-todo-table { 
    width: 100%; 
    border-collapse: collapse; 
}
#utl-todo-table th, #utl-todo-table td { 
    padding: 14px 18px; 
    text-align: left; 
    border-bottom: 1px solid #ddd;
    /* UPDATED: Increased font size for table cells */
    font-size: 17px;
}
#utl-todo-table th { 
    background-color: #4a4a4a;
    color: #ffffff;
    font-weight: 600;
}
#utl-todo-table tr:hover { 
    background-color: #f5f5f5; 
}

/* Row Status Styling */
#utl-todo-table tr.utl-status-completed td { 
    text-decoration: line-through; 
    color: #95a5a6; 
}
#utl-todo-table tr.utl-overdue td { 
    background-color: #ffebee !important; 
}

/* Action Buttons */
.utl-actions button { 
    margin-right: 5px; 
    padding: 6px 12px; 
    border: none; 
    border-radius: 3px; 
    cursor: pointer; 
    color: white;
    font-family: 'Hind Siliguri', sans-serif;
    font-size: 14px;
}
.utl-status-btn { 
    background-color: #2ecc71; 
}
.utl-status-btn.completed { 
    background-color: #f1c40f; 
}
.utl-delete-btn { 
    background-color: #e74c3c; 
}
.utl-actions button:hover { 
    opacity: 0.8; 
}

/* Quick Add Button & Modal */
#utl-quick-add-btn {
    position: fixed;
    /* UPDATED: Position changed to 100px from bottom */
    bottom: 100px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: #269C53;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
}
#utl-quick-add-modal { 
    display: none; 
    position: fixed; 
    z-index: 1002; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.5); 
}
#utl-quick-add-modal .utl-container { 
    position: relative; 
    top: 50%; 
    transform: translateY(-50%); 
}
.utl-modal-close { 
    position: absolute; 
    top: 15px; 
    right: 20px; 
    color: #aaa; 
    font-size: 28px; 
    font-weight: bold; 
    cursor: pointer; 
}
.utl-modal-close:hover { 
    color: #333; 
}

/* ===== Notification Icon Styles ===== */
.utl-notification-wrapper {
    position: relative;
    display: inline-block;
    font-family: 'Hind Siliguri', sans-serif;
}
#utl-notification-icon {
    cursor: pointer;
    position: relative;
}
#utl-notification-icon .utl-work-svg {
    width: 28px;
    height: 28px;
    fill: #1d7e42;
}
#utl-notification-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    min-width: 20px;
    text-align: center;
    display: none;
}
#utl-notification-popup {
    display: none;
    position: absolute;
    top: 130%;
    right: 0;
    width: 320px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    z-index: 1000;
    border: 1px solid #eee;
}
.utl-popup-header {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}
.utl-popup-header h4 {
    margin: 0;
    font-size: 16px;
    color: #333;
}
.utl-popup-stats {
    display: flex;
    justify-content: space-around;
    padding: 15px;
    /* UPDATED: Background color changed */
    background: #27ae60;
    color: #ffffff;
    font-size: 14px;
}
.utl-popup-stats div {
    text-align: center;
}
.utl-popup-stats .count {
    display: block;
    font-size: 18px;
    font-weight: 600;
}
#utl-popup-incomplete-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 200px;
    overflow-y: auto;
}
#utl-popup-incomplete-list li {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#utl-popup-incomplete-list li:last-child {
    border-bottom: none;
}
#utl-popup-incomplete-list li .job-details {
    flex-grow: 1;
}
#utl-popup-incomplete-list li .job-name {
    display: block;
    font-weight: 600;
    color: #333;
}
#utl-popup-incomplete-list li .customer-name {
    font-size: 12px;
    color: #777;
}
.utl-popup-mark-complete-btn {
    background-color: #2ecc71;
    color: white;
    border: none;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 3px;
    cursor: pointer;
    margin-left: 10px;
    white-space: nowrap;
}
.utl-popup-mark-complete-btn:hover {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .utl-form { 
        grid-template-columns: 1fr; 
    }
}





/* ===== NEW: Admin Report Page Styles ===== */
.utl-admin-report-container {
    font-family: 'Hind Siliguri', sans-serif;
    max-width: 1100px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f9fafb;
}

.utl-admin-report-container h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: 700;
}

.utl-report-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.utl-report-card {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #3498db;
    text-align: center;
}
.utl-report-card.all-time {
    border-left-color: #27ae60;
}

.utl-card-title {
    font-size: 18px;
    color: #555;
    margin-bottom: 15px;
    font-weight: 600;
}

.utl-card-value {
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
}

.utl-top-users-section {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.utl-top-users-section h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #2c3e50;
}

.utl-admin-table {
    width: 100%;
    border-collapse: collapse;
}

.utl-admin-table th, .utl-admin-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.utl-admin-table th {
    background-color: #4a4a4a;
    color: #ffffff;
    font-size: 16px;
}

.utl-admin-table tbody tr:nth-child(even) {
    background-color: #f8f8f8;
}

.utl-admin-table tbody tr:hover {
    background-color: #f1f1f1;
}