/**
 * User Problems - Styling
 * Matches the quotes table styling from Loophole My Account
 */

/* Problems Table Styles - Matching Quotes Table Design */
.loophole-problems-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin: 20px 0;
    background: #fff;
}

.loophole-problems-table thead {
    background-color: #4353ff;
    color: white;
}

.loophole-problems-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px !important;
}

/* Prevent table headers from changing color on hover */
.loophole-problems-table th:hover {
    background-color: #4353ff;
}

.loophole-problems-table td {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    font-size: 14px !important;
}

/* Set column widths */
.loophole-problems-table th.status-column,
.loophole-problems-table td.status-column {
    width: 145px;
}

/* Prevent pointer events on table headers */
.loophole-problems-table th {
    pointer-events: none;
}

.loophole-problems-table tr:hover {
    background-color: #f6f9fc;
    transition: background-color 0.2s ease;
}

.loophole-problems-table tr:last-child td {
    border-bottom: none;
}

/* Problem meta styling for problem number and date */
.problem-meta {
    font-size: 12px !important;
    color: #888;
    margin-top: 5px;
    font-style: italic;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .loophole-problems-table th.status-column,
    .loophole-problems-table td.status-column {
        width: 100px;
    }
    
    .loophole-problems-table th,
    .loophole-problems-table td {
        padding: 8px 10px;
        font-size: 13px !important;
    }
    
    .problem-meta {
        font-size: 11px !important;
    }
}
