* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f4f5f7;
    color: #172b4d;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

header h1 {
    color: #0052cc;
    font-size: 28px;
}

.btn-primary {
    background: #0052cc;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #0747a6;
}

.btn-secondary {
    background: #f4f5f7;
    color: #172b4d;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.btn-secondary:hover {
    background: #ebecf0;
}

.btn-danger {
    background: #de350b;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.btn-danger:hover {
    background: #bf2600;
}

.filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

.filters select,
.filters input[type="text"] {
    padding: 8px 12px;
    border: 1px solid #dfe1e6;
    border-radius: 4px;
    font-size: 14px;
    min-width: 150px;
}

.filters input[type="text"] {
    flex: 1;
}

.view-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.btn-view {
    background: white;
    border: 2px solid #dfe1e6;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-view.active {
    background: #0052cc;
    color: white;
    border-color: #0052cc;
}

.table-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    overflow: auto;
}

.table-solicitacoes {
    width: 100%;
    border-collapse: collapse;
}

.table-solicitacoes th {
    background: #f4f5f7;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    color: #5e6c84;
    border-bottom: 2px solid #dfe1e6;
}

.table-solicitacoes td {
    padding: 12px;
    border-bottom: 1px solid #f4f5f7;
}

.table-solicitacoes tr:hover {
    background: #f4f5f7;
    cursor: pointer;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-status {
    background: #0052cc;
    color: white;
}

.badge-prioridade {
    background: #ff5630;
    color: white;
}

.badge-tipo {
    background: #00875a;
    color: white;
}

.kanban-board {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
}

.kanban-column {
    min-width: 300px;
    background: #f4f5f7;
    border-radius: 8px;
    padding: 15px;
}

.kanban-header {
    font-weight: 600;
    margin-bottom: 15px;
    padding: 10px;
    background: white;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kanban-count {
    background: #dfe1e6;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

.kanban-card {
    background: white;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: box-shadow 0.2s;
    border-left: 4px solid #0052cc;
}

.kanban-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.kanban-card-title {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.kanban-card-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-large {
    max-width: 900px;
}

.close {
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #5e6c84;
}

.close:hover {
    color: #172b4d;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #dfe1e6;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.detalhes-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f4f5f7;
}

.detalhes-info {
    margin-bottom: 20px;
}

.detalhes-info h3 {
    color: #5e6c84;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.comentarios-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #f4f5f7;
}

.comentario {
    background: #f4f5f7;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.comentario-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 12px;
    color: #5e6c84;
}

.form-comentario {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.form-comentario input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #dfe1e6;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .filters {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .kanban-board {
        flex-direction: column;
    }
}
