* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    display: flex;
    min-height: 100vh;
    background-color: #f5f5f5;
}

.sidebar {
    width: 250px;
    background-color: #000000;
    color: #fff;
    padding: 20px 0;
    position: fixed;
    height: 100%;
    overflow-y: auto;
}

.logo-area {
    text-align: center;
    padding: 20px;
}

.client-logo {
    max-width: 150px;
    height: auto;
}

.sidebar h2 {
    font-size: 1.2rem;
    text-transform: uppercase;
    padding: 20px;
    color: #caa54b;
    font-weight: 500;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    margin: 5px 0;
}

.sidebar ul li a {
    display: block;
    padding: 15px 20px;
    color: #d1d5db;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.3s;
}

.sidebar ul li a:hover,
.sidebar ul li a.active {
    background-color: #caa54b;
    color: #fff;
}

.content {
    margin-left: 250px;
    padding: 40px;
    width: calc(100% - 250px);
    background-color: #fff;
}

h1 {
    font-size: 2rem;
    color: #1a2a44;
    margin-bottom: 30px;
    font-weight: 700;
}

.section {
    margin-bottom: 40px;
}

h2 {
    font-size: 1.5rem;
    color: #1a2a44;
    margin-bottom: 20px;
    font-weight: 500;
}

.table-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow-x: auto;
}

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

th, td {
    padding: 15px;
    text-align: left;
    font-size: 0.9rem;
    color: #4b5e77;
}

th {
    background-color: #f8fafc;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: #1a2a44;
    cursor: pointer;
    transition: background-color 0.3s;
}

th:hover {
    background-color: #e2e8f0;
}

td {
    border-bottom: 1px solid #e2e8f0;
}

td a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

td a:hover {
    text-decoration: underline;
}

.table-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.table-controls input[type="text"] {
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 0.9rem;
    width: 200px;
    transition: border-color 0.3s;
}

.table-controls input[type="text"]:focus {
    outline: none;
    border-color: #3b82f6;
}

.table-controls select {
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 0.9rem;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.3s;
}

.table-controls select:focus {
    outline: none;
    border-color: #3b82f6;
}

.profile-form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    max-width: 500px;
}

.profile-form .form-group {
    margin-bottom: 15px;
}

.profile-form .form-group label {
    display: block;
    font-size: 0.9rem;
    color: #19263b;
    margin-bottom: 5px;
}

.profile-form .form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #273547;
}

.profile-form .form-group input:focus {
    outline: none;
    border-color: #3b82f6;
}

.profile-form button[type="submit"] {
    background-color: #3b82f6;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.profile-form button[type="submit"]:hover {
    background-color: #2563eb;
}

/* Estilos para a página de cadastro */
.cadastro-body {
    display: flex;
    min-height: 100vh;
    background-color: #edf2f7;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

.cadastro-wrapper {
    display: flex;
    width: 100%;
    height: 100vh;
}

.cadastro-sidebar {
    width: 50%;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.cadastro-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.cadastro-content {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
}

.cadastro-container {
    max-width: 450px;
    width: 100%;
    padding: 40px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-in-out;
}

.cadastro-header {
    text-align: center;
    margin-bottom: 30px;
}

.cadastro-header h1 {
    font-size: 2rem;
    color: #1a2a44;
    margin-bottom: 10px;
    font-weight: 700;
}

.cadastro-header p {
    font-size: 1rem;
    color: #718096;
}

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

.cadastro-form .input-group label {
    display: block;
    font-size: 0.95rem;
    color: #19263b;
    margin-bottom: 6px;
    font-weight: 500;
}

.cadastro-form .input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    color: #273547;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cadastro-form .input-group input:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 6px rgba(59, 130, 246, 0.4);
}

.cadastro-button {
    width: 100%;
    padding: 14px;
    background-color: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cadastro-button:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
}

.login-link {
    text-align: center;
    margin-top: 20px;
    font-size: 0.95rem;
    color: #718096;
}

.login-link a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.login-link a:hover {
    text-decoration: underline;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Estilos para a prévia da foto e lista de documentos */
.photo-preview {
    margin-top: 10px;
    width: 150px; /* Define uma largura fixa para o contêiner da prévia */
    height: 150px; /* Define uma altura fixa para o contêiner da prévia */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e2e8f0; /* Cor de fundo cinza claro como placeholder */
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    overflow: hidden; /* Garante que a imagem não ultrapasse os limites */
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Faz a imagem cobrir o espaço sem distorcer */
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.photo-preview:empty::before {
    content: "Sem foto"; /* Texto exibido quando não há imagem */
    color: #4b5e77;
    font-size: 0.9rem;
    text-align: center;
}

.document-list {
    margin-top: 10px;
}

.document-list p {
    margin: 5px 0;
    color: #4b5e77;
    font-size: 0.9rem;
}