html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

/* Removido estilos dependentes do Bootstrap */

/* ============================================
   Custom Elegant Checkbox Styles
   ============================================ */

.custom-checkbox {
    position: relative;
    display: inline-block;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.custom-checkbox .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border: 2px solid #d1d5db;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.custom-checkbox:hover .checkmark {
    border-color: #fbbf24;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
}

.custom-checkbox input[type="checkbox"]:checked ~ .checkmark {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-color: #f59e0b;
    box-shadow: 0 4px 6px -1px rgba(245, 158, 11, 0.3), 0 2px 4px -1px rgba(245, 158, 11, 0.2);
}

.custom-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.custom-checkbox input[type="checkbox"]:checked ~ .checkmark:after {
    display: block;
    transform: rotate(45deg) scale(1);
}

.custom-checkbox input[type="checkbox"]:focus ~ .checkmark {
    outline: none;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
}

.custom-checkbox input[type="checkbox"]:focus:checked ~ .checkmark {
    box-shadow: 0 4px 6px -1px rgba(245, 158, 11, 0.3), 0 2px 4px -1px rgba(245, 158, 11, 0.2), 0 0 0 3px rgba(251, 191, 36, 0.2);
}

/* ============================================
   Markdown Body Content
   ============================================ */

.markdown-body p { margin-bottom: 0.75em !important; }
.markdown-body p:last-child { margin-bottom: 0 !important; }
.markdown-body ul,
.markdown-body ol { padding-left: 1.5rem !important; margin-bottom: 0.75em !important; }
.markdown-body ul { list-style-type: disc !important; }
.markdown-body ol { list-style-type: decimal !important; }
.markdown-body li { margin-bottom: 0.25em !important; }
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 { font-weight: 700 !important; margin-bottom: 0.5em !important; margin-top: 1em !important; }
.markdown-body h1 { font-size: 1.5em !important; }
.markdown-body h2 { font-size: 1.25em !important; }
.markdown-body h3 { font-size: 1.125em !important; }
.markdown-body blockquote { border-left: 4px solid #d1d5db !important; padding-left: 1rem !important; color: #6b7280 !important; margin-bottom: 0.75em !important; }
.markdown-body code { background: #f3f4f6 !important; padding: 0.1em 0.35em !important; border-radius: 4px !important; font-size: 0.875em !important; }
.markdown-body pre { background: #1e293b !important; color: #e2e8f0 !important; padding: 1rem !important; border-radius: 8px !important; overflow-x: auto !important; margin-bottom: 0.75em !important; }
.markdown-body pre code { background: none !important; padding: 0 !important; }
.markdown-body a { color: #0072c6 !important; text-decoration: underline !important; }
.markdown-body strong,
.markdown-body b { font-weight: 600 !important; }
.markdown-body em,
.markdown-body i { font-style: italic !important; }
.markdown-body hr { border: none !important; border-top: 1px solid #e5e7eb !important; margin: 1em 0 !important; }
.markdown-body table { width: 100% !important; border-collapse: collapse !important; margin-bottom: 0.75em !important; }
.markdown-body th,
.markdown-body td { border: 1px solid #d1d5db !important; padding: 0.5rem 0.75rem !important; text-align: left !important; }
.markdown-body th { background: #f9fafb !important; font-weight: 600 !important; }
