* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
}

/* Login */
.login-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h1 {
    color: #6a1b9a; /* Roxo */
    font-size: 24px;
}

.login-header h2 {
    color: #d32f2f; /* Vermelho */
    font-size: 18px;
    font-weight: normal;
}

.login-form {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background-color: #6a1b9a; /* Roxo */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #4a148c; /* Roxo mais escuro */
}

.error-message {
    background-color: #ffebee;
    color: #d32f2f;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
}

.login-info {
    text-align: center;
    font-size: 14px;
    color: #666;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

/* Dashboard */
.dashboard-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.dashboard-header {
    background-color: #6a1b9a; /* Roxo */
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-logout {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    background-color: #d32f2f; /* Vermelho */
    border-radius: 5px;
}

.dashboard-nav {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
}

.nav-item {
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    border-bottom: 3px solid transparent;
}

.nav-item.active {
    border-bottom-color: #d32f2f; /* Vermelho */
    color: #6a1b9a; /* Roxo */
    font-weight: 500;
}

.dashboard-content {
    flex: 1;
    padding: 20px;
}

.status-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.status-card {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.status-card h3 {
    color: #6a1b9a; /* Roxo */
    margin-bottom: 15px;
}

.progress-bar {
    height: 20px;
    background-color: #eee;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: #d32f2f; /* Vermelho */
    border-radius: 10px;
    transition: width 0.5s;
}

.nota {
    font-size: 32px;
    font-weight: bold;
    color: #6a1b9a; /* Roxo */
    margin: 10px 0;
}

.avisos-section {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.avisos-section h2 {
    color: #6a1b9a; /* Roxo */
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.aviso {
    padding: 15px;
    border-left: 4px solid #d32f2f; /* Vermelho */
    background-color: #f9f9f9;
    margin-bottom: 15px;
    border-radius: 0 5px 5px 0;
}

.aviso h3 {
    color: #6a1b9a; /* Roxo */
    margin-bottom: 5px;
}

.aviso small {
    color: #666;
}

/* Formulários */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.form-title {
    color: #6a1b9a; /* Roxo */
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.table th,
.table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.table th {
    background-color: #f5f5f5;
    color: #6a1b9a; /* Roxo */
}

.btn-action {
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 5px;
}

.btn-approve {
    background-color: #4caf50;
    color: white;
}

.btn-reject {
    background-color: #d32f2f;
    color: white;
}

/* Responsividade */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .dashboard-nav {
        flex-wrap: wrap;
    }
    
    .status-cards {
        grid-template-columns: 1fr;
    }
    
    .table {
        display: block;
        overflow-x: auto;
    }
}