/* Welcome Header Styles */
.welcome-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.welcome-content {
    flex: 1;
    min-width: 200px;
}

.welcome-title {
    font-size: 2rem;
    margin: 0.5rem 0 0;
    color: var(--text-primary);
    font-weight: 600;
}

.welcome-subtitle {
    font-size: 1.25rem;
    margin: 0;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.welcome-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.logout-btn:hover {
    background-color: var(--danger);
    color: white;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .welcome-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .welcome-subtitle {
        font-size: 1.1rem;
    }

    .welcome-title {
        font-size: 1.75rem;
    }

    .welcome-actions {
        width: 100%;
    }

    .logout-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .welcome-subtitle {
        font-size: 1rem;
    }

    .welcome-title {
        font-size: 1.5rem;
    }
}

/* Print styles */
@media print {
    .welcome-actions {
        display: none;
    }
}

/* Add these styles to your existing CSS */
.sortable {
    cursor: pointer;
    position: relative;
    padding-right: 1.5rem !important;
}

.sortable i {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
}

.sortable:hover i {
    opacity: 1;
}

.sortable i.fa-sort-up,
.sortable i.fa-sort-down {
    opacity: 1;
    color: var(--primary);
}

/* Ensure table header text doesn't wrap */
.table th {
    white-space: nowrap;
}

/* Responsive table styles */
@media (max-width: 768px) {
    .table-responsive {
        border: 0;
        margin-bottom: 0;
    }
    
    .sortable {
        padding-right: 1.25rem !important;
    }
    
    .sortable i {
        font-size: 0.875rem;
    }
}

/* Add these styles to your existing CSS */
.table-actions {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.reset-sort {
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.reset-sort i {
    font-size: 14px;
}

.reset-sort:hover {
    background-color: var(--bs-gray-200);
}

@media (max-width: 576px) {
    .reset-sort span {
        display: none; /* Hide text on mobile, show only icon */
    }
    
    .reset-sort {
        padding: 0.375rem;
    }
    
    .reset-sort i {
        margin: 0;
    }
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.action-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    white-space: nowrap;
}

.action-buttons .btn-group {
    display: flex;
    gap: 0.25rem;
}

.action-buttons .btn i {
    font-size: 0.875rem;
}

/* Quality Points button group specific styles */
.qp-button-group {
    display: flex;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.qp-button-group .btn {
    flex: 1;
}

@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .action-buttons .btn,
    .action-buttons .btn-group {
        width: 100%;
    }
    
    .qp-button-group {
        flex-direction: column;
    }
} 