.app-page-card {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(20, 32, 46, 0.12);
    overflow: hidden;
}

.app-page-card-header {
    background: #fbfcfe;
    border-bottom: 1px solid #e5eaf0;
    padding: 14px 16px;
}

.app-page-card-body {
    background: #ffffff;
    margin: 0;
    padding: 14px;
}

.app-page-icon {
    align-items: center;
    background: #eef7f6;
    border: 1px solid #d5ebea;
    border-radius: 8px;
    display: flex;
    height: 56px;
    justify-content: center;
    min-width: 56px;
    width: 56px;
}

.app-page-icon img {
    height: 38px;
    object-fit: contain;
    width: 38px;
}

.app-page-title {
    margin-left: 14px;
}

.app-page-title h5 {
    color: #162033;
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0 0 3px;
}

.app-page-title label {
    color: #607084;
    font-size: 0.86rem;
    margin: 0;
}

select.form-control:not([multiple]):not([size]) {
    appearance: none;
    -webkit-appearance: none;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2324364f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-position: right 11px center;
    background-repeat: no-repeat;
    background-size: 14px 14px;
    cursor: pointer;
    padding-right: 34px !important;
}

select.form-control:not([multiple]):not([size]):disabled {
    background-color: #f4f7fb;
    cursor: not-allowed;
    opacity: 1;
}

.app-page-actions {
    min-width: 320px;
}

.app-filter-group {
    border: 1px solid #d8e0ea;
    border-radius: 6px;
    min-height: 38px;
    overflow: visible;
}

.app-filter-group .input-group-prepend,
.app-filter-group .input-group-append {
    display: flex;
}

.app-filter-group .form-control {
    border: 0;
    color: #182235;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.25;
    min-height: 38px;
    padding: 7px 11px;
}

.app-filter-group .form-control:focus {
    box-shadow: inset 0 0 0 1px #06af9c;
}

.app-filter-button {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    min-height: 38px;
    min-width: 40px;
}

.app-table-wrapper {
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
}

.app-data-table {
    border-collapse: separate;
    border-spacing: 0;
    margin: 0 !important;
    min-width: 980px;
    table-layout: fixed;
}

table.dataTable.app-data-table,
table.dataTable.app-data-table th,
table.dataTable.app-data-table td {
    box-sizing: border-box;
}

.app-data-table thead td {
    background: #27466c;
    border-bottom: 0;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 10px 12px;
}

.app-data-table tbody td {
    border-color: #e5eaf0;
    color: #111827;
    font-size: 0.82rem;
    padding: 9px 10px;
    vertical-align: middle;
}

.app-data-table .btn {
    border-radius: 8px;
    box-shadow: none;
    font-size: 0.76rem;
    font-weight: 700;
    min-height: 30px;
    padding: 4px 8px;
}

.app-row-action-button {
    align-items: center;
    display: inline-flex;
    gap: 5px;
    justify-content: center;
    line-height: 1;
    min-height: 36px !important;
    padding: 7px 14px !important;
    white-space: nowrap;
}

.app-edit-action-button {
    width: 86px !important;
}

.app-config-action-button {
    width: 118px !important;
}

.app-row-action-button .fa,
.smartpos-edit-button .fa {
    line-height: 1;
}

.app-boolean-cell {
    padding-left: 6px !important;
    padding-right: 6px !important;
    white-space: nowrap;
}

.app-code-cell {
    max-width: 56px !important;
    min-width: 56px !important;
    padding-left: 6px !important;
    padding-right: 8px !important;
    white-space: nowrap;
    width: 56px !important;
}

.empresa-data-table {
    min-width: 1010px;
}

.empresa-data-table thead td {
    vertical-align: middle;
}

.empresa-data-table thead tr:first-child td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.empresa-cnpj-cell {
    font-size: 0.78rem !important;
    white-space: nowrap;
}

.empresa-license-cell {
    font-size: 0.8rem !important;
    font-weight: 700;
    max-width: 48px !important;
    min-width: 42px !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    white-space: nowrap;
    width: 48px !important;
}

.empresa-visualizar-cell {
    max-width: 118px !important;
    min-width: 118px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
    white-space: nowrap;
    width: 118px !important;
}

.empresa-visualizar-button {
    padding-left: 10px !important;
    padding-right: 10px !important;
    width: 104px !important;
}

.smartpos-data-table {
    min-width: 860px;
}

.app-edit-action-cell,
.smartpos-action-cell,
.smartpos-code-cell {
    padding-left: 6px !important;
    padding-right: 6px !important;
    white-space: nowrap;
}

.app-edit-action-cell,
.smartpos-action-cell {
    max-width: 112px !important;
    min-width: 112px !important;
    width: 112px !important;
}

.app-config-action-cell {
    max-width: 146px !important;
    min-width: 146px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
    white-space: nowrap;
    width: 146px !important;
}

.smartpos-edit-button {
    align-items: center;
    display: inline-flex;
    gap: 5px;
    height: 36px;
    justify-content: center;
    min-height: 36px !important;
    padding: 7px 14px !important;
    width: auto;
}

.smarttef-modal-header {
    align-items: center;
    background: #fbfcfe;
    border-bottom: 1px solid #e5eaf0;
    padding: 16px 18px;
}

.smarttef-modal-header .modal-title {
    color: #162033;
    font-size: 1.18rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
}

.smarttef-modal-subtitle {
    color: #607084;
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    margin-top: 3px;
}

.smarttef-form {
    background: #ffffff;
}

.smarttef-alert {
    border-radius: 0;
    font-size: 0.86rem;
    margin: 0;
}

.smarttef-alert label {
    margin: 0;
}

.smarttef-modal-body {
    background: #f6f8fb;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) 300px;
    padding: 16px;
}

.smarttef-fields-panel,
.smarttef-qrcode-panel {
    background: #ffffff;
    border: 1px solid #e1e8f1;
    border-radius: 8px;
    padding: 14px;
}

.app-modal-section-title,
.smarttef-section-title {
    align-items: center;
    color: #24364f;
    display: flex;
    font-size: 0.9rem;
    gap: 8px;
    margin-bottom: 12px;
}

.app-modal-section-title .fa,
.smarttef-section-title .fa {
    color: #0b8f81;
}

.smarttef-field {
    margin-bottom: 12px;
}

.smarttef-field label {
    color: #435168;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.smarttef-field .form-control {
    border: 1px solid #d8e0ea;
    border-radius: 6px;
    color: #182235;
    font-size: 0.86rem;
    font-weight: 600;
    min-height: 38px;
}

.smarttef-field .form-control:focus {
    border-color: #06af9c;
    box-shadow: 0 0 0 3px rgba(6, 175, 156, 0.12);
}

.smarttef-field .form-control[readonly] {
    background: #f4f7fb;
    color: #69778b;
}

.smarttef-input-action .form-control {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

.smarttef-input-action .btn {
    align-items: center;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    display: inline-flex;
    font-size: 0.8rem;
    font-weight: 800;
    gap: 6px;
    justify-content: center;
    min-height: 38px;
    min-width: 88px;
}

.smarttef-qrcode-panel {
    display: flex;
    flex-direction: column;
}

.smarttef-qrcode-box {
    align-items: center;
    background: #f8fafc;
    border: 1px dashed #c9d5e4;
    border-radius: 8px;
    display: flex;
    flex: 1;
    justify-content: center;
    min-height: 260px;
    padding: 12px;
}

.smarttef-qrcode-box img {
    height: auto;
    max-height: 250px;
    max-width: 250px;
    width: 100%;
}

.smarttef-modal-footer {
    background: #ffffff;
    border-top: 1px solid #e5eaf0;
    gap: 8px;
    justify-content: flex-end;
    padding: 12px 16px;
}

.smarttef-modal-footer .btn {
    align-items: center;
    display: inline-flex;
    font-size: 0.84rem;
    font-weight: 800;
    gap: 6px;
    justify-content: center;
    min-height: 38px;
    min-width: 104px;
}

.modal-footer {
    justify-content: flex-end !important;
    text-align: right !important;
}

.modal-footer.col,
.modal-footer.text-center {
    align-items: center;
    display: flex;
    flex: none;
}

.modal-footer .btn-footer-modal,
.modal-footer .btn[data-bs-dismiss="modal"]:not(.btn-close) {
    order: 999;
}

.modal-footer .btn-danger,
.modal-footer .btn-footer-modal {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #ffffff;
}

.modal-footer .btn-danger:hover,
.modal-footer .btn-footer-modal:hover {
    background-color: #bb2d3b;
    border-color: #b02a37;
    color: #ffffff;
}

.smarttef-serial-modal-body {
    background: #f6f8fb;
    min-height: 360px;
    padding: 16px;
}

.smarttef-serial-list {
    background: #ffffff;
    border: 1px solid #e1e8f1;
    border-radius: 8px;
    padding: 14px;
}

.smarttef-serial-table-wrapper {
    border-radius: 8px;
}

.smarttef-serial-table {
    min-width: 520px;
}

.smarttef-serial-table thead td:last-child,
.smarttef-serial-table tbody td:last-child {
    max-width: 128px !important;
    min-width: 128px !important;
    width: 128px !important;
}

.smarttef-serial-number {
    color: #182235;
    font-size: 0.88rem !important;
    font-weight: 700;
    letter-spacing: 0;
    word-break: break-all;
}

.smarttef-serial-action {
    padding-left: 6px !important;
    padding-right: 6px !important;
    text-align: center;
    white-space: nowrap;
}

.smarttef-serial-select-button {
    align-items: center;
    display: inline-flex;
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    gap: 6px;
    justify-content: center;
    min-height: 34px !important;
    padding: 6px 12px !important;
    width: 106px;
}

.smarttef-serial-empty {
    align-items: center;
    background: #ffffff;
    border: 1px dashed #c9d5e4;
    border-radius: 8px;
    color: #607084;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 300px;
    padding: 24px;
    text-align: center;
}

.smarttef-serial-empty .fa {
    color: #0b8f81;
    font-size: 2rem;
    margin-bottom: 10px;
}

.smarttef-serial-empty strong {
    color: #182235;
    font-size: 1rem;
    margin-bottom: 4px;
}

.smarttef-serial-empty p {
    font-size: 0.86rem;
    margin: 0;
}

.empresa-token-modal-body,
.empresa-logo-modal-body {
    background: #f6f8fb;
    padding: 16px;
}

.empresa-token-panel,
.empresa-logo-panel {
    background: #ffffff;
    border: 1px solid #e1e8f1;
    border-radius: 8px;
    padding: 14px;
}

.empresa-token-textarea {
    background: #f8fafc;
    border: 1px solid #d8e0ea;
    border-radius: 8px;
    color: #182235;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.82rem;
    line-height: 1.5;
    min-height: 160px;
    resize: vertical;
}

.empresa-logo-hint {
    color: #607084;
    font-size: 0.82rem;
    font-weight: 600;
    margin: -4px 0 12px;
}

.empresa-logo-preview {
    background: #ffffff;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
    max-height: 260px;
    max-width: 100%;
    object-fit: contain;
    padding: 12px;
}

.empresa-logo-empty {
    align-items: center;
    background: #f8fafc;
    border: 1px dashed #c9d5e4;
    border-radius: 8px;
    color: #8793a5;
    display: flex;
    justify-content: center;
    min-height: 220px;
    width: 100%;
}

.empresa-logo-empty .fa {
    color: #0b8f81;
    opacity: 0.8;
}

.empresa-logo-empty p {
    color: #607084;
    font-size: 0.88rem;
    font-weight: 700;
    margin: 0;
}

.pix-modal-header .modal-title {
    text-transform: none;
}

.pix-modal-header + form {
    background: #f6f8fb;
}

.account-modal-header + form {
    background: #f6f8fb;
}

.pix-modal-alert {
    border-radius: 0;
    font-size: 0.86rem;
    margin: 0;
}

.pix-modal-alert label {
    margin: 0;
}

.pix-modal-body {
    background: #ffffff;
    border: 1px solid #e1e8f1;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(20, 32, 46, 0.08);
    margin: 16px;
    padding: 16px;
}

.pix-modal-body .row,
.pix-modal-body > .col-sm-12 {
    background: transparent;
    border: 0;
    margin: 0 0 12px;
    padding: 0;
}

.pix-modal-body .row:last-child,
.pix-modal-body > .col-sm-12:last-child {
    margin-bottom: 0;
}

.pix-modal-body > .pix-section-title {
    margin-bottom: 4px;
}

.pix-modal-body .form-group {
    margin-bottom: 0;
}

.pix-modal-body label {
    color: #435168;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.pix-modal-body .form-control {
    border: 1px solid #d8e0ea;
    border-radius: 6px;
    color: #182235;
    font-size: 0.86rem;
    font-weight: 600;
    height: 38px;
    min-height: 38px;
    padding: 7px 11px;
}

.pix-modal-body select.form-control {
    padding-bottom: 6px;
    padding-top: 6px;
}

.pix-modal-body .form-control:focus {
    border-color: #06af9c;
    box-shadow: 0 0 0 3px rgba(6, 175, 156, 0.12);
}

.pix-modal-body .form-control[readonly] {
    background: #f4f7fb;
    color: #69778b;
}

.pix-modal-body input[type="file"].form-control {
    height: auto;
    padding: 7px 10px;
}

.pix-modal-footer {
    background: #ffffff;
}

.account-password-rules,
.recebimento-history-table {
    grid-column: 1 / -1;
}

.account-password-rules {
    background: #f6f8fb;
    border: 1px solid #e1e8f1;
    border-radius: 8px;
    margin-top: 4px;
    padding: 10px 12px;
}

.account-password-rules h6 {
    align-items: center;
    display: flex;
    font-size: 0.8rem;
    font-weight: 700;
    gap: 7px;
    margin: 0 0 7px;
}

.account-password-rules h6:last-child {
    margin-bottom: 0;
}

.recebimento-history-table {
    min-width: 0;
    table-layout: auto;
    width: 100%;
}

.recebimento-detail-modal-footer {
    justify-content: space-between !important;
}

.boleto-modal-header .modal-title {
    text-transform: none;
}

.boleto-modal-header + form {
    background: #f6f8fb;
}

.boleto-modal-alert {
    border-radius: 0;
    font-size: 0.86rem;
    margin: 0;
}

.boleto-modal-alert label {
    margin: 0;
}

.boleto-modal-body {
    background: #ffffff;
    border: 1px solid #e1e8f1;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(20, 32, 46, 0.08);
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 16px;
    padding: 16px;
}

.modal-lg .boleto-modal-body,
.modal-xl .boleto-modal-body {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.boleto-modal-body .row,
.boleto-modal-body > .col-sm-12 {
    background: transparent;
    border: 0;
    margin: 0;
    padding: 0;
}

.modal-lg .boleto-modal-body .boleto-species-field,
.modal-xl .boleto-modal-body .boleto-species-field {
    grid-column: span 2;
}

.boleto-modal-body > .alert,
.boleto-section-title {
    grid-column: 1 / -1;
}

.boleto-section-title {
    align-items: center;
    border-bottom: 1px solid #e8eef6;
    color: #24364f;
    display: flex;
    font-size: 0.86rem;
    font-weight: 800;
    gap: 8px;
    margin: 4px 0 0;
    padding: 0 0 7px;
}

.boleto-section-title:first-child {
    margin-top: 0;
}

.boleto-section-title .fa {
    color: #0b8f81;
}

.boleto-modal-body .form-group {
    margin-bottom: 0;
}

.boleto-modal-body label {
    color: #435168;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.boleto-modal-body .form-control {
    border: 1px solid #d8e0ea;
    border-radius: 6px;
    color: #182235;
    font-size: 0.86rem;
    font-weight: 600;
    height: 38px;
    min-height: 38px;
    padding: 7px 11px;
}

.boleto-modal-body select.form-control {
    padding-bottom: 6px;
    padding-top: 6px;
}

.boleto-modal-body .form-control:focus {
    border-color: #06af9c;
    box-shadow: 0 0 0 3px rgba(6, 175, 156, 0.12);
}

.boleto-modal-body .form-control[readonly] {
    background: #f4f7fb;
    color: #69778b;
}

.boleto-modal-body input[type="file"].form-control {
    height: auto;
    padding: 7px 10px;
}

.boleto-modal-footer {
    background: #ffffff;
}

@media (max-width: 767.98px) {
    .boleto-modal-body {
        grid-template-columns: 1fr;
    }

    .smarttef-modal-body {
        grid-template-columns: 1fr;
    }

    .smarttef-qrcode-box {
        min-height: 220px;
    }
}

.boleto-data-table {
    min-width: 840px;
}

.pix-data-table {
    min-width: 840px;
}

.pix-data-table thead td:nth-child(1),
.pix-data-table tbody td:nth-child(1),
.boleto-data-table thead td:nth-child(1),
.boleto-data-table tbody td:nth-child(1) {
    max-width: 112px !important;
    min-width: 112px !important;
    width: 112px !important;
}

.pix-data-table thead td:nth-child(2),
.pix-data-table tbody td:nth-child(2),
.boleto-data-table thead td:nth-child(2),
.boleto-data-table tbody td:nth-child(2) {
    max-width: 146px !important;
    min-width: 146px !important;
    width: 146px !important;
}

.dataTables_wrapper .row {
    align-items: center;
    margin-left: 0;
    margin-right: 0;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_paginate {
    color: #526177;
    font-size: 0.84rem;
    padding: 8px 0 0;
}

.dataTables_wrapper .dataTables_length select {
    border: 1px solid #d8e0ea;
    border-radius: 6px;
    color: #182235;
    margin: 0 4px;
    padding: 3px 20px 3px 8px;
}

.dataTables_wrapper .paginate_button {
    border-radius: 6px !important;
}

body {
    margin-bottom: 38px;
}

.footer {
    background: rgba(255, 255, 255, 0.92);
    border-top: 1px solid #e3eaf2 !important;
    font-size: 0.76rem;
    height: 34px;
    line-height: 1.2;
    padding: 8px 12px;
}

.footer a {
    color: #526177;
    text-decoration: none;
}

.footer a:hover {
    color: #1f3249;
    text-decoration: underline;
}

.legal-page {
    border-color: #e3eaf2 !important;
    border-radius: 8px;
    color: #2f3b4d;
    font-size: 0.84rem;
    line-height: 1.45;
    margin-bottom: 14px;
    padding: 18px 22px;
}

.legal-page h1 {
    color: #162033;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 10px;
}

.legal-page h4 {
    color: #1f3249;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0;
    margin-top: 16px;
}

.legal-page h5 {
    color: #27466c;
    font-size: 0.94rem;
    font-weight: 700;
    letter-spacing: 0;
    margin-top: 14px;
}

.legal-page p,
.legal-page li {
    margin-bottom: 8px;
}

.legal-page ul {
    padding-left: 22px;
}

.legal-page hr {
    margin: 10px 0;
}

.legal-modal-dialog {
    max-width: min(920px, calc(100vw - 28px));
}

.legal-modal-content {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(20, 32, 46, 0.24);
    max-height: calc(100vh - 56px);
    overflow: hidden;
}

.legal-modal-close {
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #d8e0ea;
    border-radius: 999px;
    color: #435168;
    display: flex;
    height: 32px;
    justify-content: center;
    position: absolute;
    right: 12px;
    top: 12px;
    width: 32px;
    z-index: 2;
}

.legal-modal-close:hover {
    background: #e8eef5;
    color: #1f3249;
}

.legal-modal-body {
    padding: 0;
}

.legal-modal-body .legal-page {
    border: 0 !important;
    border-radius: 0;
    margin-bottom: 0;
    max-height: calc(100vh - 56px);
    overflow-y: auto;
    padding: 20px 26px 22px;
}

.legal-modal-body .legal-page h1,
.legal-modal-body .legal-page h4 {
    padding-right: 42px;
}

.legal-modal-loading {
    color: #607084;
    font-size: 0.88rem;
    padding: 34px;
    text-align: center;
}

.forgot-page {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: calc(100vh - 92px);
    padding: 24px 12px;
}

.forgot-card {
    background: #ffffff;
    border: 1px solid #e3eaf2;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(20, 32, 46, 0.12);
    display: grid;
    grid-template-columns: 300px minmax(360px, 1fr);
    max-width: 820px;
    overflow: hidden;
    width: 100%;
}

.forgot-visual {
    align-items: center;
    background: #f7fafc;
    border-right: 1px solid #e3eaf2;
    display: flex;
    justify-content: center;
    padding: 34px;
}

.forgot-visual-icon {
    align-items: center;
    background: linear-gradient(135deg, #eef7f6, #ffffff);
    border: 1px solid #cfe7e5;
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(6, 175, 156, 0.13);
    color: #087f76;
    display: flex;
    height: 136px;
    justify-content: center;
    width: 136px;
}

.forgot-visual-icon .fa {
    font-size: 3.4rem;
}

.forgot-content {
    padding: 38px;
}

.forgot-header h1 {
    color: #162033;
    font-size: 1.42rem;
    font-weight: 700;
    letter-spacing: 0;
    margin: 0 0 6px;
}

.forgot-header p {
    color: #607084;
    font-size: 0.92rem;
    margin: 0 0 24px;
}

.forgot-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.forgot-field label {
    color: #435168;
    display: block;
    font-size: 0.83rem;
    font-weight: 700;
    margin-bottom: 7px;
}

.forgot-input {
    align-items: center;
    background: #ffffff;
    border: 1px solid #d8e0ea;
    border-radius: 6px;
    display: flex;
    min-height: 42px;
    overflow: hidden;
}

.forgot-input > span {
    color: #607084;
    min-width: 44px;
    text-align: center;
}

.forgot-input input {
    background: transparent;
    border: 0;
    color: #182235;
    flex: 1;
    font-size: 0.95rem;
    font-weight: 600;
    min-width: 0;
    outline: 0;
    padding: 9px 12px 9px 0;
}

.forgot-input:focus-within {
    background: #ffffff;
    border-color: #06af9c;
    box-shadow: 0 0 0 3px rgba(6, 175, 156, 0.12);
}

.forgot-submit {
    align-items: center;
    background: #1f3249;
    border: 0;
    border-radius: 6px;
    box-shadow: none;
    color: #ffffff;
    display: inline-flex;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    min-height: 42px;
    width: 100%;
}

.forgot-submit:hover {
    background: #27466c;
    color: #ffffff;
}

.forgot-back {
    text-align: center;
}

.forgot-back a {
    color: #087f76;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

.forgot-back a:hover {
    text-decoration: underline;
}

.reset-card {
    max-width: 860px;
}

.reset-visual-icon {
    color: #1f3249;
}

.reset-rules {
    background: #f7fafc;
    border: 1px solid #e3eaf2;
    border-radius: 8px;
    display: grid;
    gap: 8px;
    padding: 12px 14px;
}

.reset-rules div {
    align-items: center;
    color: #435168;
    display: flex;
    font-size: 0.86rem;
    font-weight: 700;
    gap: 8px;
    line-height: 1.25;
}

.reset-rules .fa {
    min-width: 16px;
}

.reset-invalid {
    align-items: flex-start;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    color: #7c2d12;
    display: flex;
    font-size: 0.9rem;
    font-weight: 700;
    gap: 10px;
    line-height: 1.35;
    margin: 0 0 20px;
    padding: 14px;
}

.reset-invalid .fa {
    color: #ea580c;
    margin-top: 2px;
}

.forgot-submit:disabled,
.forgot-submit[disabled] {
    background: #9aa7b8;
    cursor: not-allowed;
    opacity: 1;
}

@media (max-width: 768px) {
    .app-page-card-header {
        align-items: flex-start !important;
        flex-direction: column;
        gap: 12px;
        padding: 12px;
    }

    .app-page-actions {
        min-width: 0;
        width: 100%;
    }

    .forgot-card {
        display: block;
        max-width: 430px;
    }

    .forgot-visual {
        border-right: 0;
        border-bottom: 1px solid #e3eaf2;
        padding: 24px;
    }

    .forgot-visual-icon {
        height: 104px;
        width: 104px;
    }

    .forgot-visual-icon .fa {
        font-size: 2.6rem;
    }

    .forgot-content {
        padding: 26px;
    }
}
