/* Estilos gerais */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* Navbar em tons de vermelho (coerente com a tela de login) */
.navbar-red {
    background: linear-gradient(90deg, #d81b1b 0%, #c21818 60%, #ad1414 100%);
    box-shadow: 0 0.25rem 0.6rem rgba(229, 57, 53, 0.15);
    border-radius: 10px;
}
.navbar-red .navbar-brand,
.navbar-red .nav-link,
.navbar-red .navbar-text {
    color: #fff !important;
}
.navbar-red .nav-link:hover {
    color: #fff;
    opacity: .9;
}
.navbar-red .badge-light {
    background-color: #fff;
    color: #b31212;
}
.navbar-red .text-dark { /* normaliza textos escuros dentro da navbar para branco */
    color: #ffffff !important;
}

/* Botão UtiliPonto harmonizado com a navbar vermelha */
.btn-utiliponto {
    font-weight: 600;
    border-radius: 999px;
    padding: 6px 14px;
}
.navbar-red .btn-utiliponto {
    background-color: #ffffff;
    color: #b31212;
    border: 1px solid rgba(255,255,255,0.65);
    box-shadow: 0 0.2rem 0.45rem rgba(229,57,53,0.12);
}
.navbar-red .btn-utiliponto:hover {
    background-color: #f6f6f6;
    color: #a51010;
}

.sidebar {
    min-height: 100vh;
    background: linear-gradient(180deg, #d81b1b 0%, #c21818 60%, #ad1414 100%);
    color: #fff;
    padding: 20px 16px;
}
.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.92);
    padding: 10px 12px;
    margin: 6px 4px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color .15s ease, color .15s ease;
}

.sidebar .nav-link:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.12);
}

.sidebar .nav-link.active {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.20);
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
}

.sidebar .nav-link i {
    margin-right: 6px;
    opacity: .96;
}

.content {
    padding: 20px;
}

.card {
    margin-bottom: 20px;
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    font-weight: 600;
}

.task-card {
    transition: transform 0.2s;
    cursor: pointer;
}

.task-card:hover {
    transform: translateY(-3px);
}

.task-card .badge {
    font-size: 85%;
}

.priority-high {
    background-color: #dc3545;
}

.priority-medium {
    background-color: #ffc107;
}

.priority-low {
    background-color: #28a745;
}

.status-a_fazer {
    background-color: #eb2b09;
}

.status-em_execucao {
    background-color: #17a2b8;
}

.status-concluida {
    background-color: #28a745;
}

.task-list {
    min-height: 300px;
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 15px;
}

.task-column-header {
    padding: 10px;
    margin-bottom: 15px;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    text-align: center;
}

.avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #f10909;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 5px;
}

.file-upload {
    position: relative;
    overflow: hidden;
    margin: 10px 0;
}

.file-upload input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: pointer;
    display: block;
}

.login-page {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-form {
    max-width: 400px;
    width: 100%;
}

/* Responsividade */
@media (max-width: 768px) {
    .sidebar {
        min-height: auto;
    }
}