/* Main styles for the PhotoMagic Retoucher application */

/* General table styles */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
}

/* Table styling */
table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

table th, 
table td {
    padding: 0.75rem;
    vertical-align: top;
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
}

table th:last-child,
table td:last-child {
    border-right: none;
}

table th {
    font-weight: 600;
    text-align: left;
    background-color: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
}

table tbody tr {
    transition: background-color 0.2s;
}

table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

table tbody tr:hover {
    background-color: #f1f5f9;
}

/* Truncated text with ellipsis */
.truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: block;
}

/* Status colors */
.status-uploaded {
    color: #6b7280; /* gray-600 */
}

.status-processing {
    color: #2563eb; /* blue-600 */
}

.status-completed {
    color: #16a34a; /* green-600 */
}

.status-error {
    color: #dc2626; /* red-600 */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .responsive-table {
        display: block;
    }

    .responsive-table th,
    .responsive-table td {
        min-width: 120px;
    }
    
    table {
        display: block;
        overflow-x: auto;
    }
} 