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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #e0f7fa; /* Light cyan background */
    height: 100vh;
    margin: 0;
    padding: 0;
    display: block;
}

.container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding-top: 50px; /* Espaço no topo para ajustar o logo */
    padding-left: 15px;  /* Pequena margem à esquerda */
    padding-right: 15px; /* Pequena margem à direita */
}

.logo {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.login-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
}

.logo {
    width: 100%; /* Make the logo full width */
    max-width: 300px; /* Set a maximum width for the logo */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

label {
    font-weight: bold;
    color: #003366; /* Dark blue for labels */
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #b2dfdb; /* Light teal border */
    border-radius: 5px;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: #28a745; /* Green on focus */
    outline: none;
}

.buttons {
    display: flex;
    justify-content: space-between;
}

.btn {
    display: inline-block;
    background-color: #4caf50; /* Verde para o botão "Salvar" */
    color: white;
    border: none;
    padding: 10px 15px; /* Ajuste para que todos os botões tenham o mesmo tamanho */
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none; /* Remove o sublinhado dos links */
    height: 40px; /* Define uma altura fixa para os botões */
    line-height: 20px; /* Ajusta a altura da linha para centralizar o texto */
    font-size: 1em; /* Tamanho da fonte consistente */
}

.btn-primary {
    background-color: #4caf50; /* Verde para o botão "Salvar" */
}

.btn-warning {
    background-color: #ffc107; /* Amarelo para o botão "Desabilitar" */
}

.btn-danger {
    background-color: #dc3545; /* Vermelho para o botão "Deletar" */
}

.btn-secondary {
    background-color: #66bb6a; /* Lighter green for secondary button */
}

.btn:hover {
    background-color: #388e3c; /* Verde escuro para hover no botão "Salvar" */
}

.btn-warning:hover {
    background-color: #e0a800; /* Lighter yellow on hover for "Desabilitar" */
}

.btn-danger:hover {
    background-color: #c82333; /* Darker red on hover for "Deletar" */
}

.btn-secondary:hover {
    background-color: #5a6268; /* Darker grey for secondary button hover */
}


.reset-password {
    display: block;
    margin-top: 10px;
    color: #003366; /* Dark blue for reset password link */
    text-decoration: none;
}

.reset-password:hover {
    text-decoration: underline;
}

.error-message {
    color: #d32f2f; /* Red for error messages */
    margin: 10px 0;
    font-weight: bold;
}



/* Navbar */
.navbar {
    background-color: #0056b3; /* Darker blue background for the navbar */
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-menu {
    list-style-type: none; /* Remove default list styling */
    display: flex; /* Use flexbox for horizontal layout */
    justify-content: space-around; /* Space the menu items evenly */
    align-items: center; /* Align items vertically centered */
    margin: 0; /* Remove margin */
    height: 100%; /* Ensure it uses full height */
}

.nav-menu li {
    margin: 0; /* Remove margin */
}

.nav-menu a {
    color: white; /* White text color */
    text-decoration: none; /* Remove underline from links */
    font-weight: bold; /* Make text bold */
    transition: color 0.3s; /* Smooth transition for hover effect */
    padding: 10px 15px; /* Padding for menu items */
}

.nav-menu a:hover {
    color: #e0e0e0; /* Lighter color on hover */
}

.container {
    padding-top: 60px; /* Space for the fixed navbar */
    margin: 0 auto; /* Center the content */
    max-width: 800px; /* Set a max width for the content */
}

/* Tabela para listagem de serviços */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.table th, .table td {
    border: 1px solid #b2dfdb; /* Cor similar aos campos do formulário */
    padding: 8px; /* Reduzido o padding para dar mais espaço */
    text-align: left;
    font-size: 0.85em; /* Tamanho da fonte reduzido para 85% */
}

.table th {
    background-color: #0056b3; /* Manter o tom de azul escuro */
    color: white;
    font-size: 1em; /* Cabeçalhos com tamanho de fonte normal */
}

.table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.table tr:hover {
    background-color: #ddd;
}


/* Botão de editar com ícone */
.edit-icon {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.edit-button {
    background-color: #4caf50; /* Verde para combinar com os botões do formulário */
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
}

.edit-button:hover {
    background-color: #388e3c; /* Darker green on hover */
}