/* ===================================================================
   Mapeamento de Riscos — public.css
   Estilos específicos do front-end público, escopados.
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

.riscos-plugin-wrapper {
    /* Design Tokens */
    --riscos-font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --riscos-bg: #f8fafc;
    --riscos-card-bg: #ffffff;
    --riscos-text-main: #334155;
    --riscos-text-muted: #64748b;
    
    --riscos-brand: #f5a800;
    --riscos-brand-hover: #d97706;
    --riscos-brand-light: #fffbeb;
    --riscos-dark-bg: #222429;
    
    --riscos-border-color: #e2e8f0;
    --riscos-border-focus: #f5a800;
    --riscos-error: #ef4444;
    --riscos-error-light: #fef2f2;
    --riscos-success: #10b981;
    --riscos-success-light: #ecfdf5;

    /* Cores de Risco */
    --riscos-low: #22c55e;
    --riscos-moderate: #eab308;
    --riscos-high: #f97316;
    --riscos-critical: #ef4444;
    
    --riscos-radius-lg: 16px;
    --riscos-radius-md: 8px;
    --riscos-shadow-md: 0 10px 30px rgba(15, 23, 42, 0.06);
    --riscos-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

    font-family: var(--riscos-font-family);
    color: var(--riscos-text-main);
    background-color: var(--riscos-bg);
    padding: 0;
    box-sizing: border-box;
    width: 100%;
}

.riscos-plugin-wrapper * {
    box-sizing: border-box;
}

/* Header */
.riscos-plugin-wrapper .riscos-header {
    background: var(--riscos-dark-bg);
    color: #ffffff;
    padding: 16px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.riscos-plugin-wrapper .riscos-header-inner {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.riscos-plugin-wrapper .riscos-header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.riscos-plugin-wrapper .riscos-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--riscos-brand);
    width: 38px;
    height: 38px;
    border-radius: 8px;
    font-weight: bold;
}

.riscos-plugin-wrapper .riscos-header-title {
    display: flex;
    flex-direction: column;
}

.riscos-plugin-wrapper .riscos-header-title strong {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.riscos-plugin-wrapper .riscos-header-title span {
    font-size: 11px;
    color: var(--riscos-text-muted);
}

.riscos-plugin-wrapper .riscos-step-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Container */
.riscos-plugin-wrapper .riscos-container {
    max-width: 768px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Progresso */
.riscos-plugin-wrapper .riscos-progress {
    margin-bottom: 30px;
}

.riscos-plugin-wrapper .riscos-progress-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--riscos-text-muted);
    margin-bottom: 8px;
}

.riscos-plugin-wrapper .riscos-progress-track {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 16px;
}

.riscos-plugin-wrapper .riscos-progress-fill {
    height: 100%;
    background: var(--riscos-brand);
    border-radius: 4px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.riscos-plugin-wrapper .riscos-step-dots {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.riscos-plugin-wrapper .riscos-step-dot {
    font-size: 11px;
    font-weight: 600;
    color: var(--riscos-text-muted);
    cursor: default;
    position: relative;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: var(--riscos-transition);
}

.riscos-plugin-wrapper .riscos-step-dot.is-active {
    color: var(--riscos-brand);
    border-bottom-color: var(--riscos-brand);
}

.riscos-plugin-wrapper .riscos-step-dot.is-completed {
    color: var(--riscos-dark-bg);
    border-bottom-color: var(--riscos-dark-bg);
}

@media (max-width: 640px) {
    .riscos-plugin-wrapper .riscos-step-dots {
        display: none;
    }
}

/* Cards */
.riscos-plugin-wrapper .riscos-step-card {
    animation: riscosFadeIn 0.3s ease-in-out forwards;
}

.riscos-plugin-wrapper .riscos-card {
    background: var(--riscos-card-bg);
    border: 1px solid var(--riscos-border-color);
    border-radius: var(--riscos-radius-lg);
    box-shadow: var(--riscos-shadow-md);
    padding: 32px;
}

.riscos-plugin-wrapper .riscos-card-header {
    display: flex;
    gap: 16px;
    border-bottom: 1px solid var(--riscos-border-color);
    padding-bottom: 20px;
    margin-bottom: 24px;
}

.riscos-plugin-wrapper .riscos-card-icon {
    font-size: 32px;
    line-height: 1;
}

.riscos-plugin-wrapper .riscos-card-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--riscos-dark-bg);
    margin: 0 0 4px 0;
}

.riscos-plugin-wrapper .riscos-card-header p {
    font-size: 13.5px;
    color: var(--riscos-text-muted);
    margin: 0;
}

/* Campos */
.riscos-plugin-wrapper .riscos-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.riscos-plugin-wrapper .riscos-field label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--riscos-dark-bg);
}

.riscos-plugin-wrapper .riscos-required {
    color: var(--riscos-error);
}

.riscos-plugin-wrapper .riscos-field input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--riscos-border-color);
    border-radius: var(--riscos-radius-md);
    font-family: var(--riscos-font-family);
    font-size: 14px;
    outline: none;
    transition: var(--riscos-transition);
}

.riscos-plugin-wrapper .riscos-field input[type="text"]:focus {
    border-color: var(--riscos-border-focus);
    box-shadow: 0 0 0 3px rgba(245, 168, 0, 0.15);
}

.riscos-plugin-wrapper .riscos-field input.riscos-input-error {
    border-color: var(--riscos-error) !important;
    background-color: var(--riscos-error-light);
}

.riscos-plugin-wrapper .riscos-field select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--riscos-border-color);
    border-radius: var(--riscos-radius-md);
    font-family: var(--riscos-font-family);
    font-size: 14px;
    outline: none;
    transition: var(--riscos-transition);
    background-color: #ffffff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' 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 16px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

.riscos-plugin-wrapper .riscos-field select:focus {
    border-color: var(--riscos-border-focus);
    box-shadow: 0 0 0 3px rgba(245, 168, 0, 0.15);
}

.riscos-plugin-wrapper .riscos-field select.riscos-input-error {
    border-color: var(--riscos-error) !important;
    background-color: var(--riscos-error-light);
}

.riscos-plugin-wrapper .riscos-field-error {
    color: var(--riscos-error);
    font-size: 12px;
    margin-top: 4px;
    font-weight: 500;
}

/* Pergunta Card */
.riscos-plugin-wrapper .riscos-question-card {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    padding: 20px;
    border-radius: var(--riscos-radius-md);
    margin-bottom: 24px;
}

.riscos-plugin-wrapper .riscos-question-card:last-child {
    margin-bottom: 0;
}

.riscos-plugin-wrapper .riscos-question-header {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

.riscos-plugin-wrapper .riscos-question-header strong {
    background: var(--riscos-dark-bg);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 4px;
    height: fit-content;
}

.riscos-plugin-wrapper .riscos-question-header p {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--riscos-dark-bg);
    margin: 0;
    line-height: 1.4;
}

.riscos-plugin-wrapper .riscos-question-info {
    font-size: 12px;
    color: var(--riscos-text-muted);
    margin: 0 0 16px 0;
    font-style: italic;
}

/* Likert Grid */
.riscos-plugin-wrapper .riscos-likert-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

@media (max-width: 640px) {
    .riscos-plugin-wrapper .riscos-likert-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

.riscos-plugin-wrapper .riscos-likert-option {
    position: relative;
    cursor: pointer;
    display: block;
}

.riscos-plugin-wrapper .riscos-likert-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.riscos-plugin-wrapper .riscos-likert-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--riscos-border-color);
    background: #ffffff;
    border-radius: 6px;
    padding: 10px 4px;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--riscos-text-muted);
    text-align: center;
    transition: var(--riscos-transition);
    user-select: none;
    min-height: 48px;
}

@media (max-width: 640px) {
    .riscos-plugin-wrapper .riscos-likert-option span {
        min-height: 38px;
        padding: 8px 12px;
        font-size: 13px;
        justify-content: flex-start;
        text-align: left;
    }
}

.riscos-plugin-wrapper .riscos-likert-option input[type="radio"]:checked + span {
    border-color: var(--riscos-brand);
    background: var(--riscos-brand-light);
    color: var(--riscos-brand-hover);
    font-weight: 600;
    box-shadow: 0 0 0 2px var(--riscos-brand);
}

/* Navegação */
.riscos-plugin-wrapper .riscos-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.riscos-plugin-wrapper .riscos-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--riscos-font-family);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--riscos-radius-md);
    border: none;
    cursor: pointer;
    transition: var(--riscos-transition);
}

.riscos-plugin-wrapper .riscos-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.riscos-plugin-wrapper .riscos-btn-primary {
    background: var(--riscos-dark-bg);
    color: #ffffff;
    border: 1.5px solid var(--riscos-dark-bg);
}

.riscos-plugin-wrapper .riscos-btn-primary:hover:not(:disabled) {
    background: #000000;
    border-color: #000000;
}

.riscos-plugin-wrapper .riscos-btn-secondary {
    background: #ffffff;
    color: var(--riscos-dark-bg);
    border: 1.5px solid var(--riscos-border-color);
}

.riscos-plugin-wrapper .riscos-btn-secondary:hover:not(:disabled) {
    border-color: var(--riscos-dark-bg);
}

/* Spinner */
.riscos-plugin-wrapper .riscos-spinner {
    animation: riscosRotate 1s linear infinite;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    color: #ffffff;
}

.riscos-plugin-wrapper .riscos-spinner circle {
    stroke: currentColor;
    stroke-linecap: round;
}

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

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

/* Resultados */
.riscos-plugin-wrapper .riscos-results-view {
    animation: riscosFadeIn 0.3s ease-in-out forwards;
}

.riscos-plugin-wrapper .riscos-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--riscos-success-light);
    color: var(--riscos-success);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 24px auto;
    font-size: 32px;
    font-weight: bold;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.08);
}

.riscos-plugin-wrapper .riscos-results-view h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--riscos-dark-bg);
    margin: 0 0 8px 0;
}

.riscos-plugin-wrapper .riscos-protocol-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: #f1f5f9;
    border: 1px dashed var(--riscos-border-color);
    padding: 16px 32px;
    border-radius: var(--riscos-radius-md);
    margin-bottom: 24px;
}

.riscos-plugin-wrapper .riscos-protocol-box span {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--riscos-text-muted);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.riscos-plugin-wrapper .riscos-protocol-box strong {
    font-size: 18px;
    color: var(--riscos-dark-bg);
}

.riscos-plugin-wrapper .riscos-results-metadata {
    max-width: 400px;
    margin: 0 auto 24px auto;
    font-size: 14px;
    color: var(--riscos-text-muted);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.riscos-plugin-wrapper .riscos-results-metadata p {
    margin: 0;
}

/* Overall Card */
.riscos-plugin-wrapper .riscos-overall-score-card {
    background: #f8fafc;
    border: 1px solid var(--riscos-border-color);
    border-radius: var(--riscos-radius-md);
    padding: 24px;
    max-width: 500px;
    margin: 0 auto 36px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.riscos-plugin-wrapper .riscos-score-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--riscos-text-muted);
}

.riscos-plugin-wrapper .riscos-score-badge {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.riscos-plugin-wrapper .riscos-score-value {
    font-size: 14px;
    color: var(--riscos-text-main);
}

/* Graficos Horizontais */
.riscos-plugin-wrapper .riscos-dimensions-charts {
    text-align: left;
    margin-top: 40px;
    border-top: 1px solid var(--riscos-border-color);
    padding-top: 30px;
}

.riscos-plugin-wrapper .riscos-dimensions-charts h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--riscos-dark-bg);
    margin: 0 0 8px 0;
}

.riscos-plugin-wrapper .riscos-charts-intro {
    font-size: 13.5px;
    color: var(--riscos-text-muted);
    margin: 0 0 24px 0;
}

.riscos-plugin-wrapper .riscos-charts-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.riscos-plugin-wrapper .riscos-chart-row {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    padding: 16px;
    border-radius: var(--riscos-radius-md);
}

.riscos-plugin-wrapper .riscos-chart-title {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--riscos-dark-bg);
    margin-bottom: 10px;
}

.riscos-plugin-wrapper .riscos-chart-bar-outer {
    height: 12px;
    background: #cbd5e1;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.riscos-plugin-wrapper .riscos-chart-bar-inner {
    height: 100%;
    border-radius: 6px;
    transition: width 0.6s ease-in-out;
}

/* Plano de Ação Card */
.riscos-plugin-wrapper .riscos-action-plan-card {
    text-align: left;
    margin-top: 40px;
    border-top: 1px solid var(--riscos-border-color);
    padding-top: 30px;
}

.riscos-plugin-wrapper .riscos-action-plan-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--riscos-dark-bg);
    margin: 0 0 8px 0;
}

.riscos-plugin-wrapper .riscos-plan-intro {
    font-size: 13.5px;
    color: var(--riscos-text-muted);
    margin: 0 0 20px 0;
}

.riscos-plugin-wrapper .riscos-actions-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.riscos-plugin-wrapper .riscos-action-item {
    border-left: 4px solid var(--riscos-brand);
    background: #fdfdfd;
    border: 1px solid var(--riscos-border-color);
    border-left: 4px solid var(--riscos-brand);
    border-radius: 6px;
    padding: 16px 20px;
}

.riscos-plugin-wrapper .riscos-action-title {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 700;
    color: var(--riscos-dark-bg);
    margin-bottom: 6px;
}

.riscos-plugin-wrapper .riscos-action-text {
    font-size: 13px;
    line-height: 1.5;
    color: var(--riscos-text-main);
    margin: 0;
}

.riscos-plugin-wrapper .riscos-results-actions {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

/* Toasts */
.riscos-plugin-wrapper .riscos-toast-container {
    position: fixed;
    top: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 99999;
    max-width: 320px;
}

.riscos-plugin-wrapper .riscos-toast {
    padding: 12px 18px;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: var(--riscos-radius-md);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: riscosToastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.riscos-plugin-wrapper .toast-info { background: #3b82f6; }
.riscos-plugin-wrapper .toast-success { background: var(--riscos-success); }
.riscos-plugin-wrapper .toast-error { background: var(--riscos-error); }
.riscos-plugin-wrapper .toast-warning { background: #f59e0b; }

/* ===================================================================
   Portal Homepage - Styles
   =================================================================== */

.portal-home-wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #334155;
    background-color: #f8fafc;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.portal-home-header {
    background: #222429;
    color: #ffffff;
    padding: 16px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.portal-home-header-inner {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.portal-home-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.portal-home-brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: #f5a800;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    font-weight: bold;
}

.portal-home-brand-title {
    display: flex;
    flex-direction: column;
}

.portal-home-brand-title strong {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.portal-home-brand-title span {
    font-size: 11px;
    color: #94a3b8;
}

.portal-home-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.portal-home-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 60px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.portal-home-intro {
    text-align: center;
    margin-bottom: 48px;
    animation: riscosFadeIn 0.4s ease-out;
}

.portal-home-intro h1 {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.portal-home-intro p {
    font-size: 16px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.portal-home-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    animation: riscosFadeIn 0.5s ease-out;
}

@media (max-width: 900px) {
    .portal-home-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .portal-home-grid {
        grid-template-columns: 1fr;
    }
    .portal-home-intro h1 {
        font-size: 26px;
    }
}

.portal-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    outline: none;
}

.portal-menu-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.portal-menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: transparent;
    transition: background 0.3s;
}

.portal-menu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.portal-card-link:nth-child(1) .portal-menu-card:hover::before { background: #d97706; }
.portal-card-link:nth-child(2) .portal-menu-card:hover::before { background: #4f46e5; }
.portal-card-link:nth-child(3) .portal-menu-card:hover::before { background: #0d9488; }

.portal-card-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 22px;
}

.portal-card-icon-wrapper.bg-gold {
    background: #fffbeb;
    color: #d97706;
}

.portal-card-icon-wrapper.bg-indigo {
    background: #e0e7ff;
    color: #4f46e5;
}

.portal-card-icon-wrapper.bg-teal {
    background: #ccfbf1;
    color: #0d9488;
}

.portal-card-body {
    flex: 1;
}

.portal-card-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px 0;
}

.portal-card-body p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.portal-card-action {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #4f46e5;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    transition: all 0.25s;
}

.portal-menu-card:hover .portal-card-action {
    color: #312e81;
}

.portal-menu-card:hover .portal-card-action svg {
    transform: translateX(4px);
}

.portal-card-action svg {
    transition: transform 0.25s ease;
}

.portal-home-footer {
    text-align: center;
    padding: 32px 20px;
    border-top: 1px solid #e2e8f0;
    font-size: 13px;
    color: #94a3b8;
    background: #f8fafc;
}

