/* ==========================================================================
1. CORES E CONFIGURAÇÕES DE TELA (UI DO SITE)
========================================================================== */

:root {
    --primary-color: #e27d14; /* Laranja CID Imóveis */
    --secondary-color: #2c3e50; /* Cinza Escuro */
    --background-color: #f4f6f8;
    --text-color: #333333;
    --border-color: #cccccc;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 30px;
    padding: 25px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--primary-color);
}

.site-logo {
    height: 50px;
    width: auto;
    margin-bottom: 10px;
}

.header h1 {
    margin: 0;
    color: var(--secondary-color);
    font-size: 24px;
}

.header p {
    margin: 5px 0 0 0;
    color: #666;
    font-size: 14px;
}

.container {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 20px;
}

.form-section {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.form-section legend {
    font-size: 18px;
    font-weight: bold;
    color: var(--secondary-color);
    padding: 0 10px;
    border-left: 4px solid var(--primary-color);
}

.section-instruction {
    font-size: 13px;
    color: #666666;
    margin-top: -10px;
    margin-bottom: 20px;
    border-left: 3px solid var(--primary-color);
    padding-left: 10px;
}

.form-group {
    margin-bottom: 15px;
    box-sizing: border-box;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 13px;
    color: #444;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--primary-color);
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
}

.form-row .form-group {
    padding-right: 10px;
    padding-left: 10px;
    flex: 1;
    min-width: 180px;
}

/* Larguras proporcionais baseadas em grid de 12 colunas */
.col-md-1 { flex: 0 0 8.33%; max-width: 8.33%; }
.col-md-2 { flex: 0 0 16.66%; max-width: 16.66%; }
.col-md-3 { flex: 0 0 25%; max-width: 25%; }
.col-md-4 { flex: 0 0 33.33%; max-width: 33.33%; }
.col-md-5 { flex: 0 0 41.66%; max-width: 41.66%; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; }
.col-md-8 { flex: 0 0 66.66%; max-width: 66.66%; }

label {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.d-none { display: none !important; }
.form-divider { border: 0; border-top: 1px solid #eef2f5; margin: 20px 0; }
.option-divider { border: 0; border-top: 3px solid #888a8b; margin: 20px 0; }
.checkbox-group { display: flex; gap: 25px; margin-top: 10px; }
.checkbox-label { display: flex; align-items: center; font-size: 14px; font-weight: 500; cursor: pointer; }
.checkbox-label input[type="checkbox"] { margin-right: 8px; width: auto; cursor: pointer; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.checkbox-label {
    font-size: 14px;
    font-weight: normal;
    cursor: pointer;
}

.form-divider {
    border: 0;
    height: 1px;
    background-color: var(--border-color);
    margin: 20px 0;
}

.d-none {
    display: none !important;
}

.btn-container {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 50px;
}

.btn-submit {
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: background-color 0.2s, transform 0.1s;
}

.btn-submit:hover {
    background-color: #c96b0d;
    transform: translateY(-1px);
}

#contratoImpressao {
    display: none;
}

/* ==========================================================================
2. CONFIGURAÇÕES ESPECÍFICAS PARA IMPRESSÃO (GERAÇÃO DE PDF)
========================================================================== */

@media print {
        @page {
        size: A4;
        margin-top: 15mm;
        margin-right: 15mm;
        margin-bottom: 22mm; /* Garante espaço livre de no mínimo 60px (~83px / 22mm) no rodapé de TODA página para validação digital */
        margin-left: 20mm;
    }

    body {
        background-color: #ffffff !important;
        color: #000000 !important;
        padding: 0 !important;
        margin: 0 !important;
        font-family: 'Times New Roman', Times, serif !important;
        font-size: 11pt !important;
    }

    .header, .container, #contratoForm, #propostaForm, .btn-container, #adminControls {
        display: none !important;
    }

    /* Exibe e força a formatação de papel do contrato legal */
    #contratoImpressao {
        display: block !important;
        padding: 0 !important; /* Margens gerenciadas estritamente pelo @page */
    }

    .folha-contrato {
        page-break-after: auto;
    }

    .timbrado-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 2px solid #000000;
        padding-bottom: 12px;
        margin-bottom: 25px;
        page-break-inside: avoid;
        break-inside: avoid;

    }

    .timbrado-logo-container {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .timbrado-logo {
        height: 52px;
        width: auto;
    }

    .creci-text {
        font-size: 6.5pt;
        writing-mode: vertical-lr;
        transform: rotate(180deg);
        white-space: nowrap;
        color: #333333;
        font-family: Arial, sans-serif;
        font-weight: bold;
    }

    .timbrado-titulo-container {
        flex-grow: 1;
        padding-left: 25px;
        text-align: left;
    }

    .timbrado-titulo-container h2 {
        font-size: 13pt;
        font-weight: bold;
        color: #e27d14 !important;
        text-transform: uppercase;
        margin: 0;
        line-height: 1.25;
        text-align: left;
        letter-spacing: 0.5px;
    }

    .timbrado-sub {
        font-size: 11pt;
        font-weight: normal;
        color: #e27d14 !important;
        text-transform: uppercase;
        display: block;
        margin-top: 3px;
        text-align: left;
        letter-spacing: 0.5px;
    }

    .timbrado-captador-container {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .captador-label {
        font-size: 8pt;
        font-weight: bold;
        text-transform: uppercase;
        color: #000000;
    }

    .captador-box {
        background-color: #dddddd !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        padding: 6px 15px;
        min-width: 150px;
        font-size: 9.5pt;
        font-weight: bold;
        text-transform: uppercase;
        border-radius: 4px;
        text-align: center;
        color: #000000;
        border: 1px solid #cccccc;
    }

    .tabela-qualificacao {
        width: 100%;
        border-collapse: coll

apse;
        margin-bottom: 20px;
        page-break-inside: auto !important;
        break-inside: auto !important;
    }

    .tabela-qualificacao tr {
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    .tabela-qualificacao td {
        border: 1px solid #000000;
        padding: 6px 10px;
        font-size: 9.5pt;
        line-height: 1.4;
        vertical-align: top;
    }

    .titulo-tabela {
        background-color: #eaeaea !important;
        font-weight: bold;
        text-transform: uppercase;
        font-size: 10pt;
    }

    h3 {
        font-size: 12pt;
        text-align: center;
        text-transform: uppercase;
        margin: 25px 0 15px 0;
        font-weight: bold;
        page-break-inside: avoid;
        break-inside: avoid;
    }

    p.clausula-texto {
        text-align: justify;
        line-height: 1.5;
        margin-bottom: 12px;
        text-indent: 1.5cm;
        page-break-inside: auto !important;
        break-inside: auto !important;
        orphans: 2 !important;
        widows: 2 !important;
    }

    p.paragrafo-texto {
        text-align: justify;
        line-height: 1.5;
        margin-bottom: 12px;
        text-indent: 2.0cm;
        page-break-inside: auto !important;
        break-inside: auto !important;
        orphans: 2 !important;
        widows: 2 !important;
    }

    /* Bloco final indissociável: impede que as assinaturas fiquem isoladas sem cláusula na última página */
    .bloco-final-assinaturas {
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    /* Bloco de Assinaturas */
    .container-assinaturas {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-top: 40px;
        page-break-inside: avoid;
        break-inside: avoid;
    }

    .container-assinaturas-prop {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        margin-top: 25px;
        page-break-inside: avoid;
        break-inside: avoid;
    }

    .campo-assinatura {
        width: 48%;
        text-align: center;
        margin-bottom: 25px;
        font-size: 9.5pt;
        page-break-inside: avoid;
        break-inside: avoid;
    }

    .linha-assinatura {
        border-top: 1px solid #000000;
        margin: 25px auto 5px auto;
        width: 90%;
    }
}

/* ==========================================================================
3. ESTILOS ADICIONAIS: TELA DE LOGIN E SELEÇÃO DE OPÇÕES
========================================================================== */

.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--background-color);
    padding: 20px;
}

.login-container {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 40px 30px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-top: 5px solid var(--primary-color);
    text-align: center;
    margin: 0 auto;
}

.login-logo {
    height: 60px;
    margin-bottom: 20px;
    width: auto;
}

.login-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.login-subtitle {
    font-size: 13px;
    color: #666666;
    margin-bottom: 25px;
}

.selection-body {
    background-color: var(--background-color);
    min-height: 100vh;
    padding: 20px;
}

.selection-container {
    max-width: 1100px;
    margin: 50px auto;
    padding: 20px;
}

.selection-header {
    text-align: center;
    margin-bottom: 40px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--primary-color);
}

.selection-header h1 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-top: 15px;
    margin-bottom: 8px;
}

.selection-section {
    margin-bottom: 35px;


}

.section-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--secondary-color);
    padding-left: 12px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.option-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.option-icon {
    font-size: 42px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.option-card h3 {
    font-size: 16px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.option-card p {
    font-size: 13px;
    color: #666666;
    line-height: 1.4;
}

.option-card.unavailable {
    border-style: dashed;
    background-color: #fafbfc;
}

.option-card.unavailable .option-icon {
    color: #95a5a6;
}

.logout-container {
    text-align: center;
    margin-top: 30px;
}

.btn-logout {
    background-color: #c0392b;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-logout:hover {
    background-color: #a33226;
}

.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.custom-modal.d-none {
    display: none !important;
}

.modal-content {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    animation: scaleIn 0.3s ease;
    border-top: 5px solid var(--primary-color);
}

.modal-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.modal-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.modal-text {
    font-size: 14px;
    color: #555555;
    margin-bottom: 25px;
    line-height: 1.5;
}

.modal-btn {
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.modal-btn:hover {
    background-color: #c96b0d;
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
4. ESTILOS DO PERFIL DO USUÁRIO LOGADO (PAINEL SUPERIOR)
========================================================================== */

.user-profile-bar {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    background-color: #f0f4f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shado

w 0.2s, border-color 0.2s;
}

.user-avatar:hover {
    transform: scale(1.08);
    box-shadow: 0 0 10px rgba(226, 125, 20, 0.4);
    border-color: #c96b0d;
}

.user-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.user-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-name {
    font-size: 16px;
    font-weight: bold;
    color: var(--secondary-color);
}

.user-email {
    font-size: 12px;
    color: #666666;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-user-action {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-edit-profile {
    background-color: var(--secondary-color);
    color: #ffffff;
}

.btn-edit-profile:hover {
    background-color: #1a252f;
}

.btn-logout-top {
    background-color: #c0392b;
    color: #ffffff;
}

.btn-logout-top:hover {
    background-color: #a33226;
}

.badge-role {
    font-size: 10px;
    padding: 3px 8px;
}

/* Modal Avatar Options Grid */
.avatar-options-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
}

.avatar-option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    width: 95px;
    background-color: #fafbfc;
}

.avatar-option-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background-color: #ffffff;
}

.avatar-option-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.avatar-option-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    border: 2px solid #cccccc;
}

.avatar-option-card span {
    font-size: 12px;
    font-weight: 600;
    color: #444444;
}
/* ==========================================================================
5. ESTILOS DA SEÇÃO DE RASCUNHOS DE CONTRATOS SALVOS
========================================================================== */

.rascunhos-section {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 25px;
    margin-top: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.rascunhos-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 8px;
    padding-left: 10px;
    border-left: 4px solid var(--primary-color);
}

.rascunhos-subtitle {
    font-size: 13px;
    color: #666666;
    margin-bottom: 20px;
}

.table-container {
    width: 100%;
    overflow-x: auto;
}

.rascunhos-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 10px;
}

.rascunhos-table th,
.rascunhos-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eef2f5;
}

.rascunhos-table th {
    background-color: #f8fafc;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rascunhos-table td {
    font-size: 13.5px;
    color: #334155;
    vertical-align: middle;
}

.rascunhos-table tr:hover {
    background-color: #f8fafc;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 12px;
    text-align: center;
}

.badge-contrato {
    background-color: var(--primary-color);
}
.badge-proposta {
    background-color: #f1ee0f;
}

/* ================================================

==========================
6. ESTILOS DAS OPÇÕES DE AVATAR DO PERFIL
========================================================================== */

.avatar-options-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
}

.avatar-option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    width: 95px;
    background-color: #fafbfc;
}

.avatar-option-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background-color: #ffffff;
}

.avatar-option-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.avatar-option-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    border: 2px solid #cccccc;
}

.avatar-option-card span {
    font-size: 12px;
    font-weight: 600;
    color: #444444;
}

/* ==========================================================================
7. REGRAS DE RESPONSIVIDADE E ADAPTAÇÃO PARA DISPOSITIVOS MÓVEIS (MOBILE / TABLET)
========================================================================== */

@media screen and (max-width: 768px) {
    /* Ajustes Gerais de Espaçamento e Conteineres */
    body {
        padding: 10px;
    }

    .container,
    .selection-container {
        padding: 0 10px;
        margin: 15px auto;
        width: 100%;
        max-width: 100%;
    }

    .header,
    .selection-header,
    .form-section,
    .rascunhos-section {
        padding: 15px;
        margin-bottom: 20px;
    }

    .header h1,
    .selection-header h1 {
        font-size: 20px;
    }

    /* Empilhamento de Linhas e Colunas do Formulário */
    .form-row {
        flex-direction: column;
        margin-left: 0;
        margin-right: 0;
    }

    .form-row .form-group {
        padding-left: 0;
        padding-right: 0;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        margin-bottom: 15px;
    }

    /* Sobrescrita Forçada das Colunas da Grid para 100% no Celular */
    .col-md-1,
    .col-md-2,
    .col-md-3,
    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-8 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Agrupamentos de Checkbox e Opções */
    .checkbox-group {
        flex-direction: column;
        gap: 12px;
        margin-top: 8px;
    }

    /* Ajustes de Modais e Caixas de Texto */
    .modal-content {
        width: 95%;
        padding: 20px 15px;
    }

    textarea {
        resize: vertical; /* Expansão estritamente vertical */
        max-width: 100%;
    }

    /* Barra Superior de Perfil de Usuário */
    .user-profile-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
        gap: 15px;
    }

    .user-info {
        flex-direction: row;
        align-items: center;
        width: 100%;
    }

    .user-actions {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .btn-user-action {
        flex: 1;
        justify-content: center;
        padding: 10px;
        font-size: 12px;
    }

    /* Grid do Painel Dashboard (Seleção) */
    .selection-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .option-card {
        min-height: 160px;
        padding: 20px 15px;
    }

    /* Botões Principais de Ação */
    .btn-container {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 20px;
        margin-bottom: 30px;
    }

    .btn-submit,
    .btn-logout {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
        box-sizing: border-box;
    }

    /* Tabela Centralizada de Rascunhos */
    .table-container {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border: 1px solid var(--border-color);
        border-radius: 6px;
    }

    .rascunhos-table th,
    .rascunhos-table td {
        padding: 10px 12px;
        white-space: nowrap;
    }

    /* Modal de Escolha de Avatar */
    .avatar-options-grid {
        flex-wrap: wrap;
        gap: 10px;
    }

    .avatar-option-card {
        width: 80px;
        padding: 8px;
    }

    .avatar-option-img,
    .avatar-option-icon {
        width: 42px;
        height: 42px;
    }
}