body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f1f3f6;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

header {
    background: #6a0dad;
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.stats {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    flex-wrap: wrap;
    gap: 10px;
}

.card {
    background: white;
    padding: 20px;
    flex: 1 1 48%;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.form {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

input, select {
    padding: 10px;
    margin: 5px;
    min-width: 200px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    padding: 10px 20px;
    background: #6a0dad;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background-color: #520d80;
}

.tickets {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.ticket {
    background: white;
    padding: 15px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.ticket.high { 
    border-left: 5px solid red; background-color: #fff0f0;
}
.ticket.medium {
    border-left: 5px solid orange; background-color: #fff8f0;
}
.ticket.low {
    border-left: 5px solid green; background-color: #f0fff4; 
}

.ticket h3 {
    margin: 0 0 10px 0;
}
.ticket p {
    margin: 5px 0;
}
.status {
    font-size: 12px; margin-top: 10px; font-weight: bold;
}

.actions { 
    margin-top: 10px;
}
.actions button {
    padding: 5px 10px; 
      font-size: 12px; 
    border-radius: 5px; 
}
.actions button:hover { 
    opacity: 0.8;
}

@media (max-width: 600px) {
    input, select { 
        width: 100%;
    }
    .stats { 
        flex-direction: column;
    }
}
