/* =====================================================
   MAMOPRO — Front-end CSS
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.mamopro-painel {
    font-family: 'Inter', sans-serif;
    max-width: 960px; margin: 0 auto; padding: 0 16px;
}

/* Header */
.mamopro-painel-header { margin-bottom: 24px; }
.mamopro-painel-header h2 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.mamopro-status-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mamopro-label { font-size: 13px; color: #6b7280; }

/* Tabs */
.mamopro-tabs { display: flex; gap: 4px; margin-bottom: 24px; border-bottom: 2px solid #e5e7eb; }
.mamopro-tab {
    background: none; border: none; padding: 10px 20px; cursor: pointer;
    font-size: 14px; font-weight: 500; color: #6b7280;
    border-bottom: 3px solid transparent; margin-bottom: -2px; transition: all .2s;
}
.mamopro-tab:hover   { color: #1a56db; }
.mamopro-tab.active  { color: #1a56db; border-bottom-color: #1a56db; }
.mamopro-tab-content { display: none; }
.mamopro-tab-content.active { display: block; }

/* Badges */
.mamopro-badge {
    display: inline-block; padding: 2px 10px; border-radius: 20px;
    font-size: 11px; font-weight: 600; text-transform: uppercase;
}
.mamopro-badge.aprovado, .mamopro-badge.success, .mamopro-badge.green { background: #d1fae5; color: #065f46; }
.mamopro-badge.pendente, .mamopro-badge.warning, .mamopro-badge.orange { background: #fef3c7; color: #92400e; }
.mamopro-badge.pausado, .mamopro-badge.red, .mamopro-badge.danger { background: #fee2e2; color: #991b1b; }
.mamopro-badge.finalizado, .mamopro-badge.blue { background: #dbeafe; color: #1e40af; }
.mamopro-badge.gray { background: #f3f4f6; color: #374151; }

/* Alerts */
.mamopro-alert {
    padding: 12px 16px; border-radius: 8px; margin: 12px 0; font-size: 14px;
}
.mamopro-alert.success { background: #ecfdf5; color: #065f46; border: 1px solid #6ee7b7; }
.mamopro-alert.warning { background: #fffbeb; color: #92400e; border: 1px solid #fcd34d; }
.mamopro-alert.danger  { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }

/* Forms */
.mamopro-form h3 { font-size: 16px; font-weight: 600; margin: 20px 0 12px; color: #111; }
.mamopro-grid-2  { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 12px; }
.mamopro-field   { margin-bottom: 16px; }
.mamopro-form label { display: block; font-size: 13px; font-weight: 500; color: #374151; margin-bottom: 4px; }
.mamopro-form input, .mamopro-form select, .mamopro-form textarea {
    width: 100%; padding: 8px 12px; border: 1px solid #d1d5db;
    border-radius: 6px; font-size: 14px; font-family: inherit;
    transition: border-color .2s;
}
.mamopro-form input:focus, .mamopro-form select:focus {
    outline: none; border-color: #1a56db; box-shadow: 0 0 0 3px rgba(26,86,219,.1);
}

/* Buttons */
.mamopro-btn-primary {
    background: #1a56db; color: #fff; border: none; padding: 10px 24px;
    border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer;
    transition: background .2s;
}
.mamopro-btn-primary:hover { background: #1e429f; }
.mamopro-btn-secondary {
    background: #f3f4f6; color: #374151; border: 1px solid #d1d5db;
    padding: 8px 16px; border-radius: 6px; font-size: 13px; cursor: pointer;
}
.mamopro-btn-outline {
    display: inline-block; border: 2px solid #1a56db; color: #1a56db;
    padding: 8px 20px; border-radius: 8px; font-weight: 600; text-decoration: none;
    transition: all .2s; margin-top: 10px;
}
.mamopro-btn-outline:hover { background: #1a56db; color: #fff; }

/* Docs Grid */
.mamopro-docs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.mamopro-doc-card {
    background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 10px;
    padding: 16px; text-align: center;
}
.mamopro-doc-card h4 { font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.mamopro-doc-link { color: #1a56db; font-size: 13px; }

/* Vagas Grid */
.mamopro-vagas-grid {
    display: grid;
    grid-template-columns: repeat(var(--cols, 3), 1fr);
    gap: 20px;
}
.mamopro-vaga-card {
    background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
    padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,.06);
    display: flex; flex-direction: column;
}
.mamopro-vaga-card img { height: 48px; object-fit: contain; margin-bottom: 12px; }
.mamopro-vaga-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.mamopro-vaga-clinica, .mamopro-vaga-cidade { font-size: 13px; color: #6b7280; margin: 2px 0; }

/* Progress Widget */
.mamopro-horas-widget { background: #f9fafb; border-radius: 12px; padding: 20px; }
.mamopro-horas-widget h4 { font-weight: 600; margin-bottom: 14px; }
.mamopro-progress-row { margin-bottom: 12px; }
.mamopro-progress-row > span { font-size: 13px; color: #374151; display: block; margin-bottom: 4px; }
.mamopro-progress-bar { height: 10px; background: #e5e7eb; border-radius: 10px; overflow: hidden; }
.mamopro-progress-bar > div { height: 100%; background: #1a56db; border-radius: 10px; transition: width .4s; }

/* Tables */
.mamopro-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mamopro-table th { background: #f3f4f6; padding: 10px 12px; text-align: left; font-weight: 600; }
.mamopro-table td { padding: 9px 12px; border-bottom: 1px solid #f3f4f6; }

/* LGPD */
.mamopro-lgpd-box { background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 12px 16px; margin: 16px 0; font-size: 13px; }
.mamopro-lgpd-ok  { color: #065f46; font-size: 13px; }

/* Responsive */
@media (max-width: 640px) {
    .mamopro-grid-2 { grid-template-columns: 1fr; }
    .mamopro-vagas-grid { --cols: 1; }
    .mamopro-tabs { overflow-x: auto; }
}
