* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    padding: 40px 20px;
}

.form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.form-header {
    background: #f5f5f5;
    color: white;
    padding: 48px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.header-text {
    flex: 1;
    text-align: left;
}

.logo-container {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 100px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-container img:hover {
    transform: scale(1.05);
}

.form-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    color:#00a6c6;
}

.form-subtitle {
    font-size: 16px;
    color: #1f2937;
    font-weight: 400;
}

.progress-bar {
    height: 6px;
    background-color: rgba(0, 166, 198, 0.2);
    border-radius: 0;
    overflow: hidden;
    width: 100%;
    margin-top: 24px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00a6c6 0%, #0086a3 100%);
    width: 0%;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(0, 166, 198, 0.5);
}

.quiz-pause-banner {
    background: #fef3c7;
    border-bottom: 1px solid #f59e0b;
    color: #78350f;
    font-size: 13px;
    padding: 9px 24px;
    text-align: center;
    line-height: 1.4;
}

.form-content {
    padding: 40px 32px;
}

/* Intro Section Styles */
.intro-section {
    margin-bottom: 48px;
}

.intro-title {
    font-size: 24px;
    font-weight: 600;
    color: #00a6c6;
    margin-bottom: 24px;
}

.intro-text {
    color: #1f2937;
    line-height: 1.8;
    font-size: 15px;
}

.intro-text p {
    margin-bottom: 16px;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

.info-box {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-left: 4px solid #f59e0b;
    padding: 16px 20px;
    margin: 24px 32px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-box h3 {
    font-size: 16px;
    font-weight: 700;
    color: #92400e;
    margin: 0;
}

.info-box p {
    font-size: 14px;
    color: #78350f;
    margin: 0;
    line-height: 1.6;
}

.important-box {
    background: #e6f7fb;
    border-left: 4px solid #00a6c6;
    padding: 24px;
    margin: 24px 0;
    border-radius: 8px;
}

.important-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
}

.important-box p {
    margin-bottom: 16px;
    color: #1f2937;
    line-height: 1.8;
}

.important-box p:last-child {
    margin-bottom: 0;
}

.important-box ul {
    margin: 16px 0;
    padding-left: 24px;
    color: #1f2937;
}

.important-box li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.privacy-consent-header {
    margin: 12px 0 16px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #ecfeff;
    border: 1px solid #a5f3fc;
}

.privacy-consent-header h3 {
    margin: 0 0 4px;
    color: #0f172a;
    font-size: 16px;
}

.privacy-consent-header p {
    margin: 0;
    color: #374151;
    font-size: 14px;
}

.consent-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    padding: 12px;
    background: #f3f4f6;
    border-radius: 8px;
    border: 1px solid #d1d5db;
}

.consent-checkbox:hover {
    background: #e5e7eb;
}

.consent-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
}

.consent-checkbox label {
    font-size: 15px;
    color: #374151;
    line-height: 1.5;
    cursor: pointer;
    margin: 0;
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
}

.consent-checkbox label .required {
    color: #ef4444;
}

.consent-checkbox label a {
    color: #0369a1;
    font-weight: 600;
    text-decoration: underline;
}

.form-content > * + * {
    margin-top: 0;
}

.form-group {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
}

.form-group:last-of-type {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 12px;
    color: #1f2937;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.2px;
}

.required {
    color: #ef4444;
}

.form-input {
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    color: #1f2937;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #f9fafb;
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-input:hover {
    border-color: #9ca3af;
}

.form-input:focus {
    outline: none;
    border-color: #00a6c6;
    background-color: white;
    box-shadow: 0 0 0 4px rgba(0, 166, 198, 0.1);
    transform: translateY(-1px);
}

textarea.form-input {
    resize: vertical;
    font-family: 'Roboto', sans-serif;
    line-height: 1.5;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

/* Admin page styles */
.admin-body {
    background: linear-gradient(135deg, rgba(0, 166, 198, 0.08) 0%, rgba(242, 108, 40, 0.08) 100%);
    min-height: 100vh;
    padding: 60px 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: #4b5563;
}

.admin-wrapper {
    max-width: 860px;
    width: 100%;
    margin: 0 auto;
}

.admin-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding: 28px 32px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 166, 198, 0.12);
    border: 2px solid rgba(0, 166, 198, 0.1);
    position: relative;
    overflow: hidden;
}

.admin-header::before {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    top: -80px;
    right: -60px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(0, 166, 198, 0.1), rgba(242, 108, 40, 0.1));
    pointer-events: none;
}

.admin-logo img {
    width: 72px;
    height: auto;
    position: relative;
    z-index: 1;
}

.admin-title {
    position: relative;
    z-index: 1;
}

.admin-title h1 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.4px;
    background: linear-gradient(90deg, #00a6c6, #f26c28);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.admin-title p {
    color: #6b7280;
    font-size: 14px;
}

.admin-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 25px 60px rgba(0, 166, 198, 0.12);
    border: 2px solid rgba(0, 166, 198, 0.08);
    position: relative;
    overflow: hidden;
}

.admin-card::before,
.admin-card::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(0, 166, 198, 0.06), rgba(242, 108, 40, 0.06));
    pointer-events: none;
    z-index: 0;
}

.admin-card::before {
    width: 260px;
    height: 260px;
    top: -100px;
    left: -80px;
}

.admin-card::after {
    width: 300px;
    height: 300px;
    bottom: -150px;
    right: -100px;
}

.admin-card > * {
    position: relative;
    z-index: 1;
}

.admin-status {
    font-size: 15px;
    margin-bottom: 20px;
    color: #6b7280;
    font-style: italic;
}

.admin-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.admin-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    color: #ffffff;
    background: linear-gradient(135deg, #00a6c6, #0090b0);
    box-shadow: 0 4px 14px rgba(0, 166, 198, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-button.secondary {
    background: linear-gradient(135deg, #374151, #1f2937);
    box-shadow: 0 4px 14px rgba(31, 41, 55, 0.2);
}

.admin-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 166, 198, 0.35);
}

.admin-button.secondary:hover {
    box-shadow: 0 8px 22px rgba(31, 41, 55, 0.3);
}

.admin-info {
    padding: 16px 20px;
    background: rgba(0, 166, 198, 0.05);
    border-radius: 14px;
    border: 1px solid rgba(0, 166, 198, 0.15);
    margin-bottom: 20px;
}

.admin-denied {
    padding: 20px 24px;
    border-radius: 14px;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #9f1239;
    margin-bottom: 20px;
}

.admin-panel {
    padding: 28px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0, 166, 198, 0.04), rgba(242, 108, 40, 0.04));
    border: 1.5px solid rgba(0, 166, 198, 0.12);
    color: #0f172a;
}

.admin-panel h2 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.3px;
    background: linear-gradient(90deg, #00a6c6, #f26c28);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
}

.admin-section {
    margin-bottom: 32px;
}

.admin-section h3 {
    font-size: 16px;
    color: #1f2937;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.2px;
}

.admin-section .section-description {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 16px;
}

.admin-add-form {
    margin-bottom: 24px;
}

.admin-add-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.admin-add-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.admin-add-row input[type="email"] {
    flex: 1;
    padding: 11px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    color: #1f2937;
    background: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.admin-add-row input[type="email"]:focus {
    outline: none;
    border-color: #00a6c6;
    box-shadow: 0 0 0 3px rgba(0, 166, 198, 0.1);
}

.admin-form-msg {
    font-size: 13px;
    margin-top: 8px;
    min-height: 20px;
}

.admin-form-msg.success {
    color: #15803d;
}

.admin-form-msg.error {
    color: #dc2626;
}

.admin-list-section {
    border-top: 1px solid rgba(0, 166, 198, 0.12);
    padding-top: 16px;
}

.admin-list-section h3 {
    font-size: 15px;
    color: #374151;
    margin-bottom: 12px;
    font-weight: 600;
}

.admin-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-list-item {
    display: grid;
    grid-template-columns: 1fr 220px;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #ffffff;
    border: 1.5px solid #f3f4f6;
    border-radius: 12px;
    margin-bottom: 8px;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.admin-list-item:hover {
    box-shadow: 0 4px 12px rgba(0, 166, 198, 0.08);
    border-color: rgba(0, 166, 198, 0.2);
}

.admin-list-email {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-list-empty {
    padding: 16px;
    color: #9ca3af;
    font-size: 14px;
    text-align: center;
    list-style: none;
    border: 1.5px dashed #e5e7eb;
    border-radius: 12px;
}

.admin-list-actions {
    display: flex;
    gap: 6px;
    align-items: center;
    width: 100%;
}

.admin-history-btn {
    padding: 5px 12px;
    border: 1.5px solid rgba(0, 166, 198, 0.3);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    color: #00a6c6;
    background: rgba(0, 166, 198, 0.05);
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
    flex-shrink: 0;
}

.admin-history-btn:hover {
    background: rgba(0, 166, 198, 0.12);
    transform: translateY(-1px);
}

.admin-reset-btn {
    padding: 5px 12px;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    color: #ffffff;
    background: #f59e0b;
    transition: background 0.2s, transform 0.1s;
    flex-shrink: 0;
}

.admin-reset-btn:hover:not(:disabled) {
    background: #d97706;
    transform: translateY(-1px);
}

.admin-reset-btn.confirming {
    background: #ef4444;
}

.admin-reset-btn.confirming:hover:not(:disabled) {
    background: #dc2626;
}

.admin-reset-btn:disabled {
    background: #e5e7eb;
    cursor: not-allowed;
    color: #9ca3af;
}

.admin-new-test-btn {
    padding: 5px 12px;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    color: #ffffff;
    background: #10b981;
    transition: background 0.2s, transform 0.1s;
    flex-shrink: 0;
}

.admin-new-test-btn:hover:not(:disabled) {
    background: #059669;
    transform: translateY(-1px);
}

.admin-new-test-btn:disabled {
    background: #e5e7eb;
    cursor: not-allowed;
    color: #9ca3af;
}

.admin-cancel-btn {
    padding: 5px 10px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    color: #9ca3af;
    background: #f9fafb;
    transition: background 0.2s;
    flex-shrink: 0;
}

.admin-cancel-btn:hover {
    background: #f3f4f6;
    color: #6b7280;
}

.admin-remove-btn {
    padding: 5px 12px;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    color: #ffffff;
    background: #ef4444;
    transition: background 0.2s, transform 0.1s;
    flex-shrink: 0;
    margin-left: 6px;
}

.admin-remove-btn:hover:not(:disabled) {
    background: #dc2626;
    transform: translateY(-1px);
}

.admin-remove-btn:disabled {
    background: #e5e7eb;
    cursor: not-allowed;
    color: #9ca3af;
}

.admin-action-select {
    appearance: none;
    -webkit-appearance: none;
    padding: 7px 28px 7px 12px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    color: #374151;
    background-color: #f9fafb;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    flex: 1;
    min-width: 0;
}

.admin-action-select:focus {
    outline: none;
    border-color: #00a6c6;
    box-shadow: 0 0 0 3px rgba(0, 166, 198, 0.1);
    background-color: #ffffff;
}

.admin-action-select:hover {
    border-color: #00a6c6;
    background-color: #ffffff;
}

.admin-exec-btn {
    padding: 7px 16px;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    color: #ffffff;
    background: linear-gradient(135deg, #00a6c6, #0090b0);
    box-shadow: 0 2px 8px rgba(0, 166, 198, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s;
    flex-shrink: 0;
    white-space: nowrap;
}

.admin-exec-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 166, 198, 0.4);
}

.admin-exec-btn:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 166, 198, 0.25);
}

.admin-exec-btn:disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    box-shadow: none;
}

@media (max-width: 640px) {
    .admin-body {
        padding: 24px 16px;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px;
    }

    .admin-title h1 {
        font-size: 22px;
    }

    .admin-card {
        padding: 28px 20px;
    }

    .admin-add-row {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-add-row input[type="email"] {
        font-size: 16px;
    }
}

/* ===================================
   Admin Tabs
   =================================== */

.admin-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0;
}

.admin-tab {
    padding: 10px 20px;
    border: none;
    background: none;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
}

.admin-tab:hover {
    color: #00a6c6;
}

.admin-tab.active {
    color: #00a6c6;
    border-bottom-color: #00a6c6;
}

.admin-tab-content {
    display: none;
}

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

/* ===================================
   Admin Reports
   =================================== */

.report-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
    margin-bottom: 24px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.report-dates {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.report-dates label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.report-dates input[type="date"] {
    padding: 8px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: #1f2937;
    background: white;
    transition: border-color 0.2s;
}

.report-dates input[type="date"]:focus {
    outline: none;
    border-color: #00a6c6;
}

.report-options {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.report-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
    white-space: nowrap;
}

.report-checkbox input[type="checkbox"] {
    accent-color: #00a6c6;
    width: 16px;
    height: 16px;
}

.report-loading {
    text-align: center;
    padding: 40px;
    color: #6b7280;
    font-size: 15px;
}

.report-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.report-card {
    background: white;
    border-radius: 12px;
    padding: 20px 12px;
    text-align: center;
    border: 2px solid #e5e7eb;
    transition: border-color 0.2s;
}

.report-card-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 4px;
}

.report-card-label {
    display: block;
    font-size: 11px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.report-card-total { border-color: #a78bfa; }
.report-card-total .report-card-number { color: #7c3aed; }
.report-card-combo { border-color: #f9a8d4; }
.report-card-combo .report-card-number { color: #db2777; }
.report-card-guia { border-color: #fcd34d; }
.report-card-guia .report-card-number { color: #d97706; }
.report-card-espectro { border-color: #93c5fd; }
.report-card-espectro .report-card-number { color: #2563eb; }
.report-card-chatbot { border-color: #86efac; }
.report-card-chatbot .report-card-number { color: #16a34a; }
.report-card-profissional { border-color: #c4b5fd; }
.report-card-profissional .report-card-number { color: #7c3aed; }

.report-cards-commission {
    grid-template-columns: repeat(4, 1fr);
}

.report-card-sub {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.comm-controls {
    margin-top: 24px;
}

.comm-subtitle {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 20px 0 10px;
}

.comm-counts-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    margin-bottom: 16px;
    font-size: 14px;
}

.comm-counts-table th,
.comm-counts-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid #f3f4f6;
}

.comm-counts-table th {
    background: #f9fafb;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    font-weight: 600;
}

.comm-counts-table tbody tr:last-child td {
    border-bottom: none;
}

.comm-counts-table tbody tr:hover {
    background: #f9fafb;
}

.report-charts-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.report-chart-box {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e5e7eb;
}

.report-chart-box h3 {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
}

.report-chart-full {
    margin-bottom: 16px;
}

.report-section-title {
    font-size: 13px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 8px 4px;
}

.report-cards-stripe {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 20px;
}

.report-card-stripe-count { border-color: #c4b5fd; }
.report-card-stripe-count .report-card-number { color: #6d28d9; }
.report-card-stripe-revenue { border-color: #c4b5fd; }
.report-card-stripe-revenue .report-card-number { color: #6d28d9; font-size: 1.4rem; }

.report-cards-revenue {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

.report-cards-revenue .report-card {
    padding: 12px 8px;
}

.report-cards-revenue .report-card-number {
    font-size: 1.1rem;
}

.report-cards-revenue .report-card-label {
    font-size: 10px;
}

.report-period-info {
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
    padding: 8px;
}

@media (max-width: 768px) {
    .report-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .report-cards-revenue {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .report-charts-row {
        grid-template-columns: 1fr;
    }

    .report-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .report-dates {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .report-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.btn-submit {
    padding: 12px 32px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #00a6c6 0%, #f26c28 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f26c28 0%, #00a6c6 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

/* Texto precisa ficar acima do ::before (que é positioned, pinta sobre flow content) */
.btn-submit span {
    position: relative;
    z-index: 1;
}

/* Hover só em dispositivos que realmente suportam hover (mouse).
   Em touch (iOS/Android) o :hover fica "preso" após o tap — o ::before cobre o texto
   (z-index bug) e o transform translateY fica grudado também. */
@media (hover: hover) {
    .btn-submit:hover::before {
        opacity: 1;
    }
    .btn-submit:hover {
        box-shadow: 0 8px 20px rgba(0, 166, 198, 0.4);
        transform: translateY(-2px);
    }
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    background: #e5e7eb;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none !important;
}

.btn-submit:disabled:hover {
    box-shadow: none;
    transform: none !important;
}

.status-message {
    margin-top: 24px;
    padding: 16px 12px;
    border-radius: 4px;
    font-size: 14px;
    display: none;
    animation: slideIn 0.3s ease;
}

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

.status-message.success {
    background: linear-gradient(135deg, #dcfce7, #d1fae5);
    color: #15803d;
    border-left: 4px solid #22c55e;
    display: block;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.status-message.error {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
    border-left: 4px solid #ef4444;
    display: block;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

/* Custom Radio and Checkbox Styles */
.question-group {
    margin-bottom: 40px;
    padding: 24px;
    background: #f9fafb;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s;
}

.question-group:hover {
    border-color: #00a6c6;
    box-shadow: 0 4px 12px rgba(0, 166, 198, 0.08);
}

.question-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
    display: block;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #00a6c6;
    margin: 48px 0 24px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(0, 166, 198, 0.08), rgba(242, 108, 40, 0.08));
    border-left: 4px solid #00a6c6;
    border-radius: 8px;
}

/* Hide default radio and checkbox in question groups */
.question-group input[type="radio"],
.question-group input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Custom checkbox style */
.question-group input[type="checkbox"] + label {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    margin: 8px 0;
    cursor: pointer;
    border-radius: 8px;
    background: white;
    border: 2px solid #e5e7eb;
    transition: all 0.2s;
    position: relative;
    font-size: 15px;
    color: #4b5563;
}

.question-group.align-left input[type="checkbox"] + label {
    text-align: left;
    justify-content: flex-start;
    align-items: flex-start;
}

.question-group.align-left input[type="checkbox"] + label::before {
    margin-top: 2px;
}

.question-group input[type="checkbox"]:focus + label {
    outline: 3px solid rgba(0, 166, 198, 0.5);
    outline-offset: 2px;
}

.question-group input[type="checkbox"] + label:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    transform: translateX(4px);
}

.question-group input[type="checkbox"]:checked + label {
    background: linear-gradient(135deg, rgba(0, 166, 198, 0.1), rgba(242, 108, 40, 0.1));
    border-color: #00a6c6;
    color: #00a6c6;
    font-weight: 500;
}

.question-group input[type="checkbox"] + label::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    margin-right: 12px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.question-group input[type="checkbox"]:checked + label::before {
    border-color: #00a6c6;
    background: #00a6c6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 16px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Custom radio button style */
.question-group input[type="radio"] + label {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    margin: 8px 0;
    cursor: pointer;
    border-radius: 8px;
    background: white;
    border: 2px solid #e5e7eb;
    transition: all 0.2s;
    position: relative;
    font-size: 15px;
    color: #4b5563;
}

input[type="radio"]:focus + label {
    outline: 3px solid rgba(102, 126, 234, 0.5);
    outline-offset: 2px;
}

input[type="radio"] + label:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    transform: translateX(4px);
}

input[type="radio"]:checked + label {
    background: linear-gradient(135deg, rgba(0, 166, 198, 0.1), rgba(242, 108, 40, 0.1));
    border-color: #00a6c6;
    color: #00a6c6;
    font-weight: 500;
}

input[type="radio"] + label::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    margin-right: 12px;
    transition: all 0.2s;
    flex-shrink: 0;
}

input[type="radio"]:checked + label::before {
    border-color: #00a6c6;
    background: #00a6c6;
    box-shadow: inset 0 0 0 3px white;
}

/* Toggle switch style for yes/no questions */
.toggle-container {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.toggle-container input[type="checkbox"] + label,
input[type="radio"].toggle + label {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    cursor: pointer;
    border-radius: 50px;
    background: #e5e7eb;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    font-weight: 500;
    color: #6b7280;
    user-select: none;
}

.toggle-container input[type="checkbox"] + label:hover,
input[type="radio"].toggle + label:hover {
    background: #d1d5db;
    transform: translateY(-2px);
}

.toggle-container input[type="checkbox"]:focus + label,
input[type="radio"].toggle:focus + label {
    outline: 3px solid rgba(0, 166, 198, 0.5);
    outline-offset: 2px;
}

input[type="checkbox"]:checked + label,
input[type="radio"].toggle:checked + label {
    background: linear-gradient(#00a6c6);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 166, 198, 0.3);
}

/* Select dropdown style */
select {
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    color: #1f2937;
    background-color: #f9fafb;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    max-width: 400px;
}

select:hover {
    border-color: #9ca3af;
}

select:focus {
    outline: none;
    border-color: #00a6c6;
    background-color: white;
    box-shadow: 0 0 0 4px rgba(0, 166, 198, 0.1);
}

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

.question-group {
    animation: fadeIn 0.5s ease-out;
}

/* Pillar Indicator */
.pillar-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f9fafb;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #e5e7eb;
}

.pillar-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.pillar-name {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

/* Pagination Controls */
.pagination-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
    gap: 16px;
}

.btn-previous,
.btn-next {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid #00a6c6;
    background: white;
    color: #00a6c6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-previous svg,
.btn-next svg {
    transition: transform 0.2s ease;
}

.btn-previous:hover:not(:disabled) {
    background: #00a6c6;
    color: white;
    transform: translateX(-2px);
}

.btn-next:hover:not(:disabled) {
    background: #00a6c6;
    color: white;
    transform: translateX(2px);
}

.btn-previous:hover:not(:disabled) svg {
    transform: translateX(-2px);
}

.btn-next:hover:not(:disabled) svg {
    transform: translateX(2px);
}

.btn-previous:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    border-color: #d1d5db;
    color: #9ca3af;
}

.btn-previous:active:not(:disabled),
.btn-next:active:not(:disabled) {
    transform: scale(0.98);
}

.question-counter {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    padding: 8px 16px;
    background: #f3f4f6;
    border-radius: 20px;
}

.question-counter span {
    color: #00a6c6;
}

/* Question animation */
.question-animated {
    animation: slideInQuestion 0.4s ease-out;
}

@keyframes slideInQuestion {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Simplified header for question pages */
.form-header.simplified .header-text {
    display: none;
}

.form-header.simplified .header-content {
    justify-content: center;
    padding: 20px 0;
}

.form-header.simplified .logo-container img {
    height: 60px;
}

.form-header.simplified {
    padding: 24px 40px 16px;
}

/* Section subtitle styling */
.section-subtitle {
    margin-bottom: 24px;
    color: #6b7280;
    line-height: 1.6;
    font-size: 15px;
}

/* Better mobile responsiveness */
@media (max-width: 768px) {
    body {
        padding: 20px 12px;
    }

    .form-wrapper {
        border-radius: 12px;
    }

    .form-header {
        padding: 32px 20px;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .header-text {
        text-align: center;
    }

    .form-header::before {
        display: none;
    }

    .form-title {
        font-size: 24px;
    }

    .form-subtitle {
        font-size: 14px;
    }

    .logo-container img {
        height: 80px;
    }

    .form-content {
        padding: 24px 16px;
    }

    .intro-title {
        font-size: 20px;
    }

    .important-box {
        padding: 16px;
    }

    .consent-checkbox {
        padding: 16px;
        flex-direction: row;
        align-items: center;
    }

    .consent-checkbox input[type="checkbox"] {
        width: 20px;
        height: 20px;
        margin-right: 12px;
    }

    .consent-checkbox label {
        font-size: 14px;
    }

    .question-group {
        padding: 20px 16px;
    }

    /* Align checkboxes to the left on mobile for q10, q12, q14 */
    .question-group input[type="checkbox"] + label {
        text-align: left;
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    .question-group input[type="checkbox"] + label::before {
        flex-shrink: 0;
        margin-right: 12px;
    }

    .section-title {
        font-size: 18px;
        margin: 32px 0 20px;
    }

    input[type="radio"] + label {
        padding: 10px 12px;
        font-size: 14px;
    }

    .toggle-container {
        gap: 8px;
    }

    .toggle-container input[type="checkbox"] + label,
    input[type="radio"].toggle + label {
        padding: 12px 20px;
        font-size: 14px;
        flex: 1;
        justify-content: center;
    }

    .question-group.align-left input[type="checkbox"] + label {
        text-align: left;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .form-actions {
        flex-direction: column;
        gap: 10px;
    }

    .btn-submit {
        width: 100%;
        padding: 14px 24px;
    }

    .form-input,
    select {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .pagination-controls {
        flex-wrap: wrap;
        gap: 12px;
    }

    .btn-previous,
    .btn-next {
        padding: 10px 20px;
        font-size: 14px;
    }

    .question-counter {
        order: -1;
        width: 100%;
        text-align: center;
    }

    .form-header.simplified {
        padding: 16px 20px 12px;
    }

    .form-header.simplified .logo-container img {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .form-title {
        font-size: 20px;
    }

    .form-subtitle {
        font-size: 13px;
    }

    .logo-container img {
        height: 60px;
    }

    .intro-title {
        font-size: 18px;
    }

    .important-box {
        padding: 16px;
        margin: 16px 0;
    }

    .important-title {
        font-size: 16px;
    }

    .intro-text {
        font-size: 14px;
    }

    .question-title {
        font-size: 15px;
    }

    input[type="radio"] + label {
        font-size: 13px;
        padding: 8px 10px;
    }

    input[type="radio"] + label::before {
        width: 18px;
        height: 18px;
        margin-right: 10px;
    }

    .btn-previous,
    .btn-next {
        flex: 1;
        justify-content: center;
        min-width: 120px;
    }

    .pagination-controls {
        gap: 8px;
    }

    .form-header.simplified .logo-container img {
        height: 40px;
    }

    .form-header.simplified {
        padding: 12px 16px 8px;
    }
}

/* Print styles */
@media print {
    body {
        background: white;
    }

    .form-wrapper {
        box-shadow: none;
    }

    .form-header {
        background: #00a6c6;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .form-actions,
    .status-message {
        display: none;
    }
}

/* Landing page styles */
body.landing-body {
    background: #ffffff;
    padding: 0;
    display: block;
    color: #4b5563;
}

.landing {
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.landing-card {
    background: white;
    border-radius: 28px;
    padding: 56px 32px 48px;
    box-shadow: 0 25px 60px rgba(0, 166, 198, 0.15);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(0, 166, 198, 0.1);
}

.landing-card::before,
.landing-card::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(0, 166, 198, 0.12), rgba(242, 108, 40, 0.12));
    z-index: 0;
}

.landing-card::before {
    width: 220px;
    height: 220px;
    top: -80px;
    left: -60px;
}

.landing-card::after {
    width: 280px;
    height: 280px;
    bottom: -140px;
    right: -120px;
}

.landing-card > * {
    position: relative;
    z-index: 1;
}

.landing-icon {
    width: 180px;
    height: 180px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.landing-title {
    font-size: 34px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
    letter-spacing: -0.6px;
}

.landing-title span {
    background: linear-gradient(90deg, #00a6c6, #f26c28);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.landing-subtitle {
    font-size: 16px;
    color: #6b7280;
    max-width: 520px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

.landing-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    color: #ffffff;
    background: linear-gradient(135deg, #00a6c6, #f26c28);
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 166, 198, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 36px rgba(242, 108, 40, 0.35);
    background: linear-gradient(135deg, #f26c28, #00a6c6);
}

.landing-button-icon {
    font-size: 16px;
    line-height: 1;
}

.landing-secondary-link {
    display: inline-block;
    margin-top: 14px;
    padding: 8px 20px;
    border-radius: 999px;
    border: 1.5px solid #cbd5e1;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.landing-secondary-link:hover {
    border-color: #0e7490;
    color: #0e7490;
}

.landing-secondary-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.landing-secondary-actions .subtle-history-button {
    margin-top: 0;
}

.subtle-history-button {
    display: inline-block;
    margin-top: 14px;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    color: #6b7280;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.82);
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.subtle-history-button:hover {
    border-color: #94a3b8;
    color: #334155;
    background: #ffffff;
}

.subtle-history-button-auth {
    margin-top: 12px;
    margin-left: 10px;
    vertical-align: middle;
}

@media (max-width: 560px) {
    .subtle-history-button-auth {
        display: block;
        width: fit-content;
        margin-left: 0;
    }
}

.landing-meta {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #6b7280;
}

.landing-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #00a6c6;
    box-shadow: 0 0 0 4px rgba(0, 166, 198, 0.15);
}

.landing-footer {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 32px;
    flex-wrap: wrap;
    color: #6b7280;
    font-size: 13px;
}

.footer-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    border: 1px solid rgba(0, 166, 198, 0.15);
}

.footer-icon {
    font-size: 14px;
}

@media (max-width: 600px) {
    body.landing-body {
        padding: 60px 16px;
    }

    .landing-card {
        padding: 48px 24px 40px;
    }

    .landing-title {
        font-size: 28px;
    }
}

/* ===================================
   Quiz Authentication Page Styles
   =================================== */

.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, #e0f7fa 0%, #f0f9ff 45%, #ffffff 100%);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 20px 40px;
    z-index: 9999;
    overflow-y: auto;
    box-sizing: border-box;
}

.auth-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px;
    box-shadow:
        0 20px 60px rgba(0, 166, 198, 0.12),
        0 8px 24px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 166, 198, 0.08);
    max-width: 480px;
    width: 100%;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo {
    width: 100px;
    height: auto;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 12px rgba(0, 166, 198, 0.15));
}

.auth-header h1 {
    font-size: 28px;
    color: #00a6c6;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
}

.auth-status {
    text-align: center;
    font-size: 16px;
    color: #374151;
    margin-bottom: 28px;
    padding: 16px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f7fa 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 166, 198, 0.15);
    line-height: 1.5;
}

.auth-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.auth-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 28px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background: #ffffff;
    color: #1f2937;
    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.1),
        0 2px 6px rgba(0, 0, 0, 0.06),
        inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.auth-button svg {
    flex-shrink: 0;
}

.auth-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.03), transparent);
    transition: left 0.5s;
}

.auth-button:hover::before {
    left: 100%;
}

.auth-button:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.08),
        inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.auth-button:active {
    transform: translateY(0);
}

.auth-button.secondary {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
    box-shadow:
        0 4px 14px rgba(31, 41, 55, 0.25),
        0 2px 6px rgba(0, 0, 0, 0.1);
}

.auth-button.secondary::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.auth-button.secondary:hover {
    box-shadow:
        0 8px 24px rgba(31, 41, 55, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Logout Button in Quiz Page */
.logout-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid #dc2626;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    color: #dc2626;
}

.logout-button svg {
    flex-shrink: 0;
}

.logout-button:hover {
    background: #dc2626;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

.logout-button:active {
    transform: translateY(0);
}

.auth-user-info {
    padding: 20px;
    background: linear-gradient(135deg, #ecfeff 0%, #f0f9ff 100%);
    border-radius: 16px;
    border: 2px solid rgba(0, 166, 198, 0.2);
    margin-bottom: 24px;
    text-align: center;
}

.auth-user-info p {
    font-size: 15px;
    color: #374151;
    line-height: 1.6;
}

.auth-user-info strong {
    color: #00a6c6;
    font-weight: 600;
}

.auth-user-info span {
    color: #1f2937;
    font-weight: 500;
}

.auth-denied {
    padding: 28px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
    border: 2px solid #fecdd3;
    text-align: center;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

.auth-denied h2 {
    font-size: 22px;
    color: #9f1239;
    margin-bottom: 12px;
    font-weight: 700;
}

.auth-denied p {
    font-size: 15px;
    color: #be123c;
    line-height: 1.6;
    margin-bottom: 8px;
}

.auth-denied p:last-child {
    margin-bottom: 0;
    font-weight: 500;
}

/* Responsive styles */
@media (max-width: 600px) {
    .auth-card {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .auth-logo {
        width: 80px;
        margin-bottom: 20px;
    }

    .auth-header h1 {
        font-size: 24px;
    }

    .auth-status {
        font-size: 15px;
        padding: 14px;
    }

    .auth-button {
        padding: 14px 24px;
        font-size: 15px;
    }

    .auth-denied {
        padding: 24px 20px;
    }

    .auth-denied h2 {
        font-size: 20px;
    }

    .auth-denied p {
        font-size: 14px;
    }
}

/* =============================================
   LANDING PAGE — Conversion-optimized sections
   ============================================= */

/* Hero */
.landing-hero {
    text-align: center;
    padding: 0 0 48px;
}

.landing-hero .landing-icon {
    width: 160px;
    height: 160px;
    margin-bottom: 20px;
}

.landing-hero-subtitle {
    font-size: 17px;
    color: #4b5563;
    max-width: 540px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.landing-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 16px;
    color: #ffffff;
    background: linear-gradient(135deg, #00a6c6, #0086a3);
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 166, 198, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(0, 166, 198, 0.4);
}

.landing-microcopy {
    margin-top: 14px;
    font-size: 13px;
    color: #6b7280;
    letter-spacing: 0.2px;
}

.landing-trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #6b7280;
}

.landing-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Proof bar */
.landing-section {
    padding: 48px 24px;
    max-width: 880px;
    margin: 0 auto;
}

.landing-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin-bottom: 12px;
}

.landing-section-subtitle {
    font-size: 15px;
    color: #6b7280;
    text-align: center;
    margin-bottom: 36px;
    line-height: 1.6;
}

.landing-proof-bar {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f7fa 100%);
    border-radius: 20px;
    padding: 40px 28px;
    margin: 0 auto 8px;
    max-width: 880px;
    text-align: center;
}

.landing-proof-stat {
    font-size: 15px;
    color: #0e7490;
    font-weight: 600;
    margin-bottom: 28px;
}

.landing-testimonials {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: left;
}

.landing-testimonial {
    background: white;
    border-radius: 14px;
    padding: 20px 24px;
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 166, 198, 0.08);
}

.landing-testimonial-author {
    margin-top: 10px;
    font-size: 13px;
    color: #00a6c6;
    font-weight: 600;
}

.landing-credibility {
    margin-top: 24px;
    font-size: 14px;
    color: #374151;
    font-style: italic;
}

/* Benefits */
.landing-benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.landing-benefit-card {
    background: white;
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 166, 198, 0.08);
}

.landing-benefit-icon {
    font-size: 32px;
    margin-bottom: 14px;
}

.landing-benefit-title {
    font-size: 17px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.landing-benefit-text {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

/* Pricing */
.landing-pricing-single {
    max-width: 480px;
    margin: 0 auto;
}

.landing-price-card--centered {
    margin-bottom: 20px;
}

.landing-other-options {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.landing-option {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
}

.landing-option-summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    list-style: none;
    background: #fafafa;
    transition: background 0.15s;
    text-align: left;
}

.landing-option-summary:hover {
    background: #f3f4f6;
}

.landing-option-summary::-webkit-details-marker {
    display: none;
}

.landing-option-label {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
}

.landing-option-price {
    font-size: 16px;
    font-weight: 800;
    color: #1f2937;
    white-space: nowrap;
}

.landing-option-oldprice {
    font-weight: 400;
    font-size: 13px;
    color: #9ca3af;
    text-decoration: line-through;
    margin-right: 4px;
}

.landing-option-desc {
    width: 100%;
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
    font-weight: 400;
    text-align: left;
}

.landing-option-price small {
    font-size: 12px;
    font-weight: 400;
    color: #6b7280;
}

.landing-option-body {
    padding: 16px 20px 20px;
    border-top: 1px solid #e5e7eb;
}

.landing-option-body p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 16px;
    text-align: left;
}

.landing-pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 640px;
    margin: 0 auto;
}

.landing-price-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    position: relative;
    display: flex;
    flex-direction: column;
}

.landing-price-card--featured {
    border-color: #059669;
    box-shadow: 0 8px 30px rgba(5, 150, 105, 0.2);
}

.landing-price-card-badge {
    background: #059669;
    color: white;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    padding: 8px 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.landing-price-card-badge--guia {
    background: #f97316;
}

.landing-price-card-badge--combo {
    background: #059669;
}

.landing-price-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.landing-price-card-name {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.landing-price-card-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 16px;
}

.landing-price-card-price {
    font-size: 32px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 4px;
}

.landing-price-card-price small {
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
}

.landing-price-card-features {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    flex: 1;
}

.landing-price-card-features li {
    font-size: 14px;
    color: #374151;
    padding: 6px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.landing-price-card-features li::before {
    content: "✓";
    color: #00a6c6;
    font-weight: 700;
    flex-shrink: 0;
}

.landing-price-card-cta {
    display: block;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
    margin-top: auto;
}

.landing-price-card-cta:hover {
    opacity: 0.9;
}

.landing-price-card-cta--espectro {
    background: #00a6c6;
    color: white;
}

.landing-price-card-cta--guia {
    background: #f97316;
    color: white;
}

.landing-price-card-cta--combo {
    background: #059669;
    color: white;
}

/* How it works — colorful step cards */
.landing-steps-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 640px;
    margin: 0 auto;
}

.landing-step-card {
    border-radius: 16px;
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
}

.landing-step-card--1 {
    background: linear-gradient(135deg, #e0f7fa 0%, #f0f9ff 100%);
    border: 1px solid rgba(0, 166, 198, 0.15);
}

.landing-step-card--2 {
    background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
    border: 1px solid rgba(245, 158, 11, 0.15);
}

.landing-step-card--3 {
    background: linear-gradient(135deg, #d1fae5 0%, #ecfdf5 100%);
    border: 1px solid rgba(5, 150, 105, 0.15);
}

.landing-step-card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}

.landing-step-card--1 .landing-step-card-number {
    background: #00a6c6;
}

.landing-step-card--2 .landing-step-card-number {
    background: #f59e0b;
}

.landing-step-card--3 .landing-step-card-number {
    background: #059669;
}

.landing-step-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
}

.landing-step-card-text {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
}

@media (min-width: 640px) {
    .landing-steps-cards {
        grid-template-columns: repeat(3, 1fr);
        max-width: none;
    }
}

/* FAQ */
.landing-faq-list {
    max-width: 640px;
    margin: 0 auto;
    text-align: left;
}

.landing-faq-list details {
    border-bottom: 1px solid #e5e7eb;
}

.landing-faq-list details:first-child {
    border-top: 1px solid #e5e7eb;
}

.landing-faq-list summary {
    padding: 18px 0;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.landing-faq-list summary::after {
    content: "+";
    font-size: 20px;
    color: #00a6c6;
    font-weight: 300;
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-left: 16px;
}

.landing-faq-list details[open] summary::after {
    content: "−";
}

.landing-faq-list details p {
    padding: 0 0 18px;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
    text-align: left;
}

/* Final CTA */
.landing-final-cta {
    text-align: center;
    padding: 56px 24px;
    background: linear-gradient(135deg, rgba(0, 166, 198, 0.06) 0%, rgba(242, 108, 40, 0.06) 100%);
    border-radius: 24px;
    margin: 8px auto;
    max-width: 880px;
}

.landing-final-cta h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 24px;
}

/* Footer full */
.landing-footer-full {
    text-align: center;
    padding: 32px 24px;
    max-width: 880px;
    margin: 0 auto;
    font-size: 13px;
    color: #9ca3af;
}

.landing-footer-full a {
    color: #00a6c6;
    text-decoration: none;
}

.landing-footer-full a:hover {
    text-decoration: underline;
}

.landing-footer-logo {
    height: 40px;
    margin-bottom: 12px;
    opacity: 0.6;
}

/* Landing responsive */
@media (min-width: 640px) {
    .landing-benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .landing-pricing-grid--3 {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 560px) {
    .landing-title {
        font-size: 26px;
    }

    .landing-hero-subtitle {
        font-size: 15px;
    }

    .landing-section {
        padding: 36px 16px;
    }

}

/* =============================================
   TOOLS DASHBOARD — Post-login purchase UI
   ============================================= */

.auth-card--wide {
    max-width: 700px;
}

.tools-user-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.tools-user-email {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 70%;
}

.tools-signout {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.tools-signout:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.tools-welcome {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
}

/* Featured card (cenário C) */
.tools-featured-card {
    background: #fff;
    border: 2px solid #059669;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(5, 150, 105, 0.15);
    overflow: hidden;
    margin-bottom: 12px;
}

.tools-featured-card--combo {
    border-color: #059669;
    box-shadow: 0 4px 20px rgba(5, 150, 105, 0.15);
}

.tools-featured-badge {
    background: #059669;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    padding: 8px 12px;
    letter-spacing: 0.03em;
}

.tools-featured-body {
    padding: 24px 20px;
    text-align: center;
}

.tools-featured-name {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.tools-featured-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 16px;
}

.tools-featured-price {
    font-size: 28px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 16px;
}

.tools-featured-cta {
    margin-bottom: 0;
}

/* Accordion options (cenário C) */
.tools-other-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.tools-option {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.tools-option-summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    cursor: pointer;
    list-style: none;
    background: #fafafa;
    transition: background 0.15s;
    text-align: left;
}

.tools-option-summary:hover {
    background: #f3f4f6;
}

.tools-option-summary::-webkit-details-marker {
    display: none;
}

.tools-option-label {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.tools-option-price {
    font-size: 15px;
    font-weight: 800;
    color: #1f2937;
    white-space: nowrap;
}

.tools-option-oldprice {
    font-weight: 400;
    font-size: 12px;
    color: #9ca3af;
    text-decoration: line-through;
    margin-right: 4px;
}

.tools-option-desc {
    width: 100%;
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
    font-weight: 400;
    text-align: left;
}

.tools-option-body {
    padding: 16px 18px;
    border-top: 1px solid #e5e7eb;
}

.tools-option-body p {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 12px;
    line-height: 1.5;
    text-align: left;
}

/* Prova social micro */
.tools-proof-micro {
    font-size: 13px;
    color: #00a6c6;
    text-align: center;
    font-weight: 600;
    margin-bottom: 12px;
}

/* Link "Já comprei" */
.tools-recompra-link {
    display: block;
    text-align: center;
    font-size: 13px;
    color: #9ca3af;
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
    margin-bottom: 16px;
}

.tools-recompra-link:hover {
    color: #6b7280;
}

/* Separador "Quer fazer de novo?" (cenário B) */
.tools-separator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 16px;
    font-size: 13px;
    color: #9ca3af;
    font-weight: 500;
}

.tools-separator::before,
.tools-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

/* CTAs cenário B */
.tools-primary-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 4px;
}

.tools-btn {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    transition: opacity 0.15s;
}

.tools-btn:hover {
    opacity: 0.9;
}

.tools-btn--primary {
    background: #00a6c6;
    color: #fff;
}

.tools-btn--guia {
    background: #f97316;
    color: #fff;
}

.tools-btn--combo {
    background: #059669;
    color: #fff;
    padding: 14px 16px;
    font-size: 15px;
    border-radius: 12px;
}

.tools-btn--outline {
    background: #fff;
    color: #00a6c6;
    border: 2px solid #00a6c6;
}

.tools-btn--outline-guia {
    background: #fff;
    color: #f97316;
    border: 2px solid #f97316;
}

.tools-btn--access {
    background: #047857;
    color: #fff;
}

.tools-btn--history {
    background: #00a6c6;
    color: #fff;
}

.tools-footer {
    text-align: center;
    margin-top: 8px;
}

.tools-footer p {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 4px;
}

.tools-footer a {
    color: #00a6c6;
    text-decoration: none;
}

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

/* Tools dashboard responsive */
@media (max-width: 540px) {
    .auth-card--wide {
        max-width: 100%;
        padding: 24px 16px;
    }

    .tools-user-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .tools-user-email {
        max-width: 100%;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Portal Profissional
   ═══════════════════════════════════════════════════════════════════════════ */

.pro-body {
    background: #f0f9fb;
    padding: 0;
}

/* Header */
.pro-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

.pro-banner {
    background: linear-gradient(135deg, #00a6c6 0%, #0086a3 100%);
    aspect-ratio: 2 / 1;
    max-height: 520px;
    max-width: 1200px;
    margin: 32px auto 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 166, 198, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.pro-banner picture {
    display: block;
    width: 100%;
    height: 100%;
}

.pro-banner picture img,
.pro-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 1248px) {
    .pro-banner {
        margin: 24px 24px 0;
    }
}

@media (max-width: 640px) {
    .pro-banner {
        aspect-ratio: 1 / 1;
        max-height: 400px;
        margin: 16px 16px 0;
        border-radius: 12px;
    }
}

.pro-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.pro-logo img {
    height: 36px;
    width: auto;
}

.pro-auth-state {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pro-user-email {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

.pro-auth-status {
    padding: 6px 24px;
    font-size: 13px;
    color: #6b7280;
    min-height: 28px;
    background: #f9fafb;
    border-top: 1px solid #f3f4f6;
}

/* Botões */
.pro-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 18px;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
}

.pro-btn:active {
    transform: scale(0.98);
}

.pro-btn--primary {
    background: #00a6c6;
    color: #fff;
}

.pro-btn--primary:hover {
    background: #0086a3;
}

.pro-btn--ghost {
    background: transparent;
    color: #374151;
    border: 1px solid #d1d5db;
}

.pro-btn--ghost:hover {
    background: #f3f4f6;
}

.pro-btn--cta {
    background: #00a6c6;
    color: #fff;
    font-size: 16px;
    padding: 14px 28px;
    border-radius: 10px;
}

.pro-btn--cta:hover {
    background: #0086a3;
}

.pro-btn--cta:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

/* Mensagens */
.pro-msg {
    font-size: 14px;
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #f3f4f6;
    color: #374151;
}

.pro-msg--success {
    background: #d1fae5;
    color: #065f46;
}

.pro-msg--error {
    background: #fee2e2;
    color: #991b1b;
}

.pro-msg--warning {
    background: #fef3c7;
    color: #78350f;
}

/* Main */
.pro-main {
    max-width: 860px;
    margin: 32px auto;
    padding: 0 20px 60px;
}

.pro-section {
    margin-bottom: 40px;
}

.pro-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 6px;
}

.pro-section-desc {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Card de compra */
.pro-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
    overflow: hidden;
}

.pro-card--purchase {
    border-top: 4px solid #00a6c6;
}

.pro-card-content {
    padding: 32px;
}

.pro-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #00a6c6;
    margin-bottom: 10px;
}

.pro-card-desc {
    font-size: 15px;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 16px;
}

.pro-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pro-card-features li {
    font-size: 14px;
    color: #374151;
    padding-left: 20px;
    position: relative;
}

.pro-card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00a6c6;
    font-weight: 700;
}

/* ─────────────────────────────────────────────────────────────────────────
   Portal Profissional — Landing comercial
   ───────────────────────────────────────────────────────────────────────── */

/* Topbar fina sticky */
.pro-topbar {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

.pro-topbar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.pro-topbar .pro-logo img {
    height: 32px;
    width: auto;
    display: block;
}

.pro-auth-state {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pro-user-email {
    font-size: 14px;
    color: #6b7280;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pro-auth-status {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 8px;
    font-size: 13px;
    color: #6b7280;
}
.pro-auth-status:empty {
    display: none;
}

/* Container centralizado padrão */
.pro-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero textual abaixo do banner */
.pro-hero-text {
    background: #ffffff;
    padding: 56px 0 48px;
    border-bottom: 1px solid #e5e7eb;
}

.pro-hero-text .pro-container {
    text-align: center;
    max-width: 820px;
}

.pro-chip {
    display: inline-block;
    background: #f0fdfa;
    color: #0e7490;
    border: 1px solid #00a6c6;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
}

.pro-hero-title {
    font-size: 36px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}

.pro-hero-sub {
    font-size: 18px;
    color: #374151;
    line-height: 1.6;
    margin: 0 auto 28px;
    max-width: 680px;
}

.pro-hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* Aviso para logada-sem-acesso */
.pro-landing-notice {
    background: #fffbeb;
    border-bottom: 1px solid #fcd34d;
    padding: 14px 0;
}
.pro-landing-notice p {
    margin: 0;
    font-size: 14px;
    color: #92400e;
    line-height: 1.5;
}
.pro-landing-notice a {
    color: #92400e;
    text-decoration: underline;
    font-weight: 600;
}

/* Bloco genérico de seção */
.pro-section-block {
    padding: 64px 0;
    background: #ffffff;
}
.pro-section-block--alt {
    background: #f5f5f5;
}
.pro-section-block--final {
    background: linear-gradient(135deg, #00a6c6 0%, #0086a3 100%);
    color: #ffffff;
}

.pro-block-title {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}
.pro-section-block--final .pro-block-title {
    color: #ffffff;
}

.pro-block-sub {
    font-size: 16px;
    color: #6b7280;
    text-align: center;
    margin: 0 0 40px;
    line-height: 1.6;
}

/* Steps grid (3 ou 4 colunas) */
.pro-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.pro-steps-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .pro-steps-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pro-step-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
    text-align: left;
}

.pro-step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e6f7fb;
    color: #00a6c6;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.pro-step-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 8px;
    line-height: 1.3;
}

.pro-step-card p {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

.pro-lgpd-note {
    background: #e6f7fb;
    border-left: 4px solid #00a6c6;
    border-radius: 8px;
    padding: 16px 20px;
    font-size: 14px;
    color: #1f2937;
    margin: 0;
    line-height: 1.6;
}

/* Cases grid (3 colunas) */
.pro-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pro-case-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
    text-align: left;
    border-top: 4px solid #00a6c6;
}

.pro-case-emoji {
    font-size: 40px;
    line-height: 1;
    margin-bottom: 16px;
}

.pro-case-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 8px;
    line-height: 1.3;
}

.pro-case-card p {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* Preview (o que paciente recebe) */
.pro-preview-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.pro-preview-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    text-align: left;
    display: inline-block;
}

.pro-preview-list li {
    font-size: 16px;
    color: #1f2937;
    padding: 8px 0 8px 28px;
    position: relative;
    line-height: 1.5;
}

.pro-preview-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    color: #15803d;
    font-weight: 700;
    font-size: 18px;
}

/* Pricing card */
.pro-pricing-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 48px 40px;
    box-shadow: 0 20px 60px rgba(0,166,198,0.15), 0 0 0 2px rgba(0,166,198,0.08);
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    border-top: 6px solid #00a6c6;
}

.pro-pricing-unit {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 12px;
}

.pro-pricing-divider {
    width: 60px;
    height: 1px;
    background: #e5e7eb;
    margin: 0 auto 12px;
}

.pro-pricing-total {
    font-size: 56px;
    font-weight: 700;
    color: #00a6c6;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.pro-pricing-installments {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 28px;
}

.pro-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    text-align: left;
    display: inline-block;
}

.pro-pricing-features li {
    font-size: 15px;
    color: #1f2937;
    padding: 6px 0 6px 26px;
    position: relative;
    line-height: 1.5;
}

.pro-pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 6px;
    color: #00a6c6;
    font-weight: 700;
    font-size: 16px;
}

.pro-pricing-microcopy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 16px;
    font-size: 13px;
    color: #6b7280;
}

.pro-pricing-warranty {
    background: #e6f7fb;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 13px;
    color: #1f2937;
    margin: 24px 0 0;
    line-height: 1.5;
    text-align: left;
}

/* FAQ */
.pro-faq-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 820px;
    margin: 0 auto 24px;
}

.pro-faq-item {
    background: #e6f7fb;
    border-left: 4px solid #00a6c6;
    border-radius: 8px;
    padding: 20px 24px;
}
.pro-faq-item h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px;
}
.pro-faq-item p {
    font-size: 15px;
    color: #1f2937;
    line-height: 1.6;
    margin: 0;
}

.pro-faq-accordion {
    max-width: 820px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.05);
    overflow: hidden;
}
.pro-faq-accordion details {
    border-bottom: 1px solid #e5e7eb;
}
.pro-faq-accordion details:last-child {
    border-bottom: none;
}
.pro-faq-accordion summary {
    cursor: pointer;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    list-style: none;
    position: relative;
    user-select: none;
    transition: background 0.2s;
}
.pro-faq-accordion summary::-webkit-details-marker {
    display: none;
}
.pro-faq-accordion summary::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    color: #00a6c6;
    font-weight: 400;
    transition: transform 0.2s;
}
.pro-faq-accordion details[open] summary::after {
    content: '−';
}
.pro-faq-accordion summary:hover {
    background: #f9fafb;
}
.pro-faq-accordion details p {
    padding: 0 24px 20px;
    margin: 0;
    font-size: 15px;
    color: #4b5563;
    line-height: 1.6;
}

/* CTA final */
.pro-final-cta {
    text-align: center;
    max-width: 720px;
}
.pro-final-cta h2 {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 28px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}
.pro-final-cta .pro-btn--cta {
    background: #ffffff;
    color: #00a6c6;
}
.pro-final-cta .pro-btn--cta:hover {
    background: #f0fdfa;
}
.pro-final-warranty {
    margin: 20px 0 0;
    font-size: 14px;
    color: rgba(255,255,255,0.95);
}
.pro-final-contact {
    margin: 8px 0 0;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
}
.pro-final-contact a {
    color: #ffffff;
    text-decoration: underline;
}

/* Step CTA */
.pro-step-cta {
    margin-top: 16px;
    font-size: 14px;
    padding: 10px 18px;
}

/* Variantes de botão da landing */
.pro-btn--block {
    display: flex;
    width: 100%;
    justify-content: center;
}
.pro-btn--lg {
    font-size: 18px;
    padding: 18px 36px;
    border-radius: 12px;
}

/* Responsivo: tablet */
@media (max-width: 900px) {
    .pro-steps-grid,
    .pro-cases-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .pro-hero-title {
        font-size: 30px;
    }
    .pro-hero-sub {
        font-size: 16px;
    }
}

/* Responsivo: mobile */
@media (max-width: 640px) {
    .pro-topbar-content {
        padding: 10px 16px;
        gap: 8px;
    }
    .pro-user-email {
        max-width: 140px;
        font-size: 13px;
    }
    .pro-container {
        padding: 0 16px;
    }
    .pro-section-block {
        padding: 44px 0;
    }
    .pro-hero-text {
        padding: 40px 0 36px;
    }
    .pro-hero-title {
        font-size: 26px;
    }
    .pro-hero-sub {
        font-size: 15px;
    }
    .pro-block-title {
        font-size: 24px;
    }
    .pro-pricing-card {
        padding: 36px 24px;
    }
    .pro-pricing-total {
        font-size: 44px;
    }
    .pro-step-card,
    .pro-case-card {
        padding: 24px 20px;
    }
    .pro-preview-box {
        padding: 28px 20px;
    }
    .pro-final-cta h2 {
        font-size: 22px;
    }
    .pro-btn--lg {
        width: 100%;
        font-size: 16px;
        padding: 16px 24px;
    }
}

/* ─────────────────────────────────────────────────────────────────────────
   Cadastro Profissional — Formulário e estados
   ───────────────────────────────────────────────────────────────────────── */

/* Auth gate (logged out) */
.cad-auth-gate {
    max-width: 560px;
    text-align: center;
    padding: 48px 24px;
}
.cad-auth-gate h1 {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin: 20px 0 12px;
    letter-spacing: -0.01em;
}
.cad-auth-gate p {
    font-size: 16px;
    color: #374151;
    line-height: 1.6;
    margin: 0 0 28px;
}
.cad-auth-back {
    margin: 20px 0 0 !important;
    font-size: 14px;
}
.cad-auth-back a {
    color: #6b7280;
    text-decoration: none;
}
.cad-auth-back a:hover {
    color: #00a6c6;
    text-decoration: underline;
}

/* Status cards (approved / pending / rejected) */
.cad-status-card {
    max-width: 560px;
    background: #ffffff;
    border-radius: 16px;
    padding: 48px 40px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
    margin: 32px auto;
}
.cad-status-card h1 {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    margin: 20px 0 16px;
    letter-spacing: -0.01em;
}
.cad-status-card p {
    font-size: 16px;
    color: #374151;
    line-height: 1.6;
    margin: 0 0 20px;
}
.cad-status-card .pro-btn {
    margin-top: 8px;
}

.cad-status-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    margin: 0 auto;
}
.cad-status-icon--success {
    background: #d1fae5;
    color: #15803d;
}
.cad-status-icon--pending {
    background: #fffbeb;
    color: #92400e;
    font-size: 32px;
}
.cad-status-icon--error {
    background: #fee2e2;
    color: #991b1b;
}

.cad-pending-email {
    font-size: 14px;
    color: #6b7280;
    background: #f9fafb;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 20px 0 !important;
}

/* Formulário — container e cabeçalho */
.cad-form-container {
    max-width: 720px;
    padding: 32px 24px 48px;
}
.cad-form-header {
    text-align: center;
    margin-bottom: 32px;
}
.cad-form-header h1 {
    font-size: 30px;
    font-weight: 700;
    color: #0f172a;
    margin: 16px 0 10px;
    letter-spacing: -0.01em;
}
.cad-form-header p {
    font-size: 16px;
    color: #374151;
    line-height: 1.6;
    margin: 0;
}
.cad-logged-hint {
    font-size: 13px !important;
    color: #6b7280 !important;
    margin-top: 12px !important;
    padding: 8px 14px;
    background: #f0fdfa;
    border-radius: 999px;
    display: inline-block;
}

/* Fieldsets */
.cad-fieldset {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}
.cad-fieldset legend {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #00a6c6;
    padding: 0 8px;
    margin-left: -8px;
}
.cad-subheading {
    font-size: 14px;
    font-weight: 700;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 20px 0 12px;
}

/* Campos */
.cad-field {
    margin-bottom: 16px;
}
.cad-field:last-child {
    margin-bottom: 0;
}
.cad-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 6px;
}

.cad-field input,
.cad-field select,
.cad-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    background: #f9fafb;
    color: #1f2937;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.cad-field input:focus,
.cad-field select:focus,
.cad-field textarea:focus {
    outline: none;
    border-color: #00a6c6;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0,166,198,0.1);
}
.cad-field input:disabled,
.cad-field select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cad-field-error {
    display: block;
    min-height: 18px;
    margin-top: 4px;
    font-size: 13px;
    color: #dc2626;
    font-weight: 500;
}
.cad-field-error:empty {
    display: none;
}

/* Grid de linha */
.cad-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.cad-field-row .cad-field {
    margin-bottom: 0;
}
.cad-field--sm {
    max-width: 140px;
}
.cad-field--grow {
    flex: 1;
}

/* Checkbox LGPD */
.cad-field--checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
    cursor: pointer;
}
.cad-field--checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: #00a6c6;
    cursor: pointer;
}
.cad-field--checkbox a {
    color: #00a6c6;
    text-decoration: underline;
}

/* Seletor CPF/CNPJ (radio cards) */
.cad-type-selector legend {
    margin-bottom: 14px;
}
.cad-radio-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.cad-radio-card {
    position: relative;
    display: block;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    background: #ffffff;
    transition: all 0.2s;
}
.cad-radio-card:hover {
    border-color: #a5f3fc;
    background: #f9fafb;
}
.cad-radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.cad-radio-card input[type="radio"]:checked ~ .cad-radio-card-content {
    color: #00a6c6;
}
.cad-radio-card:has(input:checked) {
    border-color: #00a6c6;
    background: #e6f7fb;
}
.cad-radio-card-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: color 0.2s;
}
.cad-radio-card-content strong {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
}
.cad-radio-card:has(input:checked) .cad-radio-card-content strong {
    color: #00a6c6;
}
.cad-radio-card-content span {
    font-size: 13px;
    color: #6b7280;
}

/* Responsivo */
@media (max-width: 640px) {
    .cad-form-container {
        padding: 20px 16px 40px;
    }
    .cad-form-header h1 {
        font-size: 24px;
    }
    .cad-fieldset {
        padding: 18px;
    }
    .cad-field-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .cad-field--sm {
        max-width: 100%;
    }
    .cad-radio-cards {
        grid-template-columns: 1fr;
    }
    .cad-status-card {
        padding: 36px 24px;
    }
    .cad-status-card h1 {
        font-size: 22px;
    }
    .cad-auth-gate h1 {
        font-size: 24px;
    }
}

/* Tabela de cupons */
.pro-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.05);
}

.coupon-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 14px;
}

.coupon-table thead {
    background: #00a6c6;
    color: #fff;
}

.coupon-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.3px;
}

.coupon-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
    vertical-align: middle;
}

.coupon-table tbody tr:last-child td {
    border-bottom: none;
}

.coupon-table tbody tr:hover {
    background: #f0f9fb;
}

.coupon-table tbody tr.coupon-row--used {
    background: #f9fafb;
}

.coupon-table tbody tr.coupon-row--used .coupon-code {
    color: #9ca3af;
    text-decoration: line-through;
}

.coupon-code {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    font-size: 15px;
    color: #00a6c6;
    letter-spacing: 0.5px;
}

.coupon-used-by {
    font-size: 13px;
    color: #374151;
    word-break: break-all;
}

.coupon-used-at {
    font-size: 13px;
    color: #6b7280;
    white-space: nowrap;
}

/* Loading / empty */
.pro-loading {
    font-size: 14px;
    color: #6b7280;
    padding: 20px 0;
}

.pro-empty {
    background: #fff;
    border: 1px dashed #d1d5db;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

/* Acesso negado */
.pro-denied {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 40px 20px;
}

.pro-denied-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    max-width: 440px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.pro-denied-card h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.pro-denied-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Resgate de cupom (quiz payment wall) */
.coupon-section {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.coupon-section > p {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 10px;
}

.coupon-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.coupon-row input[type="text"] {
    flex: 1;
    max-width: 220px;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #1f2937;
    outline: none;
    transition: border-color 0.2s;
}

.coupon-row input[type="text"]:focus {
    border-color: #00a6c6;
    box-shadow: 0 0 0 3px rgba(0,166,198,0.15);
}

.coupon-row button {
    padding: 10px 18px;
    background: #00a6c6;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.coupon-row button:hover {
    background: #0086a3;
}

.coupon-row button:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.coupon-msg {
    font-size: 13px;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    display: none;
}

.coupon-msg--success {
    background: #d1fae5;
    color: #065f46;
    display: block;
}

.coupon-msg--error {
    background: #fee2e2;
    color: #991b1b;
    display: block;
}

/* Responsive */
@media (max-width: 480px) {
    .pro-header-bar {
        padding: 12px 16px;
    }

    .pro-card-content {
        padding: 20px;
    }

    .coupon-table th,
    .coupon-table td {
        padding: 10px 12px;
    }

    .coupon-code {
        font-size: 13px;
    }

    .coupon-row {
        flex-wrap: wrap;
    }

    .coupon-row input[type="text"] {
        max-width: 100%;
    }
}

/* ─── Phone group (country code + number) ─── */
.cad-phone-group {
    display: flex;
    gap: 8px;
    align-items: stretch;
}
.cad-phone-country {
    width: 64px;
    flex-shrink: 0;
    text-align: center;
    font-size: 14px;
    padding: 10px 8px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #f9fafb;
    color: #374151;
}
.cad-phone-group input[type="tel"] {
    flex: 1;
}

/* ─── Brasil toggle checkbox ─── */
.cad-field--brasil-toggle {
    margin-bottom: 4px;
}
.cad-field--brasil-toggle label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
}
.cad-field--brasil-toggle input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* ─── Admin search + pagination ─── */
.admin-search-row {
    margin-bottom: 12px;
}
.admin-search-input {
    width: 100%;
    max-width: 360px;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
    background: #fff;
    box-sizing: border-box;
}
.admin-search-input:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}
.admin-pagination {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    font-size: 14px;
    color: #6b7280;
}

/* ─── Profissionais tab ─── */
.admin-list-item--prof {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
}
.admin-list-item--prof .admin-list-actions {
    gap: 8px;
}
.prof-app-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.prof-app-name {
    font-weight: 600;
    font-size: 14px;
    color: #111827;
}
.prof-app-email {
    font-size: 13px;
    color: #4b5563;
}
.prof-app-meta {
    font-size: 12px;
    color: #9ca3af;
}
.prof-approve-btn {
    background: #16a34a;
    border-color: #16a34a;
}
.prof-approve-btn:hover {
    background: #15803d;
}
