:root {
    --portal-primary: #0d6efd;
    --portal-bg: #f4f6f9;
    --portal-card-hover: #f8f9fc;
}

.portal-body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--portal-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.portal-main {
    flex: 1;
}

.portal-header {
    background: #fff;
}

.portal-brand-text {
    font-weight: 600;
    color: #1a1a2e;
}

.portal-logo {
    max-height: 40px;
    width: auto;
}

.portal-login-card {
    max-width: 420px;
    width: 100%;
}

.portal-login-logo {
    max-height: 72px;
    width: auto;
}

.portal-hero h1 {
    font-weight: 700;
    color: #1a1a2e;
}

.portal-categoria-titulo {
    font-weight: 600;
    color: #374151;
    border-left: 4px solid var(--portal-primary);
    padding-left: 0.75rem;
}

.portal-card-treinamento {
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.portal-card-treinamento:hover {
    border-color: #c7d2fe;
    box-shadow: 0 4px 14px rgba(13, 110, 253, 0.12);
    transform: translateY(-2px);
}

.portal-card-capa {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-bottom: 1px solid #e5e7eb;
}

.portal-card-placeholder {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #f3f4f6 0%, #eef2ff 100%);
    border-bottom: 1px solid #e5e7eb;
}

.portal-progress .progress-bar {
    background-color: var(--portal-primary);
}

.portal-empty-icon {
    font-size: 3rem;
    line-height: 1;
}

.portal-footer {
    background: #fff;
}

.portal-stub {
    max-width: 560px;
    margin: 0 auto;
}

.portal-player-card .portal-player {
    background: #000;
    max-height: 68vh;
}

.portal-player-embed iframe {
    border: 0;
}

.portal-aula-lista .list-group-item.active .badge {
    background: rgba(255, 255, 255, 0.2) !important;
}
