/* Gentelella v4 migration bridge: modern shell while legacy PHP views remain intact. */
:root{--v4-bg:#f5f7fb;--v4-surface:#fff;--v4-sidebar:#172033;--v4-sidebar-hover:#26344f;--v4-text:#172033;--v4-muted:#68758a;--v4-line:#e5eaf1;--v4-primary:#1abb9c}
body.nav-md{background:var(--v4-bg);color:var(--v4-text);font-family:Inter,Arial,sans-serif}.nav-md .container.body .col-md-3.left_col{width:264px}.nav-md .main_container .top_nav,.nav-md .container.body .right_col{margin-left:264px}.left_col{background:var(--v4-sidebar)}.nav_title{height:76px;background:transparent}.site_title{height:76px;display:flex;align-items:center;gap:11px;padding:0 20px;font-size:18px;font-weight:800}.mc-app-icon{width:38px!important;height:38px!important;border-radius:12px}.profile{margin:8px 14px 20px;padding:13px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:rgba(255,255,255,.05)}.profile_info{padding-left:12px}.profile_info h2{font-size:15px}.profile_info span,.profile_info small{color:#aebbd0}.main_menu_side{padding:0 10px}.menu_section h3{padding-left:10px;color:#7f8ca2;font-size:10px;letter-spacing:.1em}.nav.side-menu>li>a{margin:3px 0;border-radius:8px;color:#d4ddec;font-weight:700}.nav.side-menu>li>a:hover,.nav.side-menu>li.active>a{background:var(--v4-sidebar-hover);color:#fff}.nav.child_menu{background:transparent}.nav.child_menu li{padding-left:18px}.nav.child_menu li a{color:#b8c4d7}.top_nav{height:68px;box-shadow:0 1px 0 var(--v4-line)}.nav_menu{height:68px;background:var(--v4-surface)}.nav.toggle a{padding:19px 22px;color:#526174}.nav.navbar-nav>li>a{min-height:68px;padding-top:17px;color:var(--v4-text)}.right_col{min-height:calc(100vh - 68px);padding:28px 30px 48px;background:var(--v4-bg)}.page-title{margin-bottom:22px}.page-title h3{font-size:27px;font-weight:800;color:var(--v4-text)}.page-title h3 small{display:block;margin-top:5px;color:var(--v4-muted);font-size:14px}.x_panel,.admin-panel,.church-panel{border:1px solid var(--v4-line);border-radius:14px;box-shadow:none;background:var(--v4-surface)}.x_panel{padding:18px}.x_title{border-bottom:1px solid var(--v4-line)}.x_title h2{font-weight:800;color:var(--v4-text)}.btn{border-radius:8px;font-weight:700}.btn-success,.btn-primary{border-color:var(--v4-primary);background:var(--v4-primary)}.table>thead>tr>th{border-bottom:0;color:#fff;background:#263b57}.table>tbody>tr>td{border-color:var(--v4-line)}footer{border-top:1px solid var(--v4-line);background:var(--v4-surface)}
@media(max-width:991px){.nav-md .container.body .col-md-3.left_col{width:0}.nav-md .main_container .top_nav,.nav-md .container.body .right_col{margin-left:0}.right_col{padding:22px 16px 38px}.left_col{z-index:2000}.nav-md .container.body .col-md-3.left_col{display:none}.nav-md.nav-sm .container.body .col-md-3.left_col{display:block;width:264px}.nav-md.nav-sm .main_container .top_nav,.nav-md.nav-sm .container.body .right_col{margin-left:0}.top_nav,.nav_menu{height:62px}.nav.navbar-nav>li>a{min-height:62px;padding-top:14px}}
@media(max-width:600px){.right_col{padding:18px 12px 32px}.page-title h3{font-size:23px}.x_panel{padding:13px;border-radius:11px}.profile{margin-top:5px}.nav_menu .navbar-right{margin:0}.nav.toggle a{padding:16px}.mc-language-form select{max-width:92px}.mc-language-menu{padding:0 2px}.nav.navbar-nav>li>a{padding-left:7px;padding-right:7px}.user-avatar-sm{margin-right:0}.mc-user-name{display:none}}

/* Controles e superfícies do tema atual. */
.mc-page-search-wrap{width:320px}.mc-page-search{position:relative;display:flex;align-items:center;height:40px;margin:14px 8px 0;border:1px solid var(--v4-line);border-radius:8px;background:#f8fafc;color:#8a98aa}.mc-page-search>i{padding:0 10px}.mc-page-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:inherit;font-size:13px}.mc-page-search input::placeholder{color:#a4afbd}.mc-page-search kbd{margin-right:7px;padding:2px 5px;border:1px solid #d8e0e9;border-radius:4px;background:#fff;color:#758399;font-size:10px;white-space:nowrap}.mc-page-search-results{position:absolute;z-index:2100;top:calc(100% + 7px);left:0;display:none;width:100%;max-height:360px;overflow:auto;padding:6px;border:1px solid var(--v4-line);border-radius:10px;background:#fff;box-shadow:0 15px 32px rgba(23,32,51,.16)}.mc-page-search.is-open .mc-page-search-results{display:block}.mc-page-search-results a{display:flex;gap:9px;align-items:flex-start;padding:9px;border-radius:7px;color:var(--v4-text);line-height:1.15}.mc-page-search-results a:hover,.mc-page-search-results a:focus{background:#edf8f6;text-decoration:none}.mc-page-search-results a>i{margin-top:2px;color:var(--v4-primary)}.mc-page-search-results span{display:block;font-size:13px;font-weight:700}.mc-page-search-results small{display:block;margin-top:3px;color:var(--v4-muted);font-size:11px;font-weight:400}.mc-page-search-empty{display:none;margin:8px;padding:8px;color:var(--v4-muted);font-size:13px}.mc-page-search.no-results .mc-page-search-empty{display:block}.mc-theme-menu{margin-top:9px}.mc-theme-form{display:block}.mc-theme-toggle{width:40px;height:40px;border:0;border-radius:8px;background:transparent;color:#526174;font-size:18px}.mc-theme-toggle:hover,.mc-theme-toggle:focus{background:#edf8f6;color:var(--v4-primary);outline:0}

body.mc-theme-dark{--v4-bg:#101827;--v4-surface:#172033;--v4-sidebar:#0c1422;--v4-sidebar-hover:#26344f;--v4-text:#edf3fb;--v4-muted:#a9b6c8;--v4-line:#2a3951;--mc-bg:#101827;--mc-border:#2a3951;--mc-text:#b6c2d2;--mc-heading:#f4f8fd;background:#101827;color:#edf3fb}body.mc-theme-dark .nav_menu,body.mc-theme-dark .x_panel,body.mc-theme-dark .admin-panel,body.mc-theme-dark .church-panel,body.mc-theme-dark footer{background:var(--v4-surface);color:var(--v4-text)}body.mc-theme-dark .top_nav{box-shadow:0 1px 0 var(--v4-line)}body.mc-theme-dark .nav.navbar-nav>li>a,body.mc-theme-dark .page-title h3,body.mc-theme-dark .x_title h2,body.mc-theme-dark h1,body.mc-theme-dark h2,body.mc-theme-dark h3,body.mc-theme-dark h4,body.mc-theme-dark h5{color:var(--v4-text)}body.mc-theme-dark .x_panel,body.mc-theme-dark .admin-panel,body.mc-theme-dark .church-panel,body.mc-theme-dark .form-control,body.mc-theme-dark .select2-container--default .select2-selection--single,body.mc-theme-dark .select2-container--default .select2-selection--multiple{border-color:var(--v4-line)}body.mc-theme-dark .form-control,body.mc-theme-dark .select2-container--default .select2-selection--single,body.mc-theme-dark .select2-container--default .select2-selection--multiple,body.mc-theme-dark .select2-dropdown{background:#111b2b;color:var(--v4-text)}body.mc-theme-dark .select2-container--default .select2-selection--single .select2-selection__rendered,body.mc-theme-dark .table>tbody>tr>td,body.mc-theme-dark .text-muted,body.mc-theme-dark .page-title small,body.mc-theme-dark .x_title h2 small{color:var(--mc-text)!important}body.mc-theme-dark .table-striped>tbody>tr:nth-of-type(odd),body.mc-theme-dark .table-hover>tbody>tr:hover{background:#1c2940!important}body.mc-theme-dark .table>tbody>tr>td,body.mc-theme-dark .x_title,body.mc-theme-dark .table>tbody>tr{border-color:var(--v4-line)}body.mc-theme-dark .mc-page-search{border-color:var(--v4-line);background:#111b2b;color:var(--v4-text)}body.mc-theme-dark .mc-page-search kbd{border-color:#33435b;background:#1d2a3f;color:#b9c6d6}.mc-theme-dark .mc-page-search-results{border-color:var(--v4-line);background:#172033;box-shadow:0 15px 32px rgba(0,0,0,.34)}.mc-theme-dark .mc-page-search-results a{color:var(--v4-text)}.mc-theme-dark .mc-page-search-results a:hover,.mc-theme-dark .mc-page-search-results a:focus,.mc-theme-dark .mc-theme-toggle:hover,.mc-theme-dark .mc-theme-toggle:focus{background:#26344f}.mc-theme-dark .dropdown-menu{background:#172033;border-color:var(--v4-line)}.mc-theme-dark .dropdown-menu>li>a{color:var(--v4-text)}.mc-theme-dark .dropdown-menu>li>a:hover{background:#26344f;color:#fff}
@media(max-width:991px){.mc-page-search-wrap{width:230px}.mc-page-search{margin-left:0}}
@media(max-width:700px){.mc-page-search-wrap{width:auto;max-width:calc(100vw - 220px);flex:1}.mc-page-search{margin-right:0}.mc-page-search kbd{display:none}.mc-page-search-results{position:fixed;top:66px;left:12px;width:calc(100vw - 24px);max-height:calc(100vh - 86px)}.mc-theme-menu{margin-top:8px}.mc-theme-toggle{width:36px}.mc-language-menu{display:none}}

/* No celular, a busca ocupa uma segunda linha para não encobrir o título da página. */
@media(max-width:700px){.top_nav,.nav_menu{height:116px!important}.top_nav .nav_menu>nav{position:relative;height:116px}.nav.toggle{position:absolute;top:0;left:0;z-index:2}.nav_menu .navbar-right{position:absolute;top:0;right:8px;display:flex!important;align-items:center;float:none!important;height:58px;margin:0!important}.nav_menu .navbar-right>li{float:none!important}.mc-page-search-wrap{position:absolute!important;top:58px;left:12px;right:12px;width:auto!important;max-width:none!important}.mc-page-search{width:100%;height:42px;margin:0!important}.mc-page-search-results{top:calc(100% + 7px);left:0;width:100%;max-height:calc(100vh - 134px)}.mc-theme-menu{margin:0}.nav-md .container.body .right_col{min-height:calc(100vh - 116px)}}

/* Neutraliza as larguras e floats fixos do Gentelella legado. */
.nav-md .sidebar-footer{width:264px!important;display:flex;background:var(--v4-sidebar)}.nav-md .sidebar-footer a{float:none!important;flex:1;width:auto!important}
.mc-login-actions+.mc-google-login{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:12px;min-height:42px;border-color:#d8dee8;background:#fff;color:#40516a}.mc-login-actions+.mc-google-login:hover{border-color:#c8d2e0;background:#f7f9fc;color:#263b57}.mc-google-mark{display:inline-flex;width:18px;height:18px;flex:0 0 18px}.mc-google-mark svg{display:block;width:100%;height:100%}
@media(min-width:701px){.top_nav .navbar-right{display:flex!important;align-items:center;justify-content:flex-end;width:auto!important;margin:0 16px 0 0!important;float:right!important}.top_nav .navbar-right>li{float:none!important;display:block}.mc-page-search{margin-left:0}}

.mc-docs-menu{margin-top:14px}.top_nav .navbar-right li a.mc-docs-link{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:8px 12px;border:1px solid #8de1d2;border-radius:7px;color:var(--v4-primary)!important;font-weight:700;line-height:20px}.top_nav .navbar-right li a.mc-docs-link:hover{background:#edf8f6}
@media(max-width:700px){.top_nav,.nav_menu{height:62px!important}.top_nav .nav_menu>nav{height:62px}.nav_menu .navbar-right{height:62px}.mc-page-search-wrap{display:none!important}.mc-docs-menu{margin:0}.top_nav .navbar-right li a.mc-docs-link{min-height:36px;padding:7px 10px}.mc-theme-menu{margin:0}.mc-language-menu{display:block!important;margin:0!important;padding:0!important}.mc-language-form{display:flex;align-items:center;height:62px}.mc-language-form>i{display:none}.mc-language-form select{width:82px;max-width:82px!important;padding:6px 4px;font-size:11px}.nav-md .container.body .right_col{min-height:calc(100vh - 62px)}}

/* Distribuição do cabeçalho no padrão do tema: contexto, busca central e controles à direita. */
.top_nav .nav_menu>nav{position:relative}.mc-top-breadcrumb{position:absolute;top:0;left:70px;display:flex;align-items:center;gap:7px;height:68px;color:var(--v4-muted);font-size:13px}.mc-top-breadcrumb strong{color:var(--v4-text);font-weight:700}.mc-top-breadcrumb i{color:#aab5c4}.top_nav .navbar-right .mc-page-search-wrap{position:absolute;top:0;left:50%;width:320px;transform:translateX(-50%)}.top_nav .navbar-right .mc-page-search{margin-top:14px}
@media(max-width:1050px){.mc-top-breadcrumb{display:none}}
@media(min-width:1200px){.top_nav .navbar-right{min-width:calc(340px + 430px)!important;padding-left:340px!important}.top_nav .navbar-right .mc-docs-menu{margin-left:0!important}}
@media(max-width:700px){.mc-top-breadcrumb{display:none}.top_nav .navbar-right .mc-page-search-wrap{display:none!important}}

@media(max-width:700px){form.mc-client-filter{display:block;margin:0!important}form.mc-client-filter>[class*="col-"]{float:none!important;width:100%!important;padding:0!important}form.mc-client-filter .form-group{margin-bottom:14px}form.mc-client-filter .form-control,form.mc-client-filter .btn-block{width:100%!important;min-height:44px}form.mc-client-filter label{display:block;margin-bottom:6px}}

/* Cabeçalho desktop: a busca participa do fluxo e nunca cobre os atalhos. */
@media(min-width:701px){.top_nav .nav_menu>nav{display:flex;align-items:center;min-width:0}.top_nav .nav.toggle{position:relative;flex:0 0 70px}.top_nav .mc-top-breadcrumb{position:static;flex:0 1 310px;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.top_nav .navbar-right{position:static;display:flex!important;align-items:center;flex:1 1 auto;min-width:0!important;margin:0 16px 0 0!important;padding-left:0!important;float:none!important}.top_nav .navbar-right .mc-page-search-wrap{position:static!important;top:auto;left:auto;flex:1 1 300px;width:auto;max-width:420px;min-width:180px;margin-left:auto;transform:none!important}.top_nav .navbar-right .mc-page-search{width:100%;margin:14px 8px 14px 0}.top_nav .navbar-right>li:not(.mc-page-search-wrap){flex:0 0 auto}}
@media(min-width:701px) and (max-width:1050px){.top_nav .navbar-right .mc-page-search-wrap{max-width:none}.top_nav .navbar-right .mc-page-search{margin-left:0}.top_nav .navbar-right .mc-docs-menu{margin-top:14px}}

@media(max-width:767px){.table-responsive:has(.mc-client-table):before{display:none}.table-responsive:has(.mc-client-table){overflow:visible}.mc-client-table{min-width:0!important;width:100%!important}.mc-client-table td,.mc-client-table th{min-width:0!important;white-space:normal!important}.mc-client-table td:not([data-label="Ações"])>*{min-width:0;max-width:55%;overflow-wrap:anywhere}.mc-client-table td[data-label="Igreja"]{display:block;text-align:left}.mc-client-table td[data-label="Igreja"]::before{display:block;max-width:100%;margin-bottom:6px}.mc-client-table td[data-label="Igreja"] strong,.mc-client-table td[data-label="Igreja"] small{display:block;max-width:100%;overflow-wrap:anywhere}.mc-client-table td[data-label="Ações"]{display:block;text-align:left}.mc-client-table td[data-label="Ações"]::before{display:block;max-width:100%;margin-bottom:8px}.mc-client-table td[data-label="Ações"] .btn{display:flex!important;align-items:center;justify-content:center;width:100%;min-height:44px;margin:6px 0!important;line-height:1.2;text-align:center}}

@media(max-width:767px){.mc-client-table td[data-label="Estrutura"]{display:block;text-align:left}.mc-client-table td[data-label="Estrutura"]::before{display:block;max-width:100%;margin-bottom:6px}.mc-client-table td[data-label="Estrutura"] br{display:none}.mc-client-table td[data-label="Estrutura"] small{display:block;margin-top:4px;max-width:100%;overflow-wrap:anywhere}}

@media(max-width:767px){.table-responsive:has(.mc-landing-pages-table):before{display:none}.table-responsive:has(.mc-landing-pages-table){overflow:visible}.mc-landing-pages-table{min-width:0!important;width:100%!important}.mc-landing-pages-table td,.mc-landing-pages-table th{min-width:0!important;white-space:normal!important}.mc-landing-pages-table td{overflow-wrap:anywhere}.mc-landing-pages-table td[data-label="Igreja"]{display:block;text-align:left}.mc-landing-pages-table td[data-label="Igreja"]::before{display:block;max-width:100%;margin-bottom:6px}.mc-landing-pages-table td[data-label="Igreja"] strong,.mc-landing-pages-table td[data-label="Igreja"] small{display:block;max-width:100%;overflow-wrap:anywhere}.mc-landing-pages-table td[data-label="Endereço público"]{display:block;text-align:left}.mc-landing-pages-table td[data-label="Endereço público"]::before{display:block;max-width:100%;margin-bottom:6px}.mc-landing-pages-table td[data-label="Endereço público"] code{display:block;white-space:normal;overflow-wrap:anywhere}.mc-landing-pages-table td[data-label="Ações"]{display:block;text-align:left}.mc-landing-pages-table td[data-label="Ações"]::before{display:block;max-width:100%;margin-bottom:8px}.mc-landing-pages-table td[data-label="Ações"] .btn{display:flex!important;align-items:center;justify-content:center;width:100%;min-height:44px;margin:6px 0!important;text-align:center}}

@media(max-width:767px){.licenses-page .page-title{height:auto!important;min-height:0!important;padding:10px 0 14px;overflow:hidden}.licenses-page .page-title .title_left,.licenses-page .page-title .title_right{float:none;width:100%;text-align:left}.licenses-page .page-title .title_left h3{font-size:24px;line-height:1.2}.licenses-page .page-title .title_right{display:grid;grid-template-columns:1fr;gap:8px;margin-top:12px}.licenses-page .page-title .title_right .btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;margin:0}.licenses-page .tile_count{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 18px}.licenses-page .tile_count .tile_stats_count{float:none;width:auto;min-height:108px;padding:14px;margin:0;border:1px solid var(--v4-line);border-radius:12px;background:var(--v4-surface);box-shadow:0 5px 15px rgba(23,32,51,.06)}.licenses-page .tile_count .tile_stats_count:nth-child(1){border-top:3px solid #3498db}.licenses-page .tile_count .tile_stats_count:nth-child(2){border-top:3px solid #1abb9c}.licenses-page .tile_count .tile_stats_count:nth-child(3){border-top:3px solid #e74c3c}.licenses-page .tile_count .tile_stats_count:nth-child(4){border-top:3px solid #f39c12}.licenses-page .tile_count .count_top{display:block;font-size:12px;color:var(--v4-muted)}.licenses-page .tile_count .count{margin:8px 0 0;font-size:32px;line-height:1;font-weight:800}.licenses-page form.row{display:block;margin:0}.licenses-page form.row>[class*="col-"]{float:none;width:100%;padding:0}.licenses-page form.row .form-control,.licenses-page form.row .btn-block{min-height:44px;width:100%}.licenses-page form.row .form-group{margin-bottom:14px}}

/* Wizard de edição: dimensões equilibradas em desktop, tablet e celular. */
/* Pagamentos: resumo e lista em leitura confortável no celular. */
@media(max-width:767px){body.payments-page .page-title{height:auto!important;min-height:0!important;padding:10px 0 14px;margin-bottom:12px;overflow:hidden}body.payments-page .page-title .title_left,body.payments-page .page-title .title_right{float:none!important;width:100%!important;text-align:left!important}body.payments-page .page-title .title_left h3{font-size:24px;line-height:1.2}body.payments-page .page-title .title_right{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}body.payments-page .page-title .title_right .btn{display:flex;align-items:center;justify-content:center;min-height:42px;margin:0!important}body.payments-page .billing-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 18px}body.payments-page .billing-summary>[class*="col-"]{float:none!important;width:auto!important;padding:0!important}body.payments-page .billing-summary .billing-card{height:100%;min-height:112px;margin:0!important;padding:0!important;border:1px solid var(--v4-line);border-left:4px solid #1abb9c;border-radius:12px;box-shadow:0 5px 15px rgba(23,32,51,.06)}body.payments-page .billing-summary .billing-card .x_content{padding:14px!important;margin:0!important}body.payments-page .billing-summary .billing-value{margin-top:8px;font-size:28px;line-height:1.1}body.payments-page form.row{display:block;margin:0}body.payments-page form.row>[class*="col-"]{float:none!important;width:100%!important;padding:0!important}body.payments-page form.row .form-group{margin-bottom:14px}body.payments-page form.row .form-control,body.payments-page form.row .btn-block{width:100%!important;min-height:44px}body.payments-page .table-responsive:has(.mc-payment-table):before{display:none}body.payments-page .table-responsive:has(.mc-payment-table){overflow:visible}body.payments-page .mc-payment-table,body.payments-page .mc-payment-table tbody,body.payments-page .mc-payment-table tr,body.payments-page .mc-payment-table td{display:block;width:100%;min-width:0!important}body.payments-page .mc-payment-table thead{display:none}body.payments-page .mc-payment-table tr{margin:0 0 12px;border:1px solid var(--v4-line);border-radius:10px;overflow:hidden;background:var(--v4-surface)}body.payments-page .mc-payment-table td{display:flex!important;gap:12px;justify-content:space-between;align-items:flex-start;padding:10px 12px!important;border:0!important;border-bottom:1px solid var(--v4-line)!important;text-align:right;overflow-wrap:anywhere}body.payments-page .mc-payment-table td:last-child{border-bottom:0!important}body.payments-page .mc-payment-table td:before{content:attr(data-label);flex:0 0 42%;color:var(--v4-text);font-weight:800;text-align:left}body.payments-page .mc-payment-table td>*{max-width:56%;text-align:right}body.payments-page .mc-payment-table td .btn{display:flex;align-items:center;justify-content:center;width:56%;min-height:40px;margin:0!important}}

@media(max-width:767px){.licenses-page .tile_count:before,.licenses-page .tile_count:after{display:none!important;content:none!important}}

/* Planos comerciais: cadastro separado da listagem. */
.plan-list-page .plan-editor-inline{display:none}.plan-list-page .plan-list-column{width:100%!important}.license-plan-form{max-width:860px;margin:0 auto}.license-plan-form .form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px;padding-top:18px;border-top:1px solid var(--v4-line)}
@media(max-width:767px){.plan-list-page .page-title,.license-plan-form-page .page-title{height:auto!important;min-height:0!important;padding:10px 0 14px;overflow:hidden}.plan-list-page .page-title .title_left,.plan-list-page .page-title .title_right,.license-plan-form-page .page-title .title_left,.license-plan-form-page .page-title .title_right{float:none!important;width:100%!important;text-align:left!important}.plan-list-page .page-title .title_right,.license-plan-form-page .page-title .title_right{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.plan-list-page .page-title .title_right .btn,.license-plan-form-page .page-title .title_right .btn{display:flex;align-items:center;justify-content:center;min-height:42px;margin:0!important}.license-plan-form .row{margin:0}.license-plan-form [class*="col-sm-"]{float:none!important;width:100%!important;padding:0}.license-plan-form .form-actions{flex-direction:column-reverse}.license-plan-form .form-actions .btn{display:flex;justify-content:center;align-items:center;width:100%;min-height:44px;margin:0}.plan-list-page .table-responsive{overflow-x:auto}.plan-list-page .table{min-width:720px}}

@media(max-width:767px){.plan-list-page .table-responsive:has(.mc-plan-table):before{display:none}.plan-list-page .table-responsive:has(.mc-plan-table){overflow:visible}.plan-list-page .mc-plan-table,.plan-list-page .mc-plan-table tbody,.plan-list-page .mc-plan-table tr,.plan-list-page .mc-plan-table td{display:block;width:100%;min-width:0!important}.plan-list-page .mc-plan-table thead{display:none}.plan-list-page .mc-plan-table tr{margin:0 0 12px;border:1px solid var(--v4-line);border-radius:10px;overflow:hidden;background:var(--v4-surface)}.plan-list-page .mc-plan-table td{display:flex!important;justify-content:space-between;align-items:flex-start;gap:12px;padding:10px 12px!important;border:0!important;border-bottom:1px solid var(--v4-line)!important;text-align:right;overflow-wrap:anywhere}.plan-list-page .mc-plan-table td:last-child{border-bottom:0!important}.plan-list-page .mc-plan-table td:before{content:attr(data-label);flex:0 0 42%;font-weight:800;color:var(--v4-text);text-align:left}.plan-list-page .mc-plan-table td>*{max-width:56%;text-align:right}.plan-list-page .mc-plan-table td .btn{display:flex;align-items:center;justify-content:center;width:56%;min-height:40px;margin:0 0 6px!important}.plan-list-page .mc-plan-table td .btn:last-child{margin-bottom:0!important}}

@media(max-width:767px){.plan-list-page .mc-plan-table td[data-label=""]{display:none!important}.plan-list-page .mc-plan-table td:last-child{display:flex!important;flex-direction:column;align-items:stretch;text-align:left}.plan-list-page .mc-plan-table td:last-child:before{flex:none;max-width:none;margin-bottom:2px}.plan-list-page .mc-plan-table td:last-child form{display:block!important;width:100%}.plan-list-page .mc-plan-table td:last-child .btn{width:100%;max-width:none;margin:5px 0!important}}

@media(max-width:767px){.license-plan-form-page .page-title .title_right{grid-template-columns:1fr}}

@media(max-width:767px){.landing-media-page .page-title{height:auto!important;min-height:0!important;overflow:hidden}.landing-media-page .page-title .title_left,.landing-media-page .page-title .title_right{float:none!important;width:100%!important;text-align:left!important}.landing-media-page .page-title .title_right{margin-top:12px}.landing-media-page .page-title .title_right .btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;margin:0!important}.landing-media-page>.row>[class*="col-md-"]{float:none!important;width:100%!important;padding:0}.landing-media-page .table-responsive:has(.mc-landing-media-table){overflow:visible}.landing-media-page .mc-landing-media-table,.landing-media-page .mc-landing-media-table tbody,.landing-media-page .mc-landing-media-table tr,.landing-media-page .mc-landing-media-table td{display:block;width:100%;min-width:0!important}.landing-media-page .mc-landing-media-table thead{display:none}.landing-media-page .mc-landing-media-table tr{margin:0 0 12px;border:1px solid var(--v4-line);border-radius:10px;overflow:hidden}.landing-media-page .mc-landing-media-table td{display:flex!important;justify-content:space-between;gap:12px;padding:10px 12px!important;border:0!important;border-bottom:1px solid var(--v4-line)!important;text-align:right}.landing-media-page .mc-landing-media-table td:before{content:attr(data-label);flex:0 0 42%;font-weight:800;text-align:left}.landing-media-page .mc-landing-media-table td:last-child{display:flex!important;flex-direction:column;align-items:stretch;text-align:left}.landing-media-page .mc-landing-media-table td:last-child:before{flex:none}.landing-media-page .mc-landing-media-table td:last-child form{display:block!important;width:100%}.landing-media-page .mc-landing-media-table td:last-child .btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:40px;margin:5px 0!important}}

@media(max-width:767px){.landing-media-page .x_panel form .row{margin:0}.landing-media-page .x_panel form .row>[class*="col-sm-"]{float:none!important;width:100%!important;padding:0}}

@media(max-width:767px){.landing-media-page .right_col>.row{margin-left:0!important;margin-right:0!important}.landing-media-page .right_col>.row>[class*="col-md-"]{float:none!important;width:100%!important;padding-left:0!important;padding-right:0!important}}

@media(max-width:767px){.landing-media-page .col-md-5,.landing-media-page .col-md-7{float:none!important;width:100%!important;padding-left:0!important;padding-right:0!important}}

 .mc-user-list-person{display:flex;align-items:center;gap:9px}.mc-user-list-person img,.mc-user-list-initial{width:34px;height:34px;border-radius:50%;object-fit:cover}.mc-user-list-initial{display:inline-flex;align-items:center;justify-content:center;background:#1abb9c;color:#fff;font-weight:800}@media(max-width:767px){.users-page .table-responsive:has(.mc-users-table){overflow:visible}.users-page .mc-users-table,.users-page .mc-users-table tbody,.users-page .mc-users-table tr,.users-page .mc-users-table td{display:block;width:100%;min-width:0!important}.users-page .mc-users-table thead{display:none}.users-page .mc-users-table tr{margin:0 0 12px;border:1px solid var(--v4-line);border-radius:10px;overflow:hidden}.users-page .mc-users-table td{display:flex!important;justify-content:space-between;gap:12px;padding:10px 12px!important;border:0!important;border-bottom:1px solid var(--v4-line)!important;text-align:right;overflow-wrap:anywhere}.users-page .mc-users-table td:before{content:attr(data-label);flex:0 0 38%;font-weight:800;text-align:left}.users-page .mc-users-table td:first-child{display:block!important;text-align:left}.users-page .mc-users-table td:first-child:before{display:none}.users-page .mc-users-table td:last-child{display:block!important;text-align:left}.users-page .mc-users-table td:last-child:before{display:block;margin-bottom:8px}.users-page .mc-users-table td:last-child .btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;margin:0!important}.users-page .dataTables_length,.users-page .pagination{float:none!important;text-align:center}.users-page .dataTables_length select{min-height:42px;width:auto!important;margin-left:8px}}

@media(max-width:767px){.profiles-page .table-responsive:has(.mc-profiles-table){overflow:visible}.profiles-page .mc-profiles-table,.profiles-page .mc-profiles-table tbody,.profiles-page .mc-profiles-table tr,.profiles-page .mc-profiles-table td{display:block;width:100%;min-width:0!important}.profiles-page .mc-profiles-table thead{display:none}.profiles-page .mc-profiles-table tr{margin:0 0 12px;border:1px solid var(--v4-line);border-radius:10px;overflow:hidden;background:var(--v4-surface)}.profiles-page .mc-profiles-table td{padding:10px 12px!important;border:0!important;border-bottom:1px solid var(--v4-line)!important}.profiles-page .mc-profiles-table td[data-label="Perfil"]{padding-bottom:3px!important;font-weight:800;font-size:16px;color:var(--v4-text)}.profiles-page .mc-profiles-table td[data-label="DescriÃ§Ã£o"]{padding-top:2px!important;color:var(--v4-muted);font-size:13px;line-height:1.4}.profiles-page .mc-profiles-table td[data-label="Tipo"],.profiles-page .mc-profiles-table td[data-label="Atualizado em"]{display:none!important}.profiles-page .mc-profiles-table td[data-label="Status"]{display:flex!important;align-items:center;justify-content:space-between;gap:10px}.profiles-page .mc-profiles-table td[data-label="Status"]:before{content:'Status';font-weight:800;color:var(--v4-text)}.profiles-page .mc-profiles-table td[data-label="AÃ§Ãµes"]{border-bottom:0!important}.profiles-page .mc-profiles-table td[data-label="AÃ§Ãµes"]:before{content:'Ações';display:block;font-weight:800;margin-bottom:8px}.profiles-page .mc-profiles-table td[data-label="AÃ§Ãµes"] .btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;margin:0!important}}

@media(max-width:767px){.profiles-page .mc-profiles-table tbody tr td:nth-child(2){padding-top:2px!important;color:var(--v4-muted);font-size:13px;line-height:1.4}.profiles-page .mc-profiles-table tbody tr td:nth-child(3),.profiles-page .mc-profiles-table tbody tr td:nth-child(5){display:none!important}.profiles-page .mc-profiles-table tbody tr td:nth-child(4){display:flex!important;align-items:center;justify-content:space-between;gap:10px}.profiles-page .mc-profiles-table tbody tr td:nth-child(4):before{content:'Status';font-weight:800;color:var(--v4-text)}.profiles-page .mc-profiles-table tbody tr td:nth-child(6){border-bottom:0!important}.profiles-page .mc-profiles-table tbody tr td:nth-child(6):before{content:'Ações';display:block;font-weight:800;margin-bottom:8px}.profiles-page .mc-profiles-table tbody tr td:nth-child(6) .btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;margin:0!important}}

/* Edição de perfil alinhada ao layout de gestão. */
.profile-edit-page .profile-edit-card{max-width:1120px;margin:0 auto}.profile-edit-page .profile-edit-card>.x_title{display:flex;align-items:center;min-height:58px}.profile-edit-page .profile-edit-card>.x_title h2{font-size:19px}.profile-edit-page .profile-edit-card .ln_solid{margin:24px 0}.profile-edit-page .profile-edit-card h4{margin:0 0 8px;font-size:17px;font-weight:800;color:var(--v4-text)}.profile-edit-page .profile-edit-card .checkbox{min-height:52px;margin:0 0 10px;padding:12px;border:1px solid var(--v4-line);border-radius:9px;background:var(--v4-surface)}.profile-edit-page .profile-edit-card .checkbox label{display:block;margin:0}.profile-edit-page .profile-edit-card>.x_content>form>.btn{min-height:44px}.profile-edit-page .profile-edit-card>.x_content>form>.btn-success{min-width:180px}@media(max-width:767px){.profile-edit-page .page-title{height:auto!important;min-height:0!important;margin-bottom:14px;overflow:hidden}.profile-edit-page .page-title .title_left,.profile-edit-page .page-title .title_right{float:none!important;width:100%!important;text-align:left!important}.profile-edit-page .page-title .title_right{margin-top:12px}.profile-edit-page .page-title .title_right .btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;margin:0!important}.profile-edit-page .profile-edit-card .row{margin:0}.profile-edit-page .profile-edit-card [class*="col-md-"],.profile-edit-page .profile-edit-card [class*="col-sm-"]{float:none!important;width:100%!important;padding-left:0;padding-right:0}.profile-edit-page .profile-edit-card .checkbox{padding:12px}.profile-edit-page .profile-edit-card>.x_content>form>.btn{display:flex;align-items:center;justify-content:center;width:100%;margin:8px 0 0}.profile-edit-page .permission-section{margin-top:20px}}

/* Edição de usuário: resumo visual, cadastro e acesso. */
.user-edit-page .user-profile-hero{display:flex;align-items:center;gap:18px;max-width:1100px;margin:0 auto 18px;padding:20px;border:1px solid var(--v4-line);border-radius:14px;background:var(--v4-surface)}.user-edit-page .user-profile-hero img,.user-edit-page .user-profile-hero>span{display:grid;place-items:center;width:84px;height:84px;flex:0 0 84px;border-radius:50%;object-fit:cover;background:#1abb9c;color:#fff;font-size:30px;font-weight:800}.user-edit-page .user-profile-hero h2{margin:0 0 3px;color:var(--v4-text);font-size:23px;font-weight:800}.user-edit-page .user-profile-hero p{margin:0 0 8px;color:var(--v4-muted)}.user-edit-page .user-profile-hero small{display:block;margin-top:9px;color:var(--v4-muted)}.user-edit-page .user-edit-card{max-width:1100px;margin:0 auto}.user-edit-page .user-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0}.user-edit-page .user-edit-grid>[class*="col-"]{float:none;width:auto;padding:0;margin:0}.user-edit-page .user-edit-grid>[class*="col-"]:first-child{grid-column:1/-1;padding:16px;border:1px solid var(--v4-line);border-radius:12px;background:#f8fafb}.user-edit-page .user-edit-grid .mc-user-photo-field{max-width:none}.user-edit-page .user-edit-card>.x_content>form>.btn{min-height:44px}.user-edit-page .user-edit-card>.x_content>form>.btn-success{min-width:190px}@media(max-width:767px){.user-edit-page .page-title{height:auto!important;min-height:0!important;margin-bottom:14px;overflow:hidden}.user-edit-page .page-title .title_left,.user-edit-page .page-title .title_right{float:none!important;width:100%!important;text-align:left!important}.user-edit-page .page-title .title_right{margin-top:12px}.user-edit-page .page-title .title_right .btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;margin:0!important}.user-edit-page .user-profile-hero{align-items:flex-start;padding:15px;gap:12px}.user-edit-page .user-profile-hero img,.user-edit-page .user-profile-hero>span{width:58px;height:58px;flex-basis:58px;font-size:21px}.user-edit-page .user-profile-hero h2{font-size:19px}.user-edit-page .user-profile-hero small{font-size:11px}.user-edit-page .user-edit-grid{grid-template-columns:1fr}.user-edit-page .user-edit-grid>[class*="col-"]{width:100%!important}.user-edit-page .user-edit-grid .mc-user-photo-field{align-items:flex-start}.user-edit-page .user-edit-card>.x_content>form>.btn{display:flex;align-items:center;justify-content:center;width:100%;margin:8px 0 0}}

.church-wizard{display:block!important;width:100%!important;max-width:1100px!important;margin:0 auto!important}.church-wizard .x_content{float:none!important;clear:both!important;display:block!important;width:100%!important}.church-wizard .wizard-pane .row{margin-left:-10px;margin-right:-10px}@media(min-width:768px) and (max-width:1199px){.church-wizard{max-width:900px!important}}@media(max-width:767px){.church-wizard{max-width:none!important;margin:0!important}.church-wizard .wizard-pane .row{margin:0}.church-wizard .wizard-pane [class*="col-"]{float:none!important;width:100%!important;padding-left:0;padding-right:0}}
