:root {
    --primary: #1a385a;
    --secondary: #3a7ca5;
    --warning: #f39c12;
    --danger: #e74c3c;
    --dark: #2d3436;
    --light: #f5f6fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    padding: 20px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 25px;
    background-color: var(--primary);
    color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.header h1 {
    font-size: 1.8rem;
    margin: 0;
    color: white;
}

.stats {
    display: flex;
    gap: 20px;
}

.stat-card {
    background: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    text-align: center;
    border: 1px solid #e0e0e0;
}

.stat-value {
    font-size: 26px;
    font-weight: bold;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: #7f8c8d;
}

.kanban-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 20px;
}

.kanban-column {
    background-color: white;
    border-radius: 10px;
    min-width: 300px;
    width: 300px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: all 0.3s ease;
}

.kanban-column:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.column-title {
    font-weight: 600;
    font-size: 16px;
    color: var(--dark);
}

.column-count {
    background-color: var(--light);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 12px;
}

.ticket {
    background-color: white;
    border-radius: 6px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.2s;
}

.ticket:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.ticket-id {
    font-size: 12px;
    color: #95a5a6;
}

.ticket-priority {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.priority-low {
    background-color: #e8f8f5;
    color: var(--secondary);
}

.priority-medium {
    background-color: #fef9e7;
    color: var(--warning);
}

.priority-high {
    background-color: #fdedec;
    color: var(--danger);
}

.ticket-content {
    margin-bottom: 15px;
}

.ticket-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.ticket-desc {
    font-size: 13px;
    color: #7f8c8d;
}

.ticket-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.ticket-agent {
    display: flex;
    align-items: center;
    gap: 5px;
}

.agent-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

.agent-name {
    font-weight: 500;
    color: var(--dark);
}

.ticket-time {
    color: #95a5a6;
}

.action-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
}

.btn {
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    flex: 1;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-secondary {
    background-color: var(--secondary);
    color: white;
}

.btn-warning {
    background-color: var(--warning);
    color: white;
}

.btn-danger {
    background-color: var(--danger);
    color: white;
}

.btn:hover {
    opacity: 0.9;
}

.simulation-controls {
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.simulation-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.simulation-title::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 20px;
    background-color: var(--primary);
    margin-right: 12px;
    border-radius: 4px;
}

.simulation-buttons {
    display: flex;
    gap: 10px;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.new-ticket-indicator {
    animation: pulse 1s infinite;
    background-color: var(--primary);
    color: white;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 12px;
    margin-left: 10px;
}

.simulation-active {
    background-color: var(--secondary) !important;
}
