/* Material Design Ticket List — OTRS CE 6.0 */
body.Action-AgentTicketMaterialList {
    background-color: #f5f7fa;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    padding: 20px;
    margin: 0;
}

.MaterialTicketList .PageHeader {
    margin-bottom: 24px;
}

.MaterialTicketList .PageHeader h1 {
    font-size: 28px;
    font-weight: 500;
    color: #212121;
    margin: 0;
}

.MaterialTicketList .Subtitle {
    color: #757575;
    font-size: 16px;
    margin-top: 4px;
}

.TicketGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.TicketCard {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 16px;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
}

.TicketCard:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.TicketHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.TicketNumber {
    font-weight: 600;
    color: #6200EE;
    font-size: 14px;
}

.StatusBadge {
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.StatusBadge.open {
    background-color: #e8f5e9;
    color: #2e7d32;
}
.StatusBadge.closed {
    background-color: #ffebee;
    color: #c62828;
}
.StatusBadge.pending {
    background-color: #fff8e1;
    color: #f57f17;
}

.TicketTitle {
    font-size: 18px;
    font-weight: 500;
    color: #212121;
    margin: 8px 0 16px;
    line-height: 1.4;
}

.TicketMeta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #616161;
}

.TicketFooter {
    margin-top: auto;
    text-align: right;
}

.MaterialButton {
    background-color: #6200EE;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(98,0,238,0.2);
    transition: box-shadow 0.2s;
}

.MaterialButton:hover {
    box-shadow: 0 4px 8px rgba(98,0,238,0.3);
    background-color: #3700B3;
}

.NoTickets {
    color: #757575;
    font-style: italic;
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
}