/* ===============================
   HELP CENTER - CENTRAL DE AJUDA LUMNI
   =============================== */

/* ===============================
   PÁGINA DE LOGIN
   =============================== */

.ajuda-login-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--tertiary-color) 100%);
}

.ajuda-login-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 450px;
    width: 100%;
    padding: 2.5rem;
}

.ajuda-login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.ajuda-login-logo {
    height: 50px;
    margin-bottom: 1rem;
}

.ajuda-login-header h1 {
    font-size: 1.75rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.ajuda-login-header p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.ajuda-form h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.form-subtitle {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(8, 63, 207, 0.1);
}

.form-help {
    display: block;
    margin-top: 0.375rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

.form-error {
    background: #FEE2E2;
    color: #991B1B;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.form-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--text-light);
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.form-divider span {
    padding: 0 1rem;
    font-size: 0.85rem;
}

.btn-primary, .btn-secondary, .btn-outline {
    width: 100%;
    padding: 0.875rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: #0630A0;
    transform: translateY(-1px);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-loading {
    display: none;
}

.spinner {
    animation: rotate 1s linear infinite;
    width: 20px;
    height: 20px;
}

.spinner .path {
    stroke: currentColor;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

@keyframes dash {
    0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }
    100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
}

.ajuda-login-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.ajuda-login-footer p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.ajuda-login-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

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

/* ===============================
   PÁGINA PRINCIPAL
   =============================== */

.ajuda-container {
    min-height: 70vh;
}

.ajuda-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--tertiary-color) 100%);
    padding: 1rem 0 7rem;
    text-align: center;
    color: white;
    position: relative;
}

.ajuda-hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.ajuda-hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.ajuda-search-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.ajuda-search-box {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.ajuda-search-box:focus-within {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.search-icon {
    color: var(--text-light);
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.ajuda-search-box input {
    flex: 1;
    border: none;
    padding: 1rem 0;
    font-size: 1.125rem;
    color: var(--text-color);
}

.ajuda-search-box input::placeholder {
    color: #9CA3AF;
}

.ajuda-search-box input:focus {
    outline: none;
}

.search-results {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
}

.search-result-item {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.2s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--background-light);
}

.search-result-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.search-result-header h4 {
    font-size: 1rem;
    color: var(--text-color);
    margin: 0;
}

.search-result-category {
    font-size: 0.8rem;
    color: var(--primary-color);
    background: rgba(8, 63, 207, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    white-space: nowrap;
}

.search-result-meta {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Main Topics - 3 blocos grandes */
.ajuda-main-topics {
    padding: 4rem 0 4rem;
    margin-top: 0;
    position: relative;
    z-index: 10;
}

.main-topics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.topic-card {
    background: white;
    border-radius: 16px;
    padding: 3rem 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.topic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.topic-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(8, 63, 207, 0.1) 0%, rgba(176, 115, 255, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.topic-icon svg {
    color: var(--primary-color);
}

.topic-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.topic-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.topic-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.topic-link:hover {
    gap: 0.75rem;
}

.category-description {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* FAQ Grid Section */
.ajuda-faq-grid {
    padding: 4rem 0 5rem;
    background: #F9FAFB;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.faq-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

.faq-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #F3F4F6;
}

.faq-card-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.faq-card-header svg {
    color: #9CA3AF;
    transition: transform 0.3s ease;
}

.faq-card:hover .faq-card-header svg {
    transform: translateX(4px);
}

.faq-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.faq-link:hover {
    color: var(--primary-color);
}

.faq-link svg {
    width: 14px;
    height: 14px;
    color: #9CA3AF;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.faq-link:hover svg {
    color: var(--primary-color);
    transform: translateX(3px);
}

.loading-small {
    color: var(--text-light);
    font-size: 0.875rem;
    padding: 1rem 0;
    text-align: center;
}

.article-header {
    margin-bottom: 1rem;
}

.article-category {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--primary-color);
    background: rgba(8, 63, 207, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-weight: 600;
}

.article-title {
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 0.75rem 0;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.article-views {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

/* Card CTA (integrado no grid) */
.faq-card-cta {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.faq-card-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(176, 115, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.faq-card-cta .cta-content {
    position: relative;
    z-index: 1;
}

.faq-card-cta .cta-icon {
    margin-bottom: 1.5rem;
}

.faq-card-cta .cta-icon svg {
    color: #A3E635;
}

.faq-card-cta h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.75rem 0;
}

.faq-card-cta p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 1.5rem 0;
    line-height: 1.5;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--text-color);
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #F3F4F6;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
}

.cta-actions .btn-primary {
    background: white;
    color: var(--primary-color);
    padding: 0.875rem 2rem;
    width: auto;
}

.cta-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===============================
   PÁGINA DE ARTIGO
   =============================== */

.ajuda-artigo-container {
    padding: 2rem 0 4rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    color: var(--text-light);
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.article-category-badge {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--primary-color);
    background: rgba(8, 63, 207, 0.1);
    padding: 0.375rem 0.875rem;
    border-radius: 4px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.article-content .article-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.article-short-description {
    font-size: 1.25rem;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 400;
}

.article-video {
    margin: 2rem 0;
    background: #F9FAFB;
    border-radius: 12px;
    overflow: hidden;
    padding: 1.5rem;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Vídeo nativo (tag <video>) */
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

/* Controles do vídeo personalizados */
.video-wrapper video::-webkit-media-controls-panel {
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.7));
}

.video-wrapper video::-webkit-media-controls-play-button,
.video-wrapper video::-webkit-media-controls-volume-slider {
    filter: brightness(1.2);
}

.video-meta {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #6B7280;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-right: 1.5rem;
}

.article-body {
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 3rem;
    font-size: 1.05rem;
}

/* Títulos */
.article-body h1 {
    font-size: 2rem;
    color: #1F2937;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.article-body h2 {
    font-size: 1.75rem;
    color: #1F2937;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #E5E7EB;
}

.article-body h3 {
    font-size: 1.4rem;
    color: #374151;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.article-body h4 {
    font-size: 1.2rem;
    color: #374151;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Parágrafos */
.article-body p {
    margin-bottom: 1.25rem;
    color: #4B5563;
}

/* Texto forte e itálico */
.article-body strong {
    color: #1F2937;
    font-weight: 600;
}

.article-body em {
    font-style: italic;
    color: #6B7280;
}

/* Links */
.article-body a {
    color: #84CC16;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s;
}

.article-body a:hover {
    color: #65A30D;
    border-bottom-color: #65A30D;
}

/* Listas */
.article-body ul, .article-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-body ul {
    list-style-type: disc;
}

.article-body ol {
    list-style-type: decimal;
}

.article-body li {
    margin-bottom: 0.75rem;
    color: #4B5563;
    line-height: 1.7;
}

.article-body li strong {
    color: #1F2937;
}

.article-body ul ul,
.article-body ol ol,
.article-body ul ol,
.article-body ol ul {
    margin: 0.5rem 0;
}

/* Parágrafos dentro de listas com emoji de atenção */
.article-body li p {
    margin: 0;
    display: inline;
}

/* Código inline */
.article-body code {
    background: #F3F4F6;
    color: #DC2626;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'Courier New', monospace;
    border: 1px solid #E5E7EB;
}

/* Blocos de código */
.article-body pre {
    background: #1F2937;
    color: #F9FAFB;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 1px solid #374151;
}

.article-body pre code {
    background: transparent;
    color: #F9FAFB;
    padding: 0;
    border: none;
    font-size: 0.95rem;
}

/* Blockquotes */
.article-body blockquote {
    border-left: 4px solid #84CC16;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    color: #6B7280;
    font-style: italic;
}

/* Tabelas */
.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border: 1px solid #E5E7EB;
}

.article-body th,
.article-body td {
    padding: 0.75rem 1rem;
    text-align: left;
    border: 1px solid #E5E7EB;
}

.article-body th {
    background: #F9FAFB;
    font-weight: 600;
    color: #1F2937;
}

.article-body tr:hover {
    background: #F9FAFB;
}

/* Separador horizontal */
.article-body hr {
    border: none;
    border-top: 2px solid #E5E7EB;
    margin: 2rem 0;
}

/* Imagens */
.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.article-actions {
    text-align: center;
    margin-bottom: 2rem;
}

.article-actions p {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 600;
}

.feedback-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-feedback {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: var(--border-radius);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-feedback:hover {
    background: var(--background-light);
    border-color: var(--primary-color);
}

.back-to-help {
    text-align: center;
}

.back-to-help .btn-secondary {
    width: auto;
    padding: 0.75rem 1.5rem;
}

/* ===============================
   PAINEL ADMIN
   =============================== */

.ajuda-admin-container {
    padding: 2rem 0 4rem;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.admin-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.admin-header p {
    color: var(--text-light);
}

.admin-header-right {
    display: flex;
    gap: 1rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.btn-outline:hover {
    background: var(--background-light);
}

.admin-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: var(--text-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.tab-header h2 {
    font-size: 1.5rem;
}

.admin-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-list-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.item-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.item-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-light);
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-success {
    background: #D1FAE5;
    color: #065F46;
}

.badge-draft {
    background: #FEF3C7;
    color: #92400E;
}

.badge-warning {
    background: #FED7AA;
    color: #9A3412;
}

.badge-error {
    background: #FEE2E2;
    color: #991B1B;
}

.item-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    padding: 0.5rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background: var(--background-light);
    border-color: var(--primary-color);
}

.admin-form {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.form-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.btn-close {
    background: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
}

.btn-close:hover {
    color: var(--text-color);
}

.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(8, 63, 207, 0.1);
}

.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    background: white;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.form-actions .btn-primary,
.form-actions .btn-secondary {
    width: auto;
    padding: 0.75rem 1.5rem;
}

.invite-result {
    background: var(--background-light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.invite-result h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.credential-box {
    margin-bottom: 1rem;
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius);
}

.credential-box label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

.credential-value {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.credential-value span {
    flex: 1;
    font-family: monospace;
    padding: 0.5rem;
    background: var(--background-light);
    border-radius: 4px;
    word-break: break-all;
}

.btn-copy {
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.85rem;
    white-space: nowrap;
}

.btn-copy:hover {
    background: #0630A0;
}

/* ===============================
   UTILITÁRIOS
   =============================== */

.loading-placeholder {
    text-align: center;
    padding: 3rem;
}

.loading-placeholder .spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 1rem;
}

.loading-placeholder p {
    color: var(--text-light);
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.error-message {
    text-align: center;
    padding: 3rem;
}

.error-message h2 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.error-message p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* ===============================
   RESPONSIVE
   =============================== */

@media (max-width: 1024px) {
    .main-topics-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ajuda-hero {
        padding: 4rem 0 5rem;
    }

    .ajuda-hero-title {
        font-size: 2.25rem;
    }

    .ajuda-hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }

    .ajuda-search-box {
        padding: 0.625rem 0.875rem;
    }

    .ajuda-search-box input {
        font-size: 1rem;
        padding: 0.875rem 0;
    }

    .topic-card {
        padding: 2rem 1.5rem;
    }

    .topic-icon {
        width: 70px;
        height: 70px;
    }

    .topic-icon svg {
        width: 40px;
        height: 40px;
    }

    .topic-title {
        font-size: 1.25rem;
    }

    .topic-description {
        font-size: 0.95rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .faq-card-cta {
        padding: 2rem 1.5rem;
    }

    .faq-card-cta h3 {
        font-size: 1.25rem;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .admin-tabs {
        overflow-x: auto;
    }

    .admin-list-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .item-actions {
        width: 100%;
        justify-content: flex-end;
    }
}
