.time-entries-container {
    padding: 2rem;
}

.time-entries-header {
    margin-bottom: 0rem;
    position: sticky;
    top: 0;
    background: white;
    z-index: 100;
    padding: 1rem;
}

.date-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.date-navigation h2 {
    color: #000000 !important;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Fix navigation arrow colors */
.date-navigation .btn-link {
    color: #000000 !important;
    text-decoration: none;
}

.date-navigation .btn-link:hover,
.date-navigation .btn-link:focus {
    color: #333333 !important;
    text-decoration: none;
}

.date-navigation .btn-link i {
    color: #000000 !important;
    font-size: 1.2rem;
}

.date-navigation .btn-link:hover i,
.date-navigation .btn-link:focus i {
    color: #333333 !important;
}

.total-hours {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.time-entries-list {
    display: flex;
    flex-direction: column;
    width: 100%; /* Ensure full width */
    padding: 0 0.5rem; /* Minimal horizontal padding */
}

.time-entry-row {
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
    width: 100%;
}

.time-entry-row:last-child {
    border-bottom: none;
}

.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    width: 100%;
}

.task-info {
    flex: 0 0 75%;
    padding-right: 1rem;
}

/* Fix task name font size - make it smaller and more readable */
.task-info h3 {
    color: #000000 !important;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem !important; /* Reduced from default h3 size */
    line-height: 1.3;
}

.hours {
    flex: 0 0 25%;
    text-align: right;
    font-weight: 500;
    color: #000000;
    font-size: 1.1rem;
}

.comments {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0.5rem 0;
}

.entry-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.entry-actions {
    display: flex;
    gap: 0.5rem;
}

/* Fix status badge colors - make submitted status green */
.badge.bg-primary {
    background-color: #28a745 !important; /* Green for submitted status */
    color: #ffffff !important;
}

.badge.bg-success {
    background-color: #28a745 !important; /* Keep approved as green */
    color: #ffffff !important;
}

.badge.bg-danger {
    background-color: #dc3545 !important; /* Keep rejected as red */
    color: #ffffff !important;
}

.badge.bg-warning {
    background-color: #ffc107 !important; /* Keep draft as yellow */
    color: #000000 !important;
}

.empty-state {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #000000;
}

.floating-add-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #000000 !important;
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    font-size: 1.5rem;
    z-index: 1000;
    transition: all 0.3s ease;
}

.floating-add-button:hover {
    background-color: #333333 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
    .task-info h3 {
        font-size: 1rem !important; /* Even smaller on mobile */
    }
    
    .hours {
        font-size: 0.9rem;
    }
    
    .comments {
        font-size: 0.8rem;
    }
    
    .entry-actions .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .floating-add-button {
        bottom: calc(var(--mobile-nav-height) + 1rem);
    }
}

.select2-container {
    width: 100% !important;
}

.select2-container .select2-selection--single {
    height: 38px;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
    padding-left: 12px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
}

.select2-dropdown {
    border: 1px solid #ced4da;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-height: 300px;
    overflow-y: auto;
}

.select2-results {
    max-height: 250px;
    overflow-y: auto;
}

.select2-results__options {
    margin: 0;
    padding: 0;
}

.select2-results__option {
    padding: 4px 8px;
    margin: 0;
    border-bottom: 1px solid #eee;
}

.select2-results__option:last-child {
    border-bottom: none;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #f8f9fa;
    color: #333;
}

.time-entry-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    border: none;
    color: #000000;
}

.time-entry-form {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    border: none;
}

.btn-primary {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: white !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #333333 !important;
    border-color: #333333 !important;
    color: white !important;
}

.entry-actions .btn {
    margin-right: 0.5rem;
}