/* Compatibility styling is restricted to full pages using the former panel layout. */
.dp-legacy .dp-legacy-content { padding: 30px 36px 48px; min-width: 0; }
.dp-legacy .dp-legacy-content > .content { padding: 0; }
.dp-legacy .dp-legacy-content .page-header { margin: 0 0 28px; padding: 0; background: transparent; border: 0; box-shadow: none; }
.dp-legacy .page-header-content { padding: 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.dp-legacy .page-header-content::after, .dp-legacy .page-header-content::before { display: none; }
.dp-legacy .page-title { padding: 0; float: none; min-width: 0; }
.dp-legacy .page-title h4 { margin: 0; color: var(--db-ink); font-size: 28px; font-weight: 700; letter-spacing: -.7px; }
.dp-legacy .page-header .heading-elements { position: static; margin: 0; height: auto; display: flex; align-items: center; background: transparent; }
.dp-legacy .page-header .heading-btn-group { margin: 0; }
.dp-legacy .page-header .heading-elements .btn { margin: 0; }
.dp-legacy .breadcrumb-line { margin: 14px 0 0; background: transparent; border: 0; }
.dp-legacy .breadcrumb { padding: 0; margin: 0; background: transparent; }
.dp-legacy .dp-legacy-content .panel { border: 1px solid var(--db-line); border-radius: 14px; box-shadow: 0 2px 5px rgba(45, 23, 64, .025); background: #fff; margin-bottom: 24px; }
.dp-legacy .panel-heading, .dp-legacy .panel-body { padding: 24px; }
.dp-legacy .panel-heading { border-radius: 14px 14px 0 0; }
.dp-legacy .panel-title { font-weight: 650; }
.dp-legacy .panel-footer { background: #fbfafd; border-color: var(--db-line); border-radius: 0 0 14px 14px; }
.dp-legacy .dp-legacy-content a:not(.btn):not(.label):not(.badge) { color: var(--db-brand); }
.dp-legacy .btn { border-radius: 8px; padding: 10px 16px; font-size: 13px; font-weight: 600; line-height: 1.5; min-height: 40px; text-transform: none; box-shadow: none; white-space: normal; }
.dp-legacy .btn-primary, .dp-legacy .btn-success, .dp-legacy .btn.bg-purple-800 { color: #fff; background: var(--db-brand); border-color: var(--db-brand); }
.dp-legacy .btn-primary:hover, .dp-legacy .btn-success:hover { background: var(--db-brand-hover); border-color: var(--db-brand-hover); }
.dp-legacy .btn-default { color: var(--db-brand); background: #fff; border-color: #d9cde3; }
.dp-legacy .btn-link { color: var(--db-brand); }
.dp-legacy .btn-danger { background: #b52f48; border-color: #b52f48; }
.dp-legacy .form-control { border: 1px solid #dcd5e4; border-radius: 8px; min-height: 42px; height: auto; padding: 10px 12px; color: var(--db-ink); background-color: #fff; box-shadow: none; font-size: 14px; }
.dp-legacy .form-control:focus { border-color: #8c58a7; box-shadow: 0 0 0 3px #eee5f5; }
.dp-legacy .form-control[disabled], .dp-legacy .form-control[readonly] { background: #f7f5f9; }
.dp-legacy label { color: #574b63; font-size: 13px; font-weight: 600; }
.dp-legacy .form-group { margin-bottom: 22px; }
.dp-legacy .help-block { color: var(--db-muted); font-size: 12px; }
.dp-legacy .select2-container { max-width: 100%; }
.dp-legacy .select2-selection--single { border-radius: 8px; min-height: 42px; border-color: #dcd5e4; }
.dp-legacy .table-responsive { max-width: 100%; border: 0; overflow-x: auto; }
.dp-legacy .table { margin: 0; font-size: 13px; }
.dp-legacy .table > thead > tr > th { padding: 14px 16px; border-bottom: 1px solid var(--db-line); color: var(--db-muted); font-size: 11px; font-weight: 650; letter-spacing: .3px; background: #faf9fc; }
.dp-legacy .table > tbody > tr > td { padding: 16px; border-color: #f0ecf4; vertical-align: middle; }
.dp-legacy .table-striped > tbody > tr:nth-of-type(odd) { background: #fff; }
.dp-legacy .table > tbody > tr:hover { background: #fcfafd; }
.dp-legacy .table td { overflow-wrap: anywhere; }
.dp-legacy .label { border-radius: 20px; padding: 5px 10px; font-size: 11px; font-weight: 600; text-transform: none; }
.dp-legacy .label-default { background: #f0ecf4; color: #66596f; }
.dp-legacy .label-warning { background: #fff1ce; color: #79580b; }
.dp-legacy .label-success { background: #e4f5eb; color: #256545; }
.dp-legacy .label-danger { background: #fce8ec; color: #a32944; }
.dp-legacy .icons-list { display: flex; align-items: center; gap: 6px; padding: 0; list-style: none; }
.dp-legacy .icons-list > li { margin: 0; }
.dp-legacy .icons-list a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 36px; border: 1px solid var(--db-line); border-radius: 8px; background: #fff; }
.dp-legacy .nav-tabs { border-color: var(--db-line); }
.dp-legacy .nav-tabs > li.active > a { color: var(--db-brand); border-bottom-color: var(--db-brand); font-weight: 650; }
.dp-legacy .modal-content { border: 1px solid var(--db-line); border-radius: 14px; box-shadow: 0 20px 80px #24142b30; }
.dp-legacy .modal-header, .dp-legacy .modal-body, .dp-legacy .modal-footer { padding: 22px; }
.dp-legacy .modal-title { font-weight: 650; }
.dp-legacy .modal-footer { border-top: 1px solid var(--db-line); }
.dp-legacy .alert { border-radius: 10px; }
.dp-legacy .dp-legacy-content img { max-width: 100%; }
.dp-legacy .dp-legacy-content iframe { max-width: 100%; }
.dp-legacy .ck-editor__editable_inline { min-height: 200px; }
.dp-legacy .loading-section, .dp-legacy #escurecer-tela { display: none; position: fixed; inset: 0; z-index: 9999; background: #291a3c99; text-align: center; padding-top: 35vh; color: #fff; }
.dp-legacy .loading-section::after { content: 'Carregando…'; display: block; font-size: 18px; }
.dp-legacy .dp-course-nav { border: 1px solid var(--db-line); padding: 20px; border-radius: 12px; background: white; margin-bottom: 24px; }
.dp-legacy .dp-course-nav details { margin-top: 16px; }
.dp-legacy .dp-course-nav summary { cursor: pointer; font-weight: 650; }
.dp-legacy .dp-course-nav li { margin-top: 10px; }
.dp-legacy .dp-course-nav a[aria-current] { font-weight: 700; }
.dp-legacy .dp-empty { padding: 48px 20px; text-align: center; }
.dp-legacy .dp-empty h2 { font-size: 19px; font-weight: 650; }
.dp-legacy .dp-empty p, .dp-legacy .dp-page-description { color: var(--db-muted); margin-top: 10px; }
.dp-legacy .dp-live-actions { min-width: 136px; }
@media (max-width: 1200px) { .dp-legacy .dp-legacy-content { padding: 24px; } }
@media (max-width: 600px) {
    .dp-legacy .dp-legacy-content { padding: 24px 16px; }
    .dp-legacy .page-title h4 { font-size: 25px; }
    .dp-legacy .panel-body, .dp-legacy .panel-heading { padding: 16px; }
    .dp-legacy .page-header .heading-elements { width: 100%; }
    .dp-legacy .page-header .heading-btn-group { display: flex; flex-wrap: wrap; gap: 8px; }
    .dp-legacy .table { min-width: 580px; }
    .dp-legacy .modal-dialog { margin: 16px; }
    .dp-legacy .dataTables_filter, .dp-legacy .dataTables_length { float: none; margin-bottom: 12px; }
    .dp-legacy .dataTables_filter input { max-width: 170px; }
}
.dp-auth { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; background: radial-gradient(ellipse at top left, #eee5f5, transparent 65%), var(--db-background); }
.dp-auth-card { width: 100%; max-width: 440px; }
.dp-auth .login-form { width: 100%; margin: 0; border: 1px solid var(--db-line); border-radius: 18px; padding: 36px; box-shadow: 0 12px 48px #48066d08; background: #fff; }
.dp-auth .login-form > .text-center { margin-bottom: 32px; }
.dp-auth .login-form img { max-width: 250px; height: auto; }
.dp-auth .form-control-feedback { padding-top: 4px; }
.dp-auth .has-feedback-left .form-control { padding-left: 38px; }
.dp-auth .login-options .row { margin: 0; }
.dp-auth .login-options .col-sm-6 { width: auto; padding: 0; }
.dp-auth .login-options a { color: var(--db-brand); }
.dp-auth .form-group:last-child { margin-bottom: 0; }
.dp-auth-caption { margin: 24px 0 0; text-align: center; color: var(--db-muted); font-size: 12px; }
@media (max-width: 600px) { .dp-auth .login-form { padding: 28px 24px; } }
.dp-legacy .dp-shell { align-content: start; }
@media (max-width: 600px) {
    .dp-legacy .dp-lives-table { min-width: 0; }
    .dp-legacy .dp-lives-table thead { display: none; }
    .dp-legacy .dp-lives-table, .dp-legacy .dp-lives-table tbody, .dp-legacy .dp-lives-table tr { display: block; width: 100%; }
    .dp-legacy .dp-lives-table tr + tr { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--db-line); }
    .dp-legacy .dp-lives-table > tbody > tr > td { display: block; border: 0; padding: 6px 0; }
    .dp-legacy .dp-lives-table td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 3px; font-size: 11px; color: var(--db-muted); }
    .dp-legacy .dp-lives-table td[data-label="Descrição"] { font-size: 15px; font-weight: 650; }
    .dp-legacy .dp-lives-table .icons-list a { min-width: 44px; min-height: 44px; }
    .dp-legacy .dp-lives-table .dp-empty { padding: 20px 0; }
}
