.login_box {
    width: 600px;
    background: #fff;
    margin: 0 auto;
    max-width: 90%;
    box-shadow: 0px 1px 3px 1px #ccc;
    -moz-box-shadow: 0px 1px 3px 1px #ccc;
    -webkit-box-shadow: 0px 1px 3px 1px #ccc;
}

.login_box header {
    padding: 30px 20px;
    text-align: center;
    background: #f4f4f4;
}

.login_box header h1 {
    font-size: 2.4em;
    font-weight: bold;
    color: #888;
    line-height: 1.1;
    margin-bottom: 5px;
}

/* Global Premium Buttons UI - Clean Outline Style */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-size: 0.95em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    padding: 12px 28px;
    background: transparent;
    border: 1.5px solid transparent;
    letter-spacing: 0.02em;
    white-space: nowrap;
    text-shadow: none !important;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

/* Color Variants - Clean Outline Style */
.btn_blue {
    border: 1.5px solid #3156d8 !important;
    color: #3156d8 !important;
    background: transparent !important;
}

.btn_blue:hover {
    background: rgba(49, 86, 216, 0.08) !important;
}

.btn_green {
    border: 1.5px solid #1eb162 !important;
    color: #1eb162 !important;
    background: transparent !important;
}

.btn_green:hover {
    background: rgba(30, 177, 98, 0.08) !important;
}

.btn_yellow {
    border: 1.5px solid #ff8a00 !important;
    color: #ff8a00 !important;
    background: transparent !important;
}

.btn_yellow:hover {
    background: rgba(255, 138, 0, 0.08) !important;
}

.btn_red {
    border: 1.5px solid #01a4c2 !important;
    color: #01a4c2 !important;
    background: transparent !important;
}

.btn_red:hover {
    background: rgba(241, 1, 52, 0.08) !important;
}

.btn_dark {
    border: 1.5px solid #333 !important;
    color: #333 !important;
    background: transparent !important;
}

.btn_dark:hover {
    background: rgba(0, 0, 0, 0.05) !important;
}

/* Button Loading State in Clean Theme */
.btn-loading {
    position: relative !important;
    color: transparent !important;
    pointer-events: none !important;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    animation: btnSpinner 0.8s linear infinite;
}

.btn_blue.btn-loading::after {
    border-top-color: #3156d8;
}

.btn_green.btn-loading::after {
    border-top-color: #27d377;
}

.btn_yellow.btn-loading::after {
    border-top-color: #ff8a00;
}

.btn_red.btn-loading::after {
    border-top-color: #01a4c2;
}

@keyframes btnSpinner {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.login_box header p {
    font-size: 0.7em;
    font-weight: 500;
    text-transform: uppercase;
}

.login_box .trigger {
    text-align: center;
}

.login_box .trigger a {
    font-weight: bold;
    text-decoration: none;
    color: inherit;
}

.login_box .trigger a:hover {
    text-decoration: underline;
}

.account_auth_wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    max-width: 980px;
    margin: 28px auto;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e7e7e7;
    background: #fff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

 .account_auth_wrap .login_box {
    width: 100%;
    max-width: none;
    margin: 0;
    box-shadow: none;
    border-right: 1px solid #f0f0f0;
    padding: 30px;
}

.login_box.login_box_modern header {
    padding: 28px 28px 12px;
    text-align: left;
    background: #fff;
}

.login_box_modern .account_auth_tag {
    display: inline-block;
    font-size: 0.76em;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #01a4c2;
    padding-bottom: 8px;
    border-bottom: 2px solid #01a4c2;
}

.login_box_modern header h1 {
    margin: 18px 0 8px;
    font-size: clamp(1.55em, 2.4vw, 2.05em);
    font-weight: 800;
    color: #1f2331;
    line-height: 1.12;
}

.login_box_modern header p {
    margin: 0;
    font-size: 1.06em;
    font-weight: 500;
    text-transform: none;
    color: #636872;
}


.login_box_modern .account_form_fields label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

/* Login: label title above input */
.login_box_modern .account_login_form .account_form_fields label {
    display: block;
}

.login_box_modern .account_login_form .account_form_fields label span {
    display: block;
    width: auto;
    margin: 0 0 8px;
    flex: initial;
    white-space: normal;
}

.login_box_modern .account_form_fields label span {
    flex: 0 0 115px;
    margin: 0;
    color: #4f5560;
    font-size: 0.94em;
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
}

/* Specific adjustment for the Login Screen (shorter labels) */
.login_box_modern:not(.recover_pass) .account_form_fields label span {
    flex: 0 0 55px;
}

.login_box_modern .account_form_fields input,
.login_box_modern .account_form_fields select {
    width: 100%;
    border: 1px solid #d3d7df;
    border-radius: 5px;
    background: #fff;
    font-size: 1em;
    color: #1f2331;
    padding: 12px 14px;
    height: 50px;
    line-height: normal;
    box-sizing: border-box;
    display: block;
    box-shadow: none;
    transition: all 0.2s ease;
}

.login_box_modern .account_form_fields select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238b9098' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 42px;
    cursor: pointer;
}

.login_box_modern .account_form_fields input:focus,
.login_box_modern .account_form_fields select:focus {
    border-color: #d8dde6;
    box-shadow: 0 0 0 3px rgba(160, 170, 185, 0.16);
    outline: none;
}

.login_box_modern .account_password_field {
    position: relative;
}

.login_box_modern .account_password_field input {
    padding-right: 44px;
}

.login_box_modern .account_password_toggle {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 24px;
    height: 24px;
    border: 0;
    background: transparent;
    color: #8b9098;
    cursor: pointer;
    padding: 0;
}

.login_box_modern .account_password_toggle svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.login_box_modern .account_password_toggle.is-active {
    color: #01a4c2;
}

.login_box_modern .account_terms_check {
    display: grid !important;
    grid-template-columns: 18px 1fr;
    align-items: start;
    gap: 10px;
    margin: 4px 0 6px;
}

.login_box_modern .account_login_form .account_form_fields .account_terms_check span {
    margin: 0;
    font-size: 0.95em;
    line-height: 1.5;
    color: #5f6673;
    white-space: normal;
}

.login_box_modern .account_terms_check input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    padding: 0;
    accent-color: #01a4c2;
}

.login_box_modern .account_terms_check a {
    color: #01a4c2;
    font-weight: 700;
    text-decoration: none;
}

.login_box_modern .account_terms_check a:hover {
    text-decoration: underline;
}

.login_box_modern .account_form_actions {
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.login_box_modern .account_remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 12px;
    font-size: 0.97em;
    color: #70757f;
    width: 100%;
}

.login_box_modern .account_remember input {
    width: 16px;
    height: 16px;
}

.login_box_modern .account_form_actions .btn {
    width: 100%;
    border: 0;
    border-radius: 5px;
    font-size: 1.06em;
    font-weight: 700;
    text-transform: none;
    padding: 13px 20px;
    background: #01a4c2;
    color: #fff;
}

.login_box_modern .account_form_actions .btn:hover {
    background: #d9002f;
}

.login_box_modern .account_form_actions img {
    margin: 8px 0 0;
}

.login_box_modern .account_recover_link {
    display: block;
    margin-top: 16px;
    font-size: 0.98em;
    font-weight: 700;
    color: #01a4c2;
    text-transform: none;
}

.account_auth_side {
    background: #fff;
    padding: 34px 32px;
    color: #2a2f39;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.account_auth_icon {
    width: 124px;
    margin: 0 auto 10px;
    color: #01a4c2;
    display: inline-block;
    vertical-align: top;
}

.account_auth_icon svg {
    display: block;
    width: 100%;
    height: auto;
}

.account_auth_icon img {
    display: inline-block;
    width: 100%;
    height: auto;
    vertical-align: top;
}

.account_auth_side h2 {
    margin: 8px 0 14px;
    font-size: 1.8em;
    line-height: 1.12;
    color: #1f2331;
}

.account_auth_side p {
    margin: 0 0 12px;
    color: #5f6673;
    font-size: 1.03em;
    line-height: 1.5;
}

.account_auth_side p strong {
    color: #1d212b;
    font-weight: 800;
}

.account_auth_cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    min-height: 48px;
    border-radius: 10px;
    border: 1px solid #01a4c2;
    color: #01a4c2;
    text-decoration: none;
    font-size: 1.02em;
    font-weight: 700;
    padding: 0 16px;
}

.account_auth_cta:hover {
    background: #eaf9fc;
    border-color: #018da8;
    color: #018da8;
    text-decoration: none;
}

/*FORMS*/
.account_form_fields {
    padding: 0;
}

.account_form_fields .legend {
    display: block;
    width: 100%;
    font-size: 1.5em;
    margin: 30px 0 10px 0;
}

.account_form_fields label {
    display: block;
    margin-bottom: 15px;
}

.account_form_fields label span {
    display: block;
    width: 100%;
    margin-bottom: 5px;
    font-size: 1em;
}

.account_form_fields label input {
    font-size: 1.1em;
}

.account_form_fields label .input {
    display: block;
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #d3d7df;
    border-radius: 9px;
    background: #f8f9fb;
    color: #4f5560;
    font-size: 1em;
    box-sizing: border-box;
    height: 50px;
    line-height: 26px;
    cursor: not-allowed;
}

.account_form_fields input {
    border: 2px solid #ccc;
}

.account_form_actions .btn {
    display: inline-block;
    margin: 0 auto;
    font-weight: 600;
    font-size: 1.2em;
    text-transform: uppercase;
    padding: 10px 40px;
}

.account_form_actions img {
    height: 26px;
    margin-top: -5px;
    margin-left: 10px;
    display: none;
}

.account_form_actions a {
    display: inline-block;
    font-size: 0.7em;
    font-weight: 300;
    color: #555;
    text-transform: uppercase;
    text-decoration: none;
}

.account_form_actions a:hover {
    text-decoration: underline;
}

.account_remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    cursor: pointer;
    justify-content: flex-start !important;
}

.account_remember input {
    margin: 0 !important;
    width: 18px !important;
    height: 18px !important;
    cursor: pointer;
    transform: translateY(-1px);
}

.account_remember span {
    font-size: 0.95em;
    color: #5f6673;
    font-weight: 500;
    line-height: 1;
}

.account_form_actions .create {
    margin-left: 30px;
    font-weight: 400;
    color: #333;
}

.portal_account_content {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 20px;
    box-sizing: border-box;
    overflow: hidden;
}

.account_box {
    flex: 1 !important;
    min-width: 0 !important;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
    box-sizing: border-box !important;
    overflow: hidden !important;
    float: none !important;
}

.account_box .trigger {
    font-size: 1em;
}

.account_box .trigger a {
    color: inherit;
    font-weight: bold;
}

.account_box .paginator {
    text-align: center;
    margin: 15px 0 0 0;
}


.portal_account_sidebar header h1 {
    font-size: 1.15em;
    font-weight: 700;
    margin: 10px 0 5px;
    color: #333;
}

.portal_account_sidebar header p.account_user_level {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--acc-primary);
    background: #f0f4ff;
    padding: 2px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.portal_account_sidebar header p {
    font-size: 0.85em;
    color: #888;
}

.portal_account_sidebar_nav {
    display: block;
    width: 100%;
    padding: 10px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
    box-sizing: border-box;
}

.portal_account_sidebar_nav li {
    display: block;
    width: 100%;
    border-bottom: 1px solid #f9f9f9;
}

.portal_account_sidebar_nav li:last-child {
    border-bottom: 0;
}

.portal_account_sidebar_nav li a {
    display: block;
    width: 100%;
    padding: 12px 10px;
    text-transform: none;
    color: #666;
    font-size: 0.9em;
    font-weight: 500;
    text-decoration: none;
    transition: 0.2s;
}

.portal_account_sidebar_nav li .logoff {
    color: #e74c3c;
}

.portal_account_sidebar_nav li a:before {
    content: "›";
    margin-right: 12px;
    font-size: 1.2em;
    color: #ccc;
}

.portal_account_sidebar_nav li .active:before {
    content: "✓";
    color: #e74c3c;
    margin-right: 10px;
}

.portal_account_sidebar_nav li a:hover {
    background: #f9f9f9;
    padding-left: 15px;
}

.portal_account_view {
    padding: 30px;
}

.account_user_avatar {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
}

.account_box .account_form_callback {
    position: fixed;
    right: 0;
    top: 0;
    padding: 15px;
    width: 500px;
    max-width: 100%;
}

.account_box .account_form_callback .trigger {
    text-align: left;
}

.portal_account_title {
    font-size: 1.2em;
    text-transform: uppercase;
    font-weight: 600;
    color: #888;
    padding-bottom: 5px;
    margin-bottom: 30px;
    border-bottom: 3px solid #f2f2f2;
}

.portal_account_title span {
    border-bottom: 3px solid #888;
    padding-bottom: 5px;
}

.portal_spacer {
    padding: 2px;
    margin: 30px 0;
    background: #fbfbfb;
}

.portal_account_home p {
    display: inline-block;
    width: 50%;
    padding: 10px;
    border: 1px solid #eee;
}

.portal_account_home p b {
    font-weight: 300;
    color: #999;
}

.portal_account_home .btn {
    font-size: 0.8em;
    font-weight: 400;
    color: #fff;
    text-transform: uppercase;
}

.portal_account_properties {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portal_account_properties_list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.portal_account_properties_table {
    background: #fff;
    border: 1px solid var(--acc-line);
    border-radius: 12px;
    overflow: hidden;
}

.portal_account_property_table_head,
.portal_account_property_table_row {
    display: grid;
    grid-template-columns: 90px 1.6fr 1.3fr 0.9fr 0.8fr 170px;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
}

.portal_account_property_table_head {
    background: #f7f8fb;
    color: #7b8396;
    font-size: 0.85em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.portal_account_property_table_row {
    border-top: 1px solid #edf0f5;
    font-size: 0.92em;
}

.portal_account_property {
    border: 1px solid var(--acc-line);
    border-radius: 5px;
    background: #fff;
    padding: 14px;
    box-shadow: 0 6px 16px rgba(15, 26, 48, 0.04);
    margin: 10px;
}

.portal_account_property_table_row:hover {
    background: #fafbfe;
}

.portal_account_property_cell {
    min-width: 0;
    color: #2c3344;
}

.portal_account_property_title {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portal_account_property_actions {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}

.portal_account_property_table_head .is-actions {
    text-align: right;
}

.portal_account_property_actions .btn {
    min-height: 32px;
    padding: 0 12px;
    font-size: 0.85em;
}

@media (max-width: 900px) {
    .portal_account_property_table_head {
        display: none;
    }

    .portal_account_property_table_row {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
    }

    .portal_account_property_actions {
        justify-content: flex-start;
        border-top: 1px solid #edf0f5;
        padding-top: 10px;
    }
}

.portal_account_property {
    border: 1px solid #ececec;
    padding: 14px;
    background: #fff;
}

.portal_account_property h3 {
    font-size: 1.05em;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.portal_account_property p {
    font-size: 0.9em;
    line-height: 1.35;
    margin-bottom: 5px;
    color: #666;
}

.portal_account_property p b {
    color: #444;
}

.portal_account_property_actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.portal_account_property_actions .btn {
    font-size: 0.72em;
    text-transform: uppercase;
    color: #fff;
    font-weight: 600;
    padding: 6px 12px;
}

.page_single#acc .portal_account_empty {
    grid-column: 1 / -1;
    padding: 18px;
    border: 1px dashed #ddd;
    text-align: center;
    color: #666;
}

.page_single#acc .portal_account_property_form {
    background: #fff;
    border-radius: 12px;
    padding: 0;
    display: grid;
    gap: 16px;
}

.page_single#acc .portal_account_section_card {
    border: 1px solid var(--acc-line);
    border-radius: 12px;
    background: #fff;
    padding: 16px;
    box-shadow: 0 8px 20px rgba(15, 26, 48, 0.04);
}

.page_single#acc .portal_account_section_title {
    margin: 0 0 12px;
    font-size: 0.9em;
    font-weight: 800;
    color: #1f2331;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.page_single#acc .portal_account_media_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.page_single#acc .portal_account_cover_box {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(15, 26, 48, 0.08);
    cursor: pointer;
}

.page_single#acc .portal_account_dropzone {
    position: relative;
    border: 2px dashed #d6dbe6;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    overflow: hidden;
}

.page_single#acc .portal_account_property_form label span {
    font-size: 0.85em;
    font-weight: 700;
    color: #6a7285;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    width: auto;
}

.page_single#acc .portal_account_property_form input,
.page_single#acc .portal_account_property_form select,
.page_single#acc .portal_account_property_form textarea {
    width: 100%;
    border: 1px solid #d6dbe6;
    border-radius: 8px;
    padding: 10px 12px;
    color: #1f2331;
    background: #fff;
}

.page_single#acc .portal_account_property_form input:focus,
.page_single#acc .portal_account_property_form select:focus,
.page_single#acc .portal_account_property_form textarea:focus {
    border-color: #b9c0cf;
    box-shadow: 0 0 0 3px rgba(150, 156, 170, 0.15);
    outline: none;
}

.page_single#acc .portal_account_property_cover {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 0;
    margin: 0;
    transition: 0.3s all ease;
}

.page_single#acc .portal_account_property_cover:hover {
    filter: brightness(0.9);
    transform: scale(1.01);
}

.page_single#acc .portal_account_property_gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 8px 0 16px;
}

.page_single#acc .portal_account_property_gallery_item {
    border: 1px solid #e5e5e5;
    padding: 6px;
    background: #fff;
}

.page_single#acc .portal_account_property_gallery_item img {
    width: 100%;
    display: block;
}

.page_single#acc .portal_account_property_gallery_item button {
    width: 100%;
    margin-top: 6px;
    border: 0;
    background: #d64b49;
    color: #fff;
    padding: 6px 8px;
    font-size: 0.75em;
    text-transform: uppercase;
    cursor: pointer;
}

.page_single#acc .portal_account_property_gallery_item button:disabled {
    opacity: 0.6;
    cursor: default;
}

.portal_account_property_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

@media (min-width: 1200px) {
    .portal_account_property_grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.portal_account_order {
    font-size: 0.875em;
    padding: 15px 0;
    border-bottom: 1px solid #f2f2f2;
}

.portal_account_order p {
    display: inline-block;
    width: 20%;
    color: #888;
    text-align: center;
}

.portal_account_order p:first-of-type {
    text-align: left;
}

.portal_account_order a {
    color: #000;
    font-weight: 400;
    text-decoration: none;
}

.portal_account_order a:hover {
    text-decoration: underline;
}

.portal_order_addr {
    margin: 0 0 20px 0;
    font-size: 0.875em;
    padding: 10px;
    border: 1px solid #f2f2f2;
}

.portal_order_addr b {
    font-weight: 400;
    font-size: 1.2em;
}

.portal_order_completed_card {
    display: block;
    width: 100%;
}

.portal_order_completed_card p {
    display: inline-block;
    width: 20%;
    text-align: center;
    font-weight: bold;
    color: #888;
    font-size: 0.875em;
}

.portal_order_completed_card a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.portal_order_completed_card a:hover {
    text-decoration: underline;
}

.portal_order_completed_card.items img {
    display: inline-block;
    vertical-align: middle;
    width: 15%;
}

.portal_order_completed_card.items .product span {
    display: inline-block;
    vertical-align: middle;
    width: 85%;
    padding-left: 5%;
}

.portal_order_completed_card.items {
    border-bottom: 1px solid #eee;
}

.portal_order_completed_card.items p {
    font-weight: 300;
    color: #000;
    display: inline-block;
    vertical-align: middle;
    padding: 20px 0;
}

.portal_order_completed_card .product {
    width: 40%;
    text-align: left;
}

.portal_order_completed_card.total {
    display: block;
    text-align: right;
    padding-top: 30px;
    color: #888;
    font-size: 1.3em;
    font-weight: 300;
}

.portal_order_completed_card.total b {
    display: inline-block;
    width: 200px;
    font-weight: 300;
}

.portal_order_completed_card.total .portal_cart_price b,
.portal_order_completed_card.total .portal_cart_price {
    font-weight: 400;
    color: #000;
}

@media (max-width: 62em) {
    .account_auth_wrap {
        grid-template-columns: 1fr;
        max-width: 720px;
    }

    .account_auth_wrap .login_box {
        border-right: 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .account_box,
    .portal_account_sidebar {
        width: 100%;
        padding: 0;
    }

    .portal_account_sidebar_nav li {
        display: inline-block;
        width: 50%;
    }

}

@media (max-width: 42em) {
    .account_auth_wrap {
        margin: 18px auto;
        border-radius: 10px;
    }

    .login_box.login_box_modern header {
        padding: 24px 18px 8px;
    }

    .login_box_modern .account_form_fields {
        padding: 0 18px 12px;
    }

    .login_box_modern .account_form_actions {
        padding: 0 18px 22px;
    }

    .account_auth_side {
        padding: 24px 18px;
    }

    .account_auth_side h2 {
        font-size: 1.5em;
    }

    .portal_account_home p {
        width: 100%;
    }

    .portal_account_properties {
        grid-template-columns: 1fr;
    }

    .portal_account_property_grid {
        grid-template-columns: 1fr;
    }

    .portal_account_property_gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portal_account_order p {
        width: 50%;
        padding: 10px 0 0 0;
    }

    .portal_account_order p:first-of-type {
        width: 100%;
        padding: 10px;
        background: #f2f2f2;
    }
}


/* ============================== */
/* Portal Account UI Refresh 2026 */
/* ============================== */

:root {
    --acc-bg: #f6f7f9;
    --acc-surface: #ffffff;
    --acc-line: #e6e8ee;
    --acc-text: #1f2331;
    --acc-muted: #6d7482;
    --acc-primary: #01a4c2;
    --acc-primary-dark: #d8002d;
}

.page_single#acc {
    background: var(--acc-bg);
    border-top: 1px solid #eceff4;
}

.page_single#acc>.content {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding: 28px 0 36px;
}

.page_single#acc>.content>.clear {
    display: none;
}

.portal_account_layout {
    display: grid;
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.portal_account_sidebar {
    width: auto;
    padding-right: 0;
    display: block;
    position: sticky;
}

.portal_account_sidebar header {
    padding: 26px 22px;
    background: var(--acc-surface);
    border: 1px solid var(--acc-line);
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(15, 26, 48, 0.06);
}

@media (max-width: 900px) {
    .page_single#acc>.content {
        grid-template-columns: minmax(0, 1fr);
    }

    .portal_account_layout {
        display: block;
    }

    .portal_account_sidebar {
        position: static;
    }
}

.page_single#acc .portal_account_menu_toggle {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid #d6dbe6;
    border-radius: 8px;
    background: #fff;
    color: #2a3143;
    font-size: 0.95em;
    font-weight: 700;
    margin-bottom: 12px;
}

.page_single#acc .portal_account_sidebar_backdrop {
    display: none;
}

@media (max-width: 900px) {
    .page_single#acc .portal_account_menu_toggle {
        display: inline-flex;
        width: 100%;
    }

    .page_single#acc .portal_account_sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: min(86vw, 320px);
        z-index: 9999;
        background: #fff;
        transform: translateX(-110%);
        transition: transform 0.2s ease;
        overflow-y: auto;
        box-shadow: 12px 0 30px rgba(15, 22, 36, 0.12);
    }

    .page_single#acc .portal_account_layout.is-sidebar-open .portal_account_sidebar {
        transform: translateX(0);
    }

    .page_single#acc .portal_account_sidebar_backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(7, 10, 18, 0.45);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
        z-index: 9998;
    }

    .page_single#acc .portal_account_layout.is-sidebar-open .portal_account_sidebar_backdrop {
        opacity: 1;
        pointer-events: auto;
    }
}

.account_user_avatar {
    width: 104px;
    height: 104px;
    margin: 0 auto 12px;
    border: 4px solid #f2f4f8;
    object-fit: cover;
}

.portal_account_sidebar header h1 {
    margin: 0;
    font-size: 1.3em;
    line-height: 1.2;
    font-weight: 800;
    color: var(--acc-text);
}

.portal_account_sidebar header p {
    margin: 6px 0 0;
    font-size: 0.95em;
    color: var(--acc-muted);
    word-break: break-word;
}

.portal_account_sidebar_nav {
    margin-top: 14px;
    padding: 10px;
    border: 1px solid var(--acc-line);
    border-radius: 14px;
    background: var(--acc-surface);
    box-shadow: 0 8px 24px rgba(15, 26, 48, 0.05);
}

.portal_account_sidebar_nav li {
    border-bottom: 1px solid #f0f2f6;
}

.portal_account_sidebar_nav li:last-child {
    border-bottom: 0;
}

.portal_account_sidebar_nav li a:before {
    content: '\203A';
    margin-right: 8px;
    color: #9aa2b0;
    font-weight: 900;
}

.portal_account_sidebar_nav li .active,
.portal_account_sidebar_nav li .active:hover {
    background: #f0fafc;
    color: var(--acc-primary);
    border: 1px solid #b2e6f0;
}

.portal_account_sidebar_nav li .active:before {
    content: '\2713';
    color: var(--acc-primary);
}

.portal_account_sidebar_nav li .logoff,
.portal_account_sidebar_nav li .logoff:hover {
    color: #d0304f;
}

.account_box {
    width: auto;
    display: block;
    border: 1px solid var(--acc-line);
    border-radius: 14px;
    background: var(--acc-surface);
    box-shadow: 0 12px 30px rgba(15, 26, 48, 0.06);
    overflow: hidden;
}

.portal_account_view {
    padding: 26px;
}

.portal_account_title {
    font-size: 1.45em;
    text-transform: none;
    font-weight: 800;
    color: var(--acc-text);
    padding: 0;
    margin: 0;
    border: 0;
}

.portal_account_title span {
    border: 0;
    padding: 0;
}

.portal_account_subtitle {
    margin: 8px 0 18px;
    color: var(--acc-muted);
    font-size: 1em;
}

.portal_account_home {
    margin-top: 14px;
}

.portal_account_home_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.portal_account_home p {
    display: block;
    width: auto;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--acc-line);
    border-radius: 10px;
    background: #fafbfc;
}

.portal_account_home p small {
    display: block;
    margin-bottom: 6px;
    color: #778090;
    font-size: 0.83em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.portal_account_home p strong {
    display: block;
    color: var(--acc-text);
    font-size: 1.03em;
    line-height: 1.35;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.portal_account_home p b {
    display: none;
}

.portal_account_quick_actions {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.portal_account_quick_actions .btn,
.account_form_actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 0;
    padding: 0 16px;
    text-transform: none;
    font-size: 0.98em;
    font-weight: 700;
}

.portal_account_quick_actions .btn_blue,
.account_form_actions .btn_blue {
    background: var(--acc-primary);
    color: #fff;
}

.portal_account_quick_actions .btn_blue:hover,
.account_form_actions .btn_blue:hover {
    background: var(--acc-primary-dark);
}

.portal_account_quick_actions .btn_dark {
    background: #1f2331;
    color: #fff;
}

.portal_account_quick_actions .btn_dark:hover {
    background: #121623;
}

.portal_dashboard_view {
    display: grid;
    gap: 16px;
}

.portal_dashboard_header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.portal_dashboard_role {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid #cceff5;
    background: #f2fcff;
    color: var(--acc-primary);
    font-size: 0.82em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.portal_dashboard_metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.portal_dashboard_metric {
    padding: 16px;
    border: 1px solid var(--acc-line);
    border-radius: 14px;
    background: #fbfcfe;
    box-shadow: 0 8px 22px rgba(15, 26, 48, 0.04);
}

.portal_dashboard_metric.is-primary {
    background: linear-gradient(135deg, #01a4c2 0%, #0b89a3 100%);
    border-color: transparent;
}

.portal_dashboard_metric small {
    display: block;
    margin-bottom: 8px;
    color: #748096;
    font-size: 0.78em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.portal_dashboard_metric strong {
    display: block;
    color: #1f2331;
    font-size: 1.7em;
    line-height: 1.1;
    font-weight: 900;
}

.portal_dashboard_metric span {
    display: block;
    margin-top: 8px;
    color: #66758c;
    font-size: 0.92em;
    line-height: 1.45;
}

.portal_dashboard_metric.is-primary small,
.portal_dashboard_metric.is-primary strong,
.portal_dashboard_metric.is-primary span {
    color: #fff;
}

.portal_dashboard_grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 16px;
}

.portal_dashboard_card {
    padding: 18px;
    border: 1px solid var(--acc-line);
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    box-shadow: 0 10px 28px rgba(15, 26, 48, 0.05);
}

.portal_dashboard_card_head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.portal_dashboard_card_head h2 {
    margin: 0;
    color: #1f2331;
    font-size: 1.08em;
    font-weight: 800;
}

.portal_dashboard_card_head span {
    color: #7c8798;
    font-size: 0.9em;
    line-height: 1.4;
}

.portal_dashboard_info_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.portal_dashboard_info_grid p {
    margin: 0;
    padding: 14px;
    border: 1px solid #e7ecf4;
    border-radius: 12px;
    background: #fbfcfe;
}

.portal_dashboard_info_grid p small {
    display: block;
    margin-bottom: 6px;
    color: #778090;
    font-size: 0.78em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.portal_dashboard_info_grid p strong {
    display: block;
    color: #1f2331;
    font-size: 1em;
    line-height: 1.4;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.portal_dashboard_actions {
    display: grid;
    gap: 10px;
}

.portal_dashboard_action {
    display: block;
    padding: 14px 15px;
    border: 1px solid #e4e9f1;
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.portal_dashboard_action:hover {
    transform: translateY(-1px);
    border-color: #cfd8e5;
    box-shadow: 0 8px 20px rgba(15, 26, 48, 0.06);
    text-decoration: none;
}

.portal_dashboard_action strong {
    display: block;
    margin-bottom: 4px;
    color: #1f2331;
    font-size: 0.98em;
    font-weight: 800;
}

.portal_dashboard_action span {
    display: block;
    color: #69768b;
    font-size: 0.92em;
    line-height: 1.45;
}

.portal_dashboard_action.is-primary {
    background: linear-gradient(135deg, #01a4c2 0%, #0a8aa4 100%);
    border-color: transparent;
}

.portal_dashboard_action.is-primary strong,
.portal_dashboard_action.is-primary span {
    color: #fff;
}

.portal_dashboard_notice_list {
    display: grid;
    gap: 10px;
}

.portal_dashboard_notice_list p,
.portal_dashboard_success {
    margin: 0;
    padding: 13px 14px;
    border-radius: 11px;
    border: 1px solid #dce6f2;
    background: #f7fbff;
    color: #4f617d;
    font-size: 0.94em;
    line-height: 1.5;
}

.portal_dashboard_notice_list p {
    position: relative;
    padding-left: 42px;
}

.portal_dashboard_notice_list p::before {
    content: "!";
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff1f4;
    color: #d8002d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78em;
    font-weight: 900;
}

.portal_dashboard_success {
    border-color: #bcefdc;
    background: #eefbf5;
    color: #1b7a44;
}

.portal_dashboard_analytics {
    display: grid;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--acc-line);
    border-radius: 16px;
    background:
        radial-gradient(circle at top right, rgba(1, 164, 194, 0.12), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
    box-shadow: 0 10px 28px rgba(15, 26, 48, 0.05);
}

.portal_dashboard_analytics_metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.portal_dashboard_analytics_stat {
    padding: 16px;
    border: 1px solid #dfebf4;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
}

.portal_dashboard_analytics_stat.is-highlight {
    background: linear-gradient(135deg, #01a4c2 0%, #087f98 100%);
    border-color: transparent;
}

.portal_dashboard_analytics_stat small {
    display: block;
    margin-bottom: 8px;
    color: #6d7c92;
    font-size: 0.77em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.portal_dashboard_analytics_stat strong {
    display: block;
    color: #1f2331;
    font-size: 1.9em;
    line-height: 1.05;
    font-weight: 900;
}

.portal_dashboard_analytics_stat span {
    display: block;
    margin-top: 8px;
    color: #637188;
    font-size: 0.92em;
    line-height: 1.45;
}

.portal_dashboard_analytics_stat.is-highlight small,
.portal_dashboard_analytics_stat.is-highlight strong,
.portal_dashboard_analytics_stat.is-highlight span {
    color: #fff;
}

.portal_dashboard_analytics_grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 16px;
}

.portal_dashboard_chart_card {
    overflow: hidden;
}

.portal_dashboard_chart {
    display: grid;
    grid-template-columns: repeat(14, minmax(0, 1fr));
    align-items: end;
    gap: 10px;
    min-height: 240px;
    padding: 18px 12px 10px;
    border: 1px solid #e8eef5;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f5fbff 100%);
}

.portal_dashboard_chart_col {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    min-height: 200px;
}

.portal_dashboard_chart_bar {
    display: block;
    width: 100%;
    max-width: 30px;
    min-height: 8px;
    border-radius: 999px 999px 10px 10px;
    background: linear-gradient(180deg, #01a4c2 0%, #0b89a3 100%);
    box-shadow: 0 10px 20px rgba(1, 164, 194, 0.18);
}

.portal_dashboard_chart_col small {
    color: #78869c;
    font-size: 0.76em;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.portal_dashboard_top_list {
    display: grid;
    gap: 10px;
}

.portal_dashboard_top_item {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border: 1px solid #e3ebf3;
    border-radius: 13px;
    background: #fbfcfe;
}

.portal_dashboard_top_order {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eaf8fb;
    color: var(--acc-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88em;
    font-weight: 900;
}

.portal_dashboard_top_content {
    min-width: 0;
}

.portal_dashboard_top_content strong {
    display: block;
    color: #1f2331;
    font-size: 0.96em;
    font-weight: 800;
    line-height: 1.35;
}

.portal_dashboard_top_content span {
    display: block;
    margin-top: 4px;
    color: #6d7b90;
    font-size: 0.9em;
    line-height: 1.35;
}

.portal_dashboard_top_views {
    min-width: 48px;
    padding: 8px 10px;
    border-radius: 999px;
    background: #eef9fc;
    color: var(--acc-primary);
    font-size: 0.88em;
    font-weight: 900;
    text-align: center;
}

.portal_password_view {
    display: grid;
    gap: 16px;
}

.portal_password_form {
    display: grid;
    gap: 16px;
}

.portal_password_form_card {
    padding: 18px;
    border: 1px solid #e8edf5;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    box-shadow: 0 10px 28px rgba(15, 26, 48, 0.05);
}

.portal_password_intro {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    margin-bottom: 14px;
    border-radius: 12px;
    border: 1px solid #d8e8f0;
    background: #f5fbfd;
}

.portal_password_intro strong {
    color: #1f2331;
    font-size: 0.98em;
    font-weight: 800;
}

.portal_password_intro span {
    color: #64738a;
    font-size: 0.94em;
    line-height: 1.45;
}

.portal_password_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.portal_password_field,
.portal_password_form_card label.portal_password_field {
    display: block;
    margin: 0;
}

.portal_password_field span,
.portal_password_form_card label.portal_password_field span {
    display: block;
    margin: 0 0 8px;
    color: #5d687b;
    font-size: 0.84em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.portal_password_form_card .account_password_input_wrap {
    position: relative;
    width: 100%;
}

.portal_password_form_card .j-account-password-input {
    width: 100%;
    min-height: 50px;
    padding: 11px 44px 11px 14px;
    border: 1px solid #d9e0ea;
    border-radius: 10px;
    background: #fff;
    color: #1f2331;
    font-size: 1em;
    box-sizing: border-box;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.portal_password_form_card .j-account-password-input::placeholder {
    color: #98a2b3;
}

.portal_password_form_card .j-account-password-input:focus {
    border-color: #d8dde6;
    box-shadow: 0 0 0 3px rgba(160, 170, 185, 0.16);
    outline: none;
}

.portal_password_form_card .account_password_toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border: 0;
    background: transparent;
    color: #8b9098;
    cursor: pointer;
    padding: 0;
}

.portal_password_form_card .account_password_toggle svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.portal_password_form_card .account_password_toggle.is-active {
    color: #01a4c2;
}

.portal_password_actions {
    justify-content: flex-start;
}

.portal_password_actions .btn {
    min-width: 180px;
    min-height: 46px;
    font-size: 0.96em;
    text-transform: none;
}

.portal_account_form_card {
    background: #fff;
    border: 1px solid var(--acc-line);
    border-radius: 12px;
}

.portal_profile_form_card {
    padding: 18px;
    border: 1px solid #e8edf5;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    box-shadow: 0 10px 28px rgba(15, 26, 48, 0.05);
}

.portal_profile_form {
    display: grid;
    gap: 16px;
}

.portal_account_info_cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 16px;
}

.portal_account_info_cards_compact {
    margin-bottom: 18px;
}

.portal_account_info_card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    border: 1px solid #e7edf5;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    box-shadow: 0 8px 24px rgba(15, 26, 48, 0.04);
}

.portal_account_info_icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(1, 164, 194, 0.08);
    color: #017e95;
}

.portal_account_info_icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.portal_account_info_card strong {
    display: block;
    margin-bottom: 4px;
    color: #1f2331;
    font-size: 0.98em;
    font-weight: 800;
    line-height: 1.3;
}

.portal_account_info_card p {
    margin: 0;
    color: #667489;
    font-size: 0.93em;
    line-height: 1.55;
}

.portal_profile_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 14px;
}

.portal_profile_grid_full {
    grid-template-columns: 1fr;
}

.portal_profile_field,
.portal_profile_form_card label.portal_profile_field {
    display: block;
    margin: 0;
}

.portal_profile_field span,
.portal_profile_form_card label.portal_profile_field span {
    display: block;
    width: auto;
    margin: 0 0 8px;
    flex: initial;
    text-align: left;
    color: #5d687b;
    font-size: 0.84em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.portal_profile_field small {
    display: block;
    margin-top: 3px;
    color: #7d8798;
    font-size: 0.86em;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
}

.portal_profile_form_card .portal_profile_field input,
.portal_profile_form_card .portal_profile_field select,
.portal_profile_form_card .portal_profile_field .input {
    width: 100%;
    min-height: 50px;
    padding: 11px 14px;
    border: 1px solid #d9e0ea;
    border-radius: 10px;
    background: #fff;
    color: #1f2331;
    font-size: 1em;
    box-sizing: border-box;
}

.portal_profile_form_card .portal_profile_field .input {
    background: #f8fafc;
    color: #4b5566;
    font-weight: 600;
}

.portal_profile_form_card .portal_profile_field input::placeholder {
    color: #98a2b3;
}

.portal_profile_form_card .portal_profile_field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 42px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23818a99' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
}

.portal_profile_upload input[type="file"] {
    cursor: pointer;
}

.portal_profile_upload_box {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 16px;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    background: #f9fbfe;
}

.portal_profile_upload_box_avatar {
    grid-template-columns: 112px minmax(0, 1fr);
    padding: 18px;
    background: linear-gradient(180deg, #fbfdff 0%, #f6f9fd 100%);
}

.portal_profile_avatar_preview {
    display: block;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 8px 18px rgba(15, 26, 48, 0.12);
    background: #eef2f7;
}

.portal_profile_upload_box_avatar .portal_profile_avatar_preview {
    width: 112px;
    height: 112px;
}

.portal_profile_upload_content {
    min-width: 0;
    display: grid;
    gap: 10px;
}

.portal_profile_upload_content strong {
    display: block;
    margin-bottom: 4px;
    color: #1f2331;
    font-size: 1em;
    font-weight: 800;
    line-height: 1.3;
}

.portal_profile_upload_content small {
    display: block;
    margin-bottom: 0;
    color: #6b7688;
    font-size: 0.92em;
    line-height: 1.5;
}

.portal_profile_file_field {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 48px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.portal_profile_file_field input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

.portal_profile_file_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    gap: 8px;
    padding: 0 18px;
    border-radius: 5px;
    background: #fff;
    border: 1px solid #01a4c2;
    color: #01a4c2;
    font-size: 0.95em;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    text-align: center;
    box-shadow: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.portal_profile_file_button svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.portal_profile_file_field:focus-within .portal_profile_file_button,
.portal_profile_file_field:hover .portal_profile_file_button {
    border-color: #01a4c2;
    color: #017e95;
    background: rgba(1, 164, 194, 0.05);
    box-shadow: 0 0 0 3px rgba(1, 164, 194, 0.08);
}

.portal_profile_file_field_large {
    min-height: 48px;
}

.portal_profile_file_remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #e3e8f1;
    border-radius: 5px;
    background: #fff;
    color: #c53947;
    font-size: 0.92em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.portal_profile_file_remove:hover {
    border-color: #f1c6cc;
    background: #fff7f8;
}

.portal_profile_toggle_switch {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.portal_profile_toggle_switch input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.portal_profile_toggle_slider {
    position: relative;
    width: 52px;
    height: 30px;
    border-radius: 999px;
    background: #d8e0ea;
    transition: background 0.2s ease;
    box-shadow: inset 0 0 0 1px rgba(15, 26, 48, 0.05);
}

.portal_profile_toggle_slider::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 10px rgba(15, 26, 48, 0.18);
    transition: transform 0.2s ease;
}

.portal_profile_toggle_switch input[type="checkbox"]:checked + .portal_profile_toggle_slider {
    background: #01a4c2;
}

.portal_profile_toggle_switch input[type="checkbox"]:checked + .portal_profile_toggle_slider::after {
    transform: translateX(22px);
}

.portal_profile_toggle {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid #d9e6ef;
    border-radius: 12px;
    background: #f9fbfe;
}

.portal_profile_toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #01a4c2;
}

.portal_profile_toggle_ui {
    display: grid;
    gap: 4px;
}

.portal_profile_toggle_ui strong {
    color: #1f2331;
    font-size: 1em;
    font-weight: 800;
    line-height: 1.3;
}

.portal_profile_toggle_ui small {
    color: #6b7688;
    font-size: 0.92em;
    line-height: 1.5;
}

.portal_profile_toggle.portal_profile_toggle_switch {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.portal_profile_toggle.portal_profile_toggle_switch .portal_profile_toggle_ui {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.portal_profile_toggle.portal_profile_toggle_switch .portal_profile_toggle_ui strong,
.portal_profile_toggle.portal_profile_toggle_switch .portal_profile_toggle_ui small {
    display: block;
    margin: 0;
}

.portal_watermark_upload_box {
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
}

.portal_watermark_stage {
    width: 100%;
}

.portal_watermark_canvas {
    position: relative;
    width: 100%;
    height: 160px;
    --wm-opacity: 0.75;
    border-radius: 12px;
    border: 1px solid #d9e6ef;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(1, 164, 194, 0.16), transparent 42%),
        radial-gradient(circle at bottom right, rgba(49, 86, 216, 0.10), transparent 38%),
        linear-gradient(135deg, #ffffff 0%, #f4f8fb 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.portal_watermark_preview {
    position: absolute;
    display: block;
    width: 34%;
    max-width: 140px;
    max-height: 70px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.18));
    opacity: var(--wm-opacity);
    transition: opacity 0.16s ease;
}

.portal_watermark_canvas.is-top-left .portal_watermark_preview {
    top: 14px;
    left: 14px;
}

.portal_watermark_canvas.is-top-right .portal_watermark_preview {
    top: 14px;
    right: 14px;
}

.portal_watermark_canvas.is-bottom-left .portal_watermark_preview {
    bottom: 14px;
    left: 14px;
}

.portal_watermark_canvas.is-bottom-right .portal_watermark_preview {
    right: 14px;
    bottom: 14px;
}

.portal_watermark_canvas.is-center .portal_watermark_preview {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.portal_watermark_positions {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.portal_watermark_position_item {
    position: relative;
    display: block;
    margin: 0;
}

.portal_profile_form_card label.portal_watermark_position_item span,
.portal_watermark_position_item span {
    display: grid;
    justify-items: center;
    gap: 8px;
    min-height: 92px;
    margin: 0;
    padding: 14px 12px;
    border: 1px solid #d9e0ea;
    border-radius: 10px;
    background: #fff;
    color: #475266;
    font-size: 0.83em;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.portal_watermark_position_item span i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #f4f8fc;
    color: #6b7688;
}

.portal_watermark_position_item span i svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.portal_watermark_position_item span b {
    display: block;
    margin: 0;
    font-size: 1em;
    font-weight: 700;
}

.portal_watermark_position_item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.portal_watermark_position_item input:checked + span {
    border-color: #01a4c2;
    background: rgba(1, 164, 194, 0.08);
    color: #017e95;
}

.portal_watermark_position_item input:checked + span i {
    background: rgba(1, 164, 194, 0.14);
    color: #017e95;
}

.portal_watermark_opacity_row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.portal_profile_form_card .portal_watermark_opacity_row input[type="range"] {
    width: 100%;
    min-height: auto;
    padding: 0;
    border: 0;
    background: linear-gradient(90deg, #01a4c2 0%, #01a4c2 75%, #dbe4ef 75%, #dbe4ef 100%);
    border-radius: 999px;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    cursor: pointer;
}

.portal_profile_form_card .portal_watermark_opacity_row input[type="range"]::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 999px;
    background: transparent;
}

.portal_profile_form_card .portal_watermark_opacity_row input[type="range"]::-moz-range-track {
    height: 8px;
    border-radius: 999px;
    background: transparent;
}

.portal_profile_form_card .portal_watermark_opacity_row input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    margin-top: -5px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #01a4c2;
    box-shadow: 0 4px 10px rgba(1, 164, 194, 0.24);
}

.portal_profile_form_card .portal_watermark_opacity_row input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #01a4c2;
    box-shadow: 0 4px 10px rgba(1, 164, 194, 0.24);
}

.page_single#acc .portal_property_editor_field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 44px;
    cursor: pointer;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23677387' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
}

.portal_watermark_opacity_row strong {
    min-width: 64px;
    padding: 10px 12px;
    border: 1px solid #d9e0ea;
    border-radius: 10px;
    background: #fff;
    color: #1f2331;
    text-align: center;
    font-size: 0.95em;
    font-weight: 800;
}

.portal_profile_legend {
    margin: 6px 0 0;
    padding-top: 18px;
    border-top: 1px solid #eef1f5;
    color: #1f2331;
    font-size: 0.88em !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.portal_profile_legend_first {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.portal_settings_intro {
    margin: -8px 0 6px;
    color: #667489;
    font-size: 0.96em;
    line-height: 1.6;
}

.portal_profile_actions {
    margin-top: 0;
    justify-content: flex-start;
}

.portal_profile_actions .btn {
    min-width: 180px;
    min-height: 46px;
    font-size: 0.96em;
    text-transform: none;
}


.account_form_fields .legend {
    margin: 18px 0 10px;
    font-size: 0.86em;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 800;
    color: #60697a;
}

.account_form_fields label {
    display: block;
    margin-bottom: 14px;
}

/* Side-by-side layout specific for single-column cards */
.portal_account_form_card label,
.login_box_modern .account_form_fields label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.login_box_modern .account_login_form .account_form_fields label {
    display: block;
}

.account_form_fields label span {
    display: block;
    margin-bottom: 7px;
    font-size: 0.92em;
    font-weight: 700;
    color: #4f5768;
}

.portal_account_form_card label span,
.login_box_modern .account_form_fields label span {
    flex: 0 0 175px;
    margin: 0;
    text-align: left;
    /* width: 175px; */
}

.login_box_modern .account_login_form .account_form_fields label span {
    width: auto;
    margin: 0 0 8px;
    flex: initial;
}

.account_form_fields label .input {
    border: 1px solid #e0e4ed;
    border-radius: 10px;
    background: #f8f9fb;
    color: #4a5263;
}

.account_form_fields label input:focus,
.account_form_fields label select:focus,
.account_form_fields textarea:focus {
    border-color: #d8dde6;
    box-shadow: 0 0 0 3px rgba(160, 170, 185, 0.16);
}

.portal_account_form_card .account_password_field {
    align-items: center;
}

.portal_account_form_card .account_password_input_wrap {
    position: relative;
    flex: 1;
    width: 100%;
}

.portal_account_form_card .account_password_input_wrap .j-account-password-input {
    padding-right: 44px;
}

.portal_account_form_card .account_password_toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border: 0;
    background: transparent;
    color: #8b9098;
    cursor: pointer;
    padding: 0;
}

.portal_account_form_card .account_password_toggle svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.portal_account_form_card .account_password_toggle.is-active {
    color: #01a4c2;
}


.account_form_actions img {
    height: 22px;
    margin: 0;
}

.account_form_actions a,
.account_form_actions .account_recover_link {
    margin-left: 4px;
    font-size: 0.93em;
    font-weight: 700;
    text-transform: none;
    color: #616b7d;
}

.account_form_actions a:hover,
.account_form_actions .account_recover_link:hover {
    color: var(--acc-primary);
    text-decoration: none;
}

.portal_auth_step_header strong {
    color: #1f2331;
}

.portal_auth_two_factor_note {
    padding: 14px 16px;
    border: 1px solid #dbe5f0;
    border-radius: 12px;
    background: #f5faff;
    color: #5b687a;
    line-height: 1.6;
}

.portal_auth_code_input {
    text-align: center;
    letter-spacing: 0.34em;
    font-size: 1.15em;
    font-weight: 800;
}

.portal_auth_two_factor_actions {
    gap: 10px;
}

.portal_auth_two_factor_actions .btn_light {
    background: #eef3f8;
    color: #36465c;
}

.portal_auth_two_factor_actions .btn_light:hover {
    background: #dde7f0;
}

.portal_two_factor_card {
    margin-top: 18px;
}

.portal_two_factor_actions_bar {
    padding: 18px 0 0;
}

.portal_two_factor_actions_bar .btn[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

.portal_two_factor_toggle {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: start;
    padding: 18px;
    border: 1px solid #dbe5f0;
    border-radius: 14px;
    background: #f9fbfe;
}

.portal_two_factor_toggle input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #01a4c2;
}

.portal_two_factor_toggle.is-pending {
    border-color: #f0d7a1;
    background: #fffaf0;
}

.portal_two_factor_toggle input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

.portal_two_factor_toggle_ui strong {
    display: block;
    color: #1f2331;
    font-size: 1em;
    font-weight: 800;
}

.portal_two_factor_toggle_ui small {
    display: block;
    margin-top: 6px;
    color: #607086;
    font-size: 0.95em;
    line-height: 1.6;
}

.portal_two_factor_pending_label {
    display: inline-flex;
    margin-top: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff1cf;
    color: #9a6b00;
    font-size: 0.82em;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.portal_two_factor_confirm_box {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
}

.portal_two_factor_confirm_grid {
    margin-top: 14px;
}

.portal_account_property {
    border: 1px solid var(--acc-line);
    border-radius: 12px;
    background: #fff;
    padding: 14px;
    box-shadow: 0 6px 16px rgba(15, 26, 48, 0.04);
}

.portal_account_property h3 {
    color: #1f2331;
}

.portal_account_property p {
    color: #616a79;
}

.portal_account_property p b {
    color: #3c4556;
}

.portal_account_property_cover {
    border-radius: 10px;
    border: 1px solid #eceff3;
    margin: 0 0 10px;
}

.portal_account_property_gallery {
    gap: 10px;
}

.portal_account_property_gallery_item {
    border: 1px solid #e8ebf1;
    border-radius: 10px;
    padding: 8px;
}

.portal_account_property_gallery_item img {
    border-radius: 6px;
}

.portal_account_property_gallery_item button {
    border-radius: 8px;
    background: #e73d5d;
    font-size: 0.82em;
    text-transform: none;
}

.portal_account_empty {
    border: 1px dashed #d6dce7;
    border-radius: 12px;
    background: #fafbfd;
    color: #627087;
}

.account_box .account_form_callback {
    position: static;
    width: 100%;
    padding: 0;
    margin-bottom: 10px;
}

.account_auth_wrap {
    border: 1px solid var(--acc-line);
    border-radius: 16px;
    box-shadow: 0 18px 44px rgba(15, 26, 48, 0.08);
}

.account_auth_wrap_single {
    max-width: 980px;
}

.account_auth_wrap_single .login_box {
    border-right: 1px solid #eff2f6;
}

@media (max-width: 62em) {
    .page_single#acc>.content {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .portal_account_sidebar {
        position: static;
    }

    .portal_account_sidebar_nav li {
        display: block;
        width: 100%;
    }

    .portal_account_home_grid,
    .portal_account_properties,
    .portal_account_property_grid {
        grid-template-columns: 1fr;
    }

    .account_auth_wrap_single .login_box {
        border-right: 0;
        border-bottom: 1px solid #eff2f6;
    }
}

@media (max-width: 48em) {
    .portal_account_info_cards {
        grid-template-columns: 1fr;
    }

    .portal_profile_grid {
        grid-template-columns: 1fr;
    }

    .portal_profile_form_card {
        padding: 14px;
    }

    .portal_profile_upload_box {
        grid-template-columns: 1fr;
        justify-items: flex-start;
    }

    .portal_watermark_positions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 42em) {
    .portal_account_view {
        padding: 18px;
    }

    .page_single#acc .account_form_fields {
        padding: 0;
    }

    .account_form_actions {
        flex-wrap: wrap;
        padding: 14px 16px 16px;
    }

    .account_form_actions .btn {
        width: 100%;
    }

    .portal_two_factor_toggle {
        grid-template-columns: 1fr;
    }

    .account_form_actions a,
    .account_form_actions .account_recover_link {
        margin-left: 0;
    }

    .portal_account_property_gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portal_watermark_positions {
        grid-template-columns: 1fr;
    }
}

/* ------------------------------- */
/* Meus Imoveis: cards + botoes UI */
/* ------------------------------- */
.portal_account_property_card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 100%;
    padding: 12px;
}

.page_single#acc .portal_account_favorite_card {
    border: 1px solid var(--acc-line);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 16px rgba(15, 26, 48, 0.04);
}

.page_single#acc .portal_account_favorite_media {
    position: relative;
    background: #f3f5f9;
}

.page_single#acc .portal_account_favorite_media img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.page_single#acc .portal_account_favorite_heart {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #d6002c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1em;
    box-shadow: 0 8px 16px rgba(15, 26, 48, 0.12);
}

.page_single#acc .portal_account_favorite_body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 260px;
}

.page_single#acc .portal_account_favorite_body h3 {
    margin: 0;
    font-size: 1em;
    font-weight: 600;
    color: #2b313f;
    line-height: 1.35;
}

.page_single#acc .portal_account_favorite_body h3 a {
    color: inherit;
    text-decoration: none;
}

.page_single#acc .portal_account_favorite_location {
    margin: 0;
    font-size: 0.9em;
    color: #6c7385;
}

.page_single#acc .portal_account_favorite_location.is-muted {
    color: #9aa1b1;
}

.page_single#acc .portal_account_favorite_location_value {
    margin: -2px 0 0;
    font-size: 0.94em;
    font-weight: 600;
    color: #2b313f;
}

.page_single#acc .portal_account_favorite_facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    color: #60697c;
    font-size: 0.86em;
}

.page_single#acc .portal_account_favorite_facts span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.page_single#acc .portal_account_favorite_facts svg {
    width: 14px;
    height: 14px;
    color: #01a4c2;
}

.page_single#acc .portal_account_favorite_price strong {
    font-size: 1.35em;
    color: #1f2331;
}

.page_single#acc .portal_account_favorite_footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid #edf0f5;
    font-size: 0.82em;
    color: #6c7385;
}

.page_single#acc .portal_account_favorite_remove {
    border: 1px solid #e5e8f0;
    border-radius: 8px;
    padding: 6px 12px;
    background: #fff;
    color: #c53947;
    font-size: 0.9em;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.page_single#acc .portal_account_favorite_remove svg {
    width: 14px;
    height: 14px;
}

.portal_account_property_thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 1px solid #eceff3;
    border-radius: 10px;
    background: #f2f4f8;
    margin: 0;
}

.portal_account_property_headline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.portal_account_property_headline h3 {
    margin: 0;
    font-size: 1.12em;
    line-height: 1.3;
    font-weight: 800;
    color: #1f2331;
}

.portal_account_property_status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.78em;
    font-weight: 800;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.portal_account_property_status.is-published {
    background: #e8fbf4;
    color: #0e966f;
    border: 1px solid #bcefdc;
}

.portal_account_property_status.is-draft {
    background: #fff4e8;
    color: #b46808;
    border: 1px solid #ffd8ac;
}

.portal_account_property_meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.portal_account_property_meta p {
    margin: 0;
    padding: 9px 10px;
    border: 1px solid #e9edf3;
    border-radius: 9px;
    background: #f9fafc;
}

.portal_account_property_meta p span {
    display: block;
    margin-bottom: 4px;
    color: #7a8393;
    font-size: 0.78em;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
}

.portal_account_property_meta p strong {
    display: block;
    color: #2b3446;
    font-size: 0.95em;
    line-height: 1.35;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.portal_account_property_actions {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.portal_account_property_actions .portal_account_btn {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 9px;
    font-size: 0.92em;
    font-weight: 800;
    text-transform: none;
}

.portal_account_property_actions .portal_account_btn_outline {
    border: 1px solid #d6dce8;
    background: #fff;
    color: #2f3a4e;
}

.portal_account_property_actions .portal_account_btn_outline:hover {
    background: #f5f7fb;
}

@media (max-width: 68em) {
    .portal_account_property_meta {
        grid-template-columns: 1fr;
    }
}

.portal_password_alert_modal {
    position: fixed;
    inset: 0;
    z-index: 10020;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.56);
    backdrop-filter: blur(5px);
}

.portal_password_alert_modal[hidden] {
    display: none;
}

body.is-password-alert-open {
    overflow: hidden;
}

.portal_password_alert_box {
    position: relative;
    width: min(100%, 1140px);
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    border: 0;
    animation: portalToastIn 0.35s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.portal_password_alert_panel {
    position: relative;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 26px;
    align-items: center;
    padding: 22px 28px;
    border: 1px solid #cfd6dd;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
}

.portal_password_alert_media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.portal_password_alert_media img {
    width: min(100%, 180px);
    height: auto;
}

.portal_password_alert_content {
    position: relative;
    padding-right: 48px;
}

.portal_password_alert_tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #ef7569;
    font-size: 0.92em;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.portal_password_alert_box h2 {
    margin: 10px 0 12px;
    color: #ee796c;
    font-size: 1.15em;
    line-height: 1.35;
    font-weight: 500;
}

.portal_password_alert_box p {
    margin: 0;
    max-width: 540px;
    color: #1f2331;
    font-size: 0.98em;
    line-height: 1.45;
}

.portal_password_alert_link {
    display: inline-block;
    margin-top: 18px;
    color: #6c8850;
    font-size: 0.95em;
    text-decoration: none;
}

.portal_password_alert_link:hover {
    text-decoration: underline;
}

.portal_password_alert_actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding-top: 18px;
}

.portal_password_alert_primary,
.portal_password_alert_secondary {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 12px;
    font-size: 0.95em;
    font-weight: 800;
    line-height: 46px;
    text-decoration: none;
    transition: 0.2s ease;
    border: 0;
    cursor: pointer;
}

.portal_password_alert_primary {
    background: #01a4c2;
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(1, 164, 194, 0.22);
}

.portal_password_alert_primary:hover {
    background: #018ca6;
    color: #ffffff;
}

.portal_password_alert_secondary {
    background: #6f6f6f;
    color: #ffffff;
}

.portal_password_alert_secondary:hover {
    background: #5f5f5f;
}

.portal_password_alert_continue {
    min-width: 250px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.portal_password_alert_close {
    position: absolute;
    top: 0;
    right: 0;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #8a96a8;
    cursor: pointer;
    transition: 0.2s ease;
}

.portal_password_alert_close span {
    display: block;
    font-size: 1.4em;
    line-height: 1;
}

.portal_password_alert_close:hover {
    color: #536176;
}

@media (max-width: 40em) {
    .portal_password_alert_modal {
        padding: 16px;
    }

    .portal_password_alert_panel {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 20px;
        text-align: center;
    }

    .portal_password_alert_box {
        width: 100%;
    }

    .portal_password_alert_actions {
        flex-direction: column;
        padding-top: 14px;
    }

    .portal_password_alert_content {
        padding-right: 0;
    }

    .portal_password_alert_box p {
        max-width: none;
    }

    .portal_password_alert_primary,
    .portal_password_alert_secondary {
        width: 100%;
        text-align: center;
    }
}

/* ============================== */
/* Portal Toast UI System 2026   */
/* ============================== */

#portal_toasts {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10000;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.portal_toast {
    position: relative;
    width: 380px;
    max-width: 88vw;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 14px 40px rgba(15, 26, 48, 0.15);
    overflow: hidden;
    pointer-events: auto;
    animation: portalToastIn 0.42s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes portalToastIn {
    0% {
        opacity: 0;
        transform: translateX(60px) scale(0.92);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.portal_toast.is-dying {
    animation: portalToastOut 0.35s cubic-bezier(0.55, 0.055, 0.675, 0.19) forwards;
}

@keyframes portalToastOut {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateX(60px) scale(0.92);
    }
}

.portal_toast_inner {
    display: flex;
    align-items: flex-start;
    padding: 18px 20px;
    gap: 14px;
}

.portal_toast_icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.portal_toast_icon svg {
    width: 15px;
    height: 15px;
    stroke: #ffffff;
    stroke-width: 3;
}

.portal_toast_content {
    flex: 1;
}

.portal_toast_content h4 {
    margin: 0;
    font-size: 1.02em;
    font-weight: 800;
    color: #1a1e27;
    line-height: 1.25;
}

.portal_toast_content p {
    margin: 4px 0 0;
    font-size: 0.94em;
    font-weight: 500;
    color: #6d7482;
    line-height: 1.45;
}

.portal_toast_close {
    flex-shrink: 0;
    padding: 2px;
    cursor: pointer;
    color: #b0b8c6;
    transition: 0.2s all;
    background: transparent;
    border: 0;
    margin-right: -6px;
    margin-top: -2px;
}

.portal_toast_close:hover {
    color: #1a1e27;
    transform: rotate(90deg);
}

.portal_toast_progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: rgba(0, 0, 0, 0.04);
}

.portal_toast_bar {
    height: 100%;
    width: 100%;
    transform-origin: left;
    transform: scaleX(1);
}

/* Toast Color States */
.portal_toast.is-success .portal_toast_icon {
    background: #00ca82;
}

.portal_toast.is-success .portal_toast_bar {
    background: #00ca82;
}

.portal_toast.is-info .portal_toast_icon {
    background: #3156d8;
}

.portal_toast.is-info .portal_toast_bar {
    background: #3156d8;
}

.portal_toast.is-warning .portal_toast_icon {
    background: #fbbb00;
}

.portal_toast.is-warning .portal_toast_bar {
    background: #fbbb00;
}

.portal_toast.is-error .portal_toast_icon {
    background: #01a4c2;
}

.portal_toast.is-error .portal_toast_bar {
    background: #01a4c2;
}


/* ----------------------------- */
/* Planos e Pedidos de Plano UI  */
/* ----------------------------- */
.portal_plan_current_box {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.portal_plan_current_box p {
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    background: #f8fafe;
}

.portal_plan_current_box p small {
    display: block;
    margin-bottom: 4px;
    color: #6f7a8d;
    font-size: 0.78em;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
}

.portal_plan_current_box p strong {
    display: block;
    color: #1f2430;
    font-size: 1.02em;
    line-height: 1.3;
    font-weight: 800;
}

.portal_account_plans_grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.portal_plan_card {
    position: relative;
    border: 1px solid #e5ebf3;
    border-radius: 14px;
    padding: 16px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(21, 32, 49, 0.05);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.portal_plan_card.is-current {
    border-color: #bfd0ff;
    box-shadow: 0 12px 26px rgba(40, 86, 220, 0.12);
}

.portal_plan_badge {
    align-self: flex-start;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: #e9f0ff;
    color: #3156d8;
    border: 1px solid #c8d6ff;
    font-size: 0.76em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.portal_plan_card h3 {
    margin: 0 0 8px;
    font-size: 1.08em;
    line-height: 1.3;
    color: #1f2430;
    font-weight: 800;
}

.portal_plan_price {
    margin: 0 0 10px;
    color: #1f2430;
    font-size: 1.5em;
    line-height: 1.1;
    font-weight: 900;
}

.portal_plan_price small {
    font-size: 0.48em;
    font-weight: 700;
    color: #677489;
}

.portal_plan_desc {
    margin: 0 0 12px;
    color: #5f6c81;
    line-height: 1.5;
    font-size: 0.93em;
}

.portal_plan_features {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.portal_plan_features li {
    margin: 0;
    padding: 9px 10px;
    border-radius: 9px;
    border: 1px solid #ecf1f7;
    background: #f9fbff;
    color: #516078;
    font-size: 0.92em;
    line-height: 1.35;
}

.portal_plan_features li strong {
    color: #212938;
    font-weight: 800;
}

.portal_plan_form {
    margin-top: auto;
    padding-top: 12px;
}

.portal_plan_form .account_form_actions {
    padding: 0;
    margin-top: 6px;
    border: 0;
    min-height: initial;
}

.portal_plan_btn {
    min-height: 40px;
    border-radius: 10px;
    font-size: 0.95em;
    font-weight: 800;
    padding: 0 14px;
}

.portal_plan_orders_list {
    display: grid;
    gap: 14px;
}

.portal_plan_order_card {
    border: 1px solid #e6ebf3;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    box-shadow: 0 10px 28px rgba(15, 26, 48, 0.05);
    padding: 16px;
}

.portal_plan_order_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.portal_plan_order_title_wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.portal_plan_order_icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    background: #f5f7fb;
}

.portal_plan_order_icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.portal_plan_order_icon.is-paid {
    color: #0e966f;
    background: #e8fbf4;
    border-color: #bcefdc;
}

.portal_plan_order_icon.is-pending {
    color: #a86911;
    background: #fff5e9;
    border-color: #ffdfb4;
}

.portal_plan_order_icon.is-review {
    color: #3156d8;
    background: #eef4ff;
    border-color: #ccdbff;
}

.portal_plan_order_icon.is-canceled {
    color: #cb264f;
    background: #ffeef1;
    border-color: #ffd0dc;
}

.portal_plan_order_head h3 {
    margin: 0;
    color: #1f2430;
    font-size: 1.08em;
    font-weight: 800;
    line-height: 1.3;
}

.portal_plan_order_code {
    margin: 4px 0 0;
    color: #6e7890;
    font-size: 0.92em;
    line-height: 1.4;
}

.portal_plan_order_status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.78em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: 1px solid transparent;
    white-space: nowrap;
}

.portal_plan_order_status.is-pending {
    background: #fff5e9;
    color: #a86911;
    border-color: #ffdfb4;
}

.portal_plan_order_status.is-paid {
    background: #e8fbf4;
    color: #0e966f;
    border-color: #bcefdc;
}

.portal_plan_order_status.is-canceled {
    background: #ffeef1;
    color: #cb264f;
    border-color: #ffd0dc;
}

.portal_plan_order_status.is-review {
    background: #eef4ff;
    color: #3156d8;
    border-color: #ccdbff;
}

.portal_plan_order_meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.portal_plan_order_meta p {
    margin: 0;
    padding: 12px 12px;
    border: 1px solid #e9edf3;
    border-radius: 11px;
    background: #fafcff;
}

.portal_plan_order_meta p span {
    display: block;
    margin-bottom: 6px;
    color: #6f7a8d;
    font-size: 0.76em;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
}

.portal_plan_order_meta p strong {
    color: #273246;
    font-size: 1em;
    line-height: 1.35;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.portal_plan_order_notice {
    margin: 12px 0 0;
    padding: 12px 14px;
    border-radius: 11px;
    border: 1px solid #d8e2f2;
    background: #f5f9ff;
    color: #4b5c76;
    font-size: 0.9em;
    line-height: 1.45;
}

.portal_plan_order_timeline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.portal_plan_order_step {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid #e4e9f1;
    background: #fff;
    color: #778297;
    font-size: 0.88em;
    font-weight: 700;
}

.portal_plan_order_step::before {
    content: "";
    width: 10px;
    height: 10px;
    min-width: 10px;
    border-radius: 50%;
    background: #c7d0de;
}

.portal_plan_order_step.is-active {
    border-color: #9ad7e2;
    background: #f2fcff;
    color: #0d7589;
}

.portal_plan_order_step.is-active::before {
    background: #01a4c2;
}

.portal_plan_order_step.is-done {
    border-color: #bcefdc;
    background: #eefbf5;
    color: #167e59;
}

.portal_plan_order_step.is-done::before {
    background: #17b77c;
}

.portal_plan_order_actions {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.portal_plan_order_actions .portal_account_btn {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 10px;
    font-size: 0.94em;
    font-weight: 800;
}

.portal_api_keys_box {
    border: 1px solid var(--acc-line);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.portal_api_keys_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--acc-line);
}

.portal_api_keys_head .portal_account_title {
    margin: 0;
}

.portal_api_keys_add_btn {
    min-height: 42px;
    background: #0c3fb8 !important;
    border-color: #0c3fb8 !important;
    color: #fff !important;
    padding: 0 18px;
}

.portal_api_keys_add_btn:hover {
    background: #08339a !important;
    border-color: #08339a !important;
}

.portal_api_keys_add_icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 1em;
    font-weight: 900;
    line-height: 1;
    margin-right: 8px;
}

.portal_api_keys_intro,
.portal_api_keys_notice,
.portal_api_keys_footer {
    padding: 16px 20px;
    color: #4e5f78;
    font-size: 0.94em;
    line-height: 1.6;
}

.portal_api_keys_notice {
    border-top: 1px solid var(--acc-line);
}

.portal_api_keys_create_form {
    padding: 0 20px 18px;
}

.portal_api_keys_create_form .portal_account_form_card {
    border: 1px solid #dfe4ec;
    margin-top: 4px;
    padding: 14px 0 0;
    border-radius: 12px;
    background: #fff;
}

.portal_api_keys_create_form .account_form_fields label {
    margin-bottom: 0;
}

.portal_api_keys_create_form .account_form_fields label span {
    margin-bottom: 8px;
    color: #5c6678;
    font-size: 0.88em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.portal_api_keys_create_form .account_form_fields label input,
.portal_api_keys_create_form .account_form_fields label select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #d0d8e4;
    border-radius: 10px;
    background: #fff;
    color: #1f2a3d;
    font-size: 0.98em;
    font-weight: 500;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.portal_api_keys_create_form .account_form_fields label input::placeholder {
    color: #8b94a6;
}

.portal_api_keys_create_form .account_form_fields label select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 44px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23677387' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
}

.portal_api_keys_create_form .account_form_fields label input:focus,
.portal_api_keys_create_form .account_form_fields label select:focus {
    border-color: #01a4c2;
    box-shadow: 0 0 0 3px rgba(1, 164, 194, 0.12);
    background: #fff;
    outline: none;
}

.portal_api_keys_create_grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 260px) auto;
    gap: 14px;
    align-items: end;
    padding: 0 14px 14px;
}

.portal_api_keys_submit_wrap {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.portal_api_keys_submit_wrap .btn {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 8px;
    font-size: 0.95em;
    font-weight: 700;
    text-transform: none;
    background: #fff !important;
    border-color: #3156d8 !important;
    color: #3156d8 !important;
}

.portal_api_keys_submit_wrap .btn:hover {
    background: rgba(49, 86, 216, 0.06) !important;
}

.portal_api_keys_table_wrap {
    padding: 0 20px;
    overflow-x: auto;
}

.portal_api_keys_table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
}

.portal_api_keys_table th,
.portal_api_keys_table td {
    padding: 15px 14px;
    border: 1px solid #dfe4ec;
    text-align: left;
    vertical-align: middle;
}

.portal_api_keys_table th {
    color: #2a3447;
    font-size: 0.92em;
    font-weight: 700;
    background: #fafbfd;
}

.portal_api_keys_table td {
    color: #2c3648;
    font-size: 0.95em;
}

.portal_api_keys_table tbody tr td[colspan] {
    text-align: center;
    color: #6b788d;
    padding: 34px 16px;
    font-size: 0.98em;
    background: #fff;
}

.portal_api_keys_status {
    font-weight: 700;
}

.portal_api_keys_status.is-active {
    color: #14a44d;
}

.portal_api_keys_status.is-disabled {
    color: #c46a10;
}

@media (max-width: 68em) {

    .portal_dashboard_metrics,
    .portal_dashboard_grid,
    .portal_dashboard_analytics_metrics,
    .portal_dashboard_analytics_grid,
    .portal_dashboard_info_grid,
    .portal_password_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portal_account_plans_grid,
    .portal_plan_current_box {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portal_plan_order_meta,
    .portal_plan_order_timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 42em) {

    .portal_dashboard_header {
        flex-direction: column;
        align-items: flex-start;
    }

    .portal_account_plans_grid,
    .portal_plan_current_box,
    .portal_dashboard_metrics,
    .portal_dashboard_grid,
    .portal_dashboard_analytics_metrics,
    .portal_dashboard_analytics_grid,
    .portal_dashboard_info_grid,
    .portal_password_grid,
    .portal_plan_order_meta,
    .portal_plan_order_timeline {
        grid-template-columns: 1fr;
    }

    .portal_api_keys_head {
        flex-direction: column;
        align-items: flex-start;
    }

    .portal_api_keys_create_grid {
        grid-template-columns: 1fr;
    }

    .portal_plan_order_head {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ---------------------------------- */
/* Trigger / Callback (Conta - clean) */
/* ---------------------------------- */
.account_box .account_form_callback,
.login_box .account_form_callback {
    position: static;
    width: 100%;
    padding: 0;
    margin: 0 0 14px;
}

.account_box .account_form_callback .trigger,
.login_box .account_form_callback .trigger,
.account_box .trigger,
.login_box .trigger {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-radius: 10px;
    border: 1px solid #7bc6e2;
    background: #d8edf7;
    color: #145e7d;
    padding: 14px 16px;
    font-size: 1.02em;
    line-height: 1.45;
    text-align: left;
    margin: 0;
}

.account_box .account_form_callback .trigger:before,
.login_box .account_form_callback .trigger:before,
.account_box .trigger:before,
.login_box .trigger:before {
    content: "i";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    font-size: 0.8em;
    font-weight: 800;
    line-height: 1;
    margin-top: 1px;
}

.account_box .trigger b,
.login_box .trigger b {
    font-weight: 700;
}

.account_box .trigger a,
.login_box .trigger a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
}

.account_box .trigger_success,
.login_box .trigger_success {
    border-color: #8fd8b0;
    background: #e8f8ef;
    color: #1b7a44;
}

.account_box .trigger_success:before,
.login_box .trigger_success:before {
    content: "?";
}

.account_box .trigger_error,
.login_box .trigger_error {
    border-color: #f2b4bf;
    background: #feeff2;
    color: #9b1d35;
}

.account_box .trigger_error:before,
.login_box .trigger_error:before {
    content: "!";
}

.account_box .trigger_alert,
.login_box .trigger_alert {
    border-color: #f0d39a;
    background: #fff6e6;
    color: #8a5b00;
}

.account_box .trigger_alert:before,
.login_box .trigger_alert:before {
    content: "!";
}

.page_single#acc .portal_property_manage_view {
    display: grid;
    gap: 18px;
}

.page_single#acc .portal_property_manage_head,
.page_single#acc .portal_property_list_head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.page_single#acc .portal_property_manage_head_actions,
.page_single#acc .portal_property_list_head_actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.page_single#acc .portal_property_manage_head_actions .btn,
.page_single#acc .portal_property_list_head_actions .btn {
    min-height: 44px;
    padding: 0 16px;
    font-size: 0.96em;
    font-weight: 700;
    text-transform: none;
}

.page_single#acc .portal_property_manage_head_actions .btn_blue,
.page_single#acc .portal_property_list_head_actions .btn_blue {
    background: var(--acc-primary) !important;
    border-color: var(--acc-primary) !important;
    color: #fff !important;
}

.page_single#acc .portal_property_manage_head_actions .btn_blue:hover,
.page_single#acc .portal_property_list_head_actions .btn_blue:hover {
    background: var(--acc-primary-dark) !important;
    border-color: var(--acc-primary-dark) !important;
}

.page_single#acc .portal_property_manage_metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.page_single#acc .portal_property_manage_metric {
    display: grid;
    gap: 8px;
    border: 1px solid var(--acc-line);
    border-radius: 12px;
    background: #fff;
    padding: 16px 18px;
    box-shadow: 0 8px 20px rgba(15, 26, 48, 0.04);
}

.page_single#acc .portal_property_manage_metric small {
    color: #7b8396;
    font-size: 0.78em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.page_single#acc .portal_property_manage_metric strong {
    color: #1f2331;
    font-size: 1.9em;
    line-height: 1;
    font-weight: 800;
}

.page_single#acc .portal_property_manage_metric span {
    color: #687187;
    font-size: 0.94em;
    line-height: 1.45;
}

.page_single#acc .portal_property_manage_metric.is-primary {
    background: linear-gradient(180deg, #ffffff 0%, #f5fbfd 100%);
    border-color: rgba(1, 164, 194, 0.22);
}

.page_single#acc .portal_property_editor_form {
    display: grid;
    gap: 14px;
}

.page_single#acc .portal_property_editor_form_inner {
    gap: 18px;
}

.page_single#acc .portal_property_editor_section {
    display: grid;
    gap: 16px;
}

.page_single#acc .portal_property_section_head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.page_single#acc .portal_property_section_subtitle {
    display: block;
    color: #687187;
    font-size: 0.95em;
    line-height: 1.5;
}

.page_single#acc .portal_property_media_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: stretch;
}

.page_single#acc .portal_property_media_field {
    display: grid;
    gap: 10px;
}

.page_single#acc .portal_property_media_field > span,
.page_single#acc .portal_property_editor_field > span {
    display: block;
    margin-bottom: 0;
}

.page_single#acc .portal_property_media_toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.page_single#acc .portal_property_media_toolbar > div {
    display: grid;
    gap: 6px;
}

.page_single#acc .portal_property_media_toolbar span {
    color: #1f2331;
    font-size: 1.05em;
    font-weight: 800;
}

.page_single#acc .portal_property_media_toolbar small {
    color: #6f788b;
    font-size: 0.92em;
    line-height: 1.5;
}

.page_single#acc .portal_property_sort_button {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid #cfd8e5;
    border-radius: 10px;
    background: #fff;
    color: #43526d;
    font-size: 0.92em;
    font-weight: 800;
    cursor: default;
}

.page_single#acc .portal_property_sort_button::before {
    content: '\2195';
    margin-right: 8px;
    color: #01a4c2;
    font-weight: 700;
}

.page_single#acc .portal_property_media_toolbar.is-sort-mode .portal_property_sort_button {
    border-color: rgba(1, 164, 194, 0.55);
    color: #0f4f5d;
    background: #eefafd;
}

.page_single#acc .portal_property_dropzone {
    width: 100%;
}

.page_single#acc .portal_property_dropzone_compact {
    min-height: 268px;
    display: grid;
    place-items: center;
    text-align: center;
    gap: 10px;
    padding: 30px 28px 26px;
    background: linear-gradient(180deg, #f9fbfe 0%, #f3f7fb 100%);
    border: 1px dashed #cfdbe8;
    border-radius: 12px;
    color: #1f2331;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.page_single#acc .portal_property_dropzone_compact.is-uploading {
    pointer-events: none;
    opacity: 0.82;
    border-color: rgba(1, 164, 194, 0.45);
    background: linear-gradient(180deg, #eefafd 0%, #e5f6fb 100%);
}

.page_single#acc .portal_property_dropzone_compact.is-dragover {
    border-color: rgba(1, 164, 194, 0.9);
    background: linear-gradient(180deg, #f3fcff 0%, #e9f9fd 100%);
    box-shadow: 0 0 0 3px rgba(1, 164, 194, 0.14);
}

.page_single#acc .portal_property_dropzone_compact input[type="file"] {
    opacity: 0;
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.page_single#acc .portal_property_dropzone strong,
.page_single#acc .portal_property_dropzone small,
.page_single#acc .portal_property_dropzone em,
.page_single#acc .portal_property_dropzone span {
    display: block;
}

.page_single#acc .portal_property_dropzone_icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 4px;
    color: rgba(67, 82, 109, 0.42);
}

.page_single#acc .portal_property_dropzone_icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.page_single#acc .portal_property_dropzone strong {
    color: #1f2331;
    font-size: 1.45em;
    font-weight: 800;
    line-height: 1.15;
}

.page_single#acc .portal_property_dropzone em {
    color: #43526d;
    font-style: normal;
    font-size: 0.96em;
    font-weight: 700;
}

.page_single#acc .portal_property_dropzone_button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 250px;
    min-height: 50px;
    margin: 8px auto 4px;
    padding: 0 24px;
    border-radius: 10px;
    background: #01a4c2;
    color: #ffffff;
    font-size: 0.95em;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.page_single#acc .portal_property_dropzone_compact:hover .portal_property_dropzone_button {
    background: #018da7;
    color: #ffffff;
}

.page_single#acc .portal_property_dropzone small {
    margin-top: 2px;
    color: #5d6b84;
    font-size: 0.92em;
    line-height: 1.45;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.page_single#acc .portal_property_dropzone_meta {
    margin-top: 8px !important;
    color: #43526d !important;
    font-size: 0.94em !important;
    font-weight: 700;
    line-height: 1.5 !important;
}

.page_single#acc .portal_property_dropzone_progress {
    width: 100%;
    max-width: 360px;
    height: 8px;
    margin: 12px auto 0;
    border-radius: 999px;
    overflow: hidden;
    background: #dbe7f0;
}

.page_single#acc .portal_property_dropzone_progress_bar {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #01a4c2 0%, #65d2e4 100%);
    transition: width 0.18s ease;
    position: relative;
    overflow: hidden;
}

.page_single#acc .portal_property_dropzone_progress_bar::after,
.page_single#acc .portal_property_temp_progress_bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14px 50%, rgba(255, 255, 255, 0.55) 0, rgba(255, 255, 255, 0.55) 2px, transparent 3px),
        radial-gradient(circle at 44px 50%, rgba(255, 255, 255, 0.38) 0, rgba(255, 255, 255, 0.38) 2px, transparent 3px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
    background-size: 60px 100%, 60px 100%, 180px 100%;
    animation: portalProgressLiquid 1.4s linear infinite;
}

.page_single#acc .portal_property_dropzone_footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}

.page_single#acc .portal_property_dropzone_counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eef6fb;
    color: #51607a;
    font-size: 0.9em;
    font-weight: 700;
}

.page_single#acc .portal_property_gallery_list {
    margin: 10px 0 0;
}

.page_single#acc .portal_account_property_gallery_item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 14px rgba(15, 26, 48, 0.06);
    border: 1px solid #e2e8f0;
    padding: 8px;
    display: grid;
    gap: 8px;
    cursor: grab;
}

.page_single#acc .portal_account_property_gallery_item.is-uploading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(14, 22, 34, 0.38);
    z-index: 1;
}

.page_single#acc .portal_account_property_gallery_item.is-cover {
    border-color: rgba(1, 164, 194, 0.55);
    box-shadow: 0 0 0 2px rgba(1, 164, 194, 0.12), 0 8px 18px rgba(15, 26, 48, 0.08);
}

.page_single#acc .portal_account_property_gallery_item.is-sorting {
    opacity: 0.45;
}

.page_single#acc .portal_account_property_gallery_item.is-sort-target {
    border-color: rgba(1, 164, 194, 0.9);
    box-shadow: 0 0 0 3px rgba(1, 164, 194, 0.14), 0 10px 20px rgba(15, 26, 48, 0.08);
}

.page_single#acc .portal_property_cover_badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #01a4c2;
    color: #fff;
    font-size: 0.76em;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.page_single#acc .portal_account_property_gallery_item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
}

.page_single#acc .portal_property_temp_progress {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 62px;
    z-index: 2;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.24);
}

.page_single#acc .portal_property_temp_progress_bar {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #01a4c2 0%, #65d2e4 100%);
    transition: width 0.18s ease;
    position: relative;
    overflow: hidden;
}

.page_single#acc .portal_property_temp_status {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 76px;
    z-index: 2;
    color: #fff;
    font-size: 0.82em;
    font-weight: 800;
    text-align: center;
}

@keyframes portalProgressLiquid {
    from {
        background-position: 0 0, 0 0, 0 0;
    }
    to {
        background-position: 60px 0, 60px 0, 180px 0;
    }
}

.page_single#acc .portal_property_gallery_item_actions {
    display: grid;
    gap: 6px;
}

.page_single#acc .portal_account_property_gallery_item button {
    width: 100%;
    min-height: 34px;
    border: 1px solid #ffd2dc;
    border-radius: 8px;
    background: #fff5f8;
    color: #d13962;
    font-size: 0.82em;
    font-weight: 700;
}

.page_single#acc .portal_account_property_gallery_item .j_property_cover_select,
.page_single#acc .portal_account_property_gallery_item .j-property-new-cover-select {
    border-color: rgba(1, 164, 194, 0.28);
    background: #eef8fb;
    color: #017f98;
}

.page_single#acc .portal_account_property_gallery_item .j_property_cover_select.is-active,
.page_single#acc .portal_account_property_gallery_item .j-property-new-cover-select.is-active {
    border-color: rgba(1, 164, 194, 0.5);
    background: #01a4c2;
    color: #fff;
}

.page_single#acc .portal_property_editor_grid {
    display: grid;
    gap: 14px;
}

.page_single#acc .portal_property_editor_grid.is-1 {
    grid-template-columns: minmax(0, 1fr);
}

.page_single#acc .portal_property_editor_grid.is-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page_single#acc .portal_property_editor_grid.is-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page_single#acc .portal_property_editor_field {
    display: grid;
    gap: 8px;
}

.page_single#acc .portal_property_editor_field.is-highlight input {
    min-height: 50px;
    font-size: 1.06em;
    font-weight: 700;
}

.page_single#acc .portal_property_editor_field.is-textarea textarea {
    min-height: 220px;
    resize: vertical;
}

.page_single#acc .portal_property_ai_actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.page_single#acc .portal_property_ai_btn {
    gap: 10px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 8px;
    border: 1px solid #d7deea;
    background: #fff;
    color: #334155;
    font-size: 0.95em;
    font-weight: 800;
    text-align: center;
    line-height: 1.15;
    width: 100%;
    white-space: normal;
    cursor: pointer;
    transition: 0.2s ease;
    display: flex;
    align-items: center;
}

.page_single#acc .portal_property_ai_btn span {
    flex: 0 0 auto;
    font-size: 0.95em;
    line-height: 1;
}

.page_single#acc .portal_property_ai_btn:hover {
    border-color: #b8c6da;
    background: #f8fbff;
}

.page_single#acc .portal_property_ai_btn.is-primary {
    border-color: #01a4c2;
    background: #01a4c2;
    color: #fff;
}

.page_single#acc .portal_property_ai_btn.is-primary:hover {
    background: #018eaa;
    border-color: #018eaa;
}

.page_single#acc .portal_property_ai_btn.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

@media (max-width: 740px) {
    .page_single#acc .portal_property_ai_actions {
        grid-template-columns: 1fr;
    }

    .page_single#acc .portal_property_ai_btn {
        justify-content: flex-start;
        text-align: left;
    }
}

.page_single#acc .portal_account_property_features {
    display: grid;
    gap: 14px;
}

.page_single#acc .portal_feature_group {
    border: 1px solid #dbe1ea;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.page_single#acc .portal_feature_group + .portal_feature_group {
    margin-top: 12px;
}

.page_single#acc .portal_feature_group_summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    cursor: pointer;
    user-select: none;
}

.page_single#acc .portal_feature_group_summary::-webkit-details-marker {
    display: none;
}

.page_single#acc .portal_feature_group_summary::after {
    content: "";
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-right: 2px solid #6f7787;
    border-bottom: 2px solid #6f7787;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.page_single#acc .portal_feature_group[open] .portal_feature_group_summary::after {
    transform: rotate(-135deg);
}

.page_single#acc .portal_feature_group_title {
    display: inline-flex;
    align-items: center;
    color: #1f2331;
    font-size: 0.82em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.page_single#acc .portal_feature_group_meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    padding-right: 8px;
}

.page_single#acc .portal_feature_group_meta small {
    color: #7a8394;
    font-size: 0.82em;
    font-weight: 600;
}

.page_single#acc .portal_feature_group_meta strong {
    color: #01a4c2;
    font-size: 0.82em;
    font-weight: 700;
}

.page_single#acc .portal_feature_group_content {
    padding: 0 16px 16px;
    border-top: 1px solid #edf1f7;
}

.page_single#acc .portal_feature_grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding-top: 14px;
}

.page_single#acc .portal_feature_item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid #dbe1ea;
    border-radius: 10px;
    background: #fff;
    color: #364055;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.page_single#acc .portal_feature_item.active {
    border-color: rgba(1, 164, 194, 0.42);
    background: linear-gradient(180deg, rgba(1, 164, 194, 0.1) 0%, rgba(1, 164, 194, 0.06) 100%);
    box-shadow: inset 0 0 0 1px rgba(1, 164, 194, 0.08);
}

.page_single#acc .portal_feature_item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
    margin: 0;
}

.page_single#acc .portal_feature_item span {
    color: inherit;
    font-size: 0.92em;
    font-weight: 700;
    text-transform: none;
    letter-spacing: normal;
}

.page_single#acc .portal_feature_item::before {
    content: "";
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border-radius: 6px;
    border: 1px solid #c9d2df;
    background: #fff;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.page_single#acc .portal_feature_item::after {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    width: 5px;
    height: 9px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translateY(-58%) rotate(45deg) scale(0);
    transition: transform 0.18s ease;
}

.page_single#acc .portal_feature_item.active::before {
    border-color: #01a4c2;
    background: #01a4c2;
    box-shadow: 0 8px 18px rgba(1, 164, 194, 0.18);
}

.page_single#acc .portal_feature_item.active::after {
    transform: translateY(-58%) rotate(45deg) scale(1);
}

.page_single#acc .portal_property_editor_actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 12px;
    padding-top: 18px;
    border-top: 1px solid #edf1f6;
    flex-wrap: wrap;
}

.page_single#acc .portal_property_editor_switches {
    display: grid;
    gap: 10px;
    margin-right: auto;
    min-width: 280px;
    max-width: 340px;
}

@keyframes portalPropertyAutosaveSpin {
    to {
        transform: rotate(360deg);
    }
}

.page_single#acc .portal_property_switch {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
    min-height: 28px;
    cursor: pointer;
}

.page_single#acc .portal_property_switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.page_single#acc .portal_property_switch_track {
    position: relative;
    width: 44px;
    height: 24px;
    border-radius: 999px;
    background: #cfd6e2;
    transition: background 0.2s ease;
}

.page_single#acc .portal_property_switch_track::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 26, 48, 0.14);
    transition: transform 0.2s ease;
}

.page_single#acc .portal_property_switch input:checked + .portal_property_switch_track {
    background: #01a4c2;
}

.page_single#acc .portal_property_switch input:checked + .portal_property_switch_track::after {
    transform: translateX(20px);
}

.page_single#acc .portal_property_switch_text {
    color: #2d3548;
    font-size: 0.98em;
    font-weight: 700;
}

.page_single#acc .portal_property_editor_actions .btn {
    min-width: 170px;
    min-height: 50px;
    border-radius: 8px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.98em;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.page_single#acc .portal_property_editor_actions .btn_blue {
    box-shadow: 0 10px 24px rgba(1, 164, 194, 0.16);
    min-width: 270px;
}

.page_single#acc .portal_property_list_badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: #eef8fb;
    color: var(--acc-primary);
    font-size: 0.84em;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.page_single#acc .portal_property_list_table {
    margin-top: 0;
}

.page_single#acc .portal_account_property_table_head,
.page_single#acc .portal_account_property_table_row {
    grid-template-columns: 92px minmax(0, 1.7fr) minmax(0, 1.35fr) 0.95fr 0.9fr 176px;
    gap: 14px;
    padding: 14px 16px;
}

.page_single#acc .portal_account_property_table_head {
    background: #f8fafc;
}

.page_single#acc .portal_account_property_table_row {
    margin: 0;
    border: 0;
    border-top: 1px solid #edf0f5;
    border-radius: 0;
    box-shadow: none;
    padding: 14px 16px;
}

.page_single#acc .portal_account_property_title_cell {
    display: grid;
    gap: 5px;
}

.page_single#acc .portal_account_property_line_meta {
    color: #7a8396;
    font-size: 0.82em;
    line-height: 1.35;
}

.page_single#acc .portal_account_property_price_cell {
    font-weight: 700;
    color: #1f2331;
}

@media (max-width: 1100px) {
    .page_single#acc .portal_feature_grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .page_single#acc .portal_property_manage_head,
    .page_single#acc .portal_property_list_head {
        flex-direction: column;
    }

    .page_single#acc .portal_property_manage_head_actions,
    .page_single#acc .portal_property_list_head_actions {
        width: 100%;
        justify-content: flex-start;
    }

    .page_single#acc .portal_property_manage_metrics,
    .page_single#acc .portal_property_editor_grid.is-2,
    .page_single#acc .portal_property_editor_grid.is-3,
    .page_single#acc .portal_feature_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page_single#acc .portal_account_media_grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .page_single#acc .portal_account_property_table_row {
        position: relative;
        gap: 8px;
        padding: 16px;
    }

    .page_single#acc .portal_account_property_cell {
        display: grid;
        gap: 4px;
    }

    .page_single#acc .portal_account_property_cell::before {
        content: attr(data-label);
        color: #7b8396;
        font-size: 0.74em;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .page_single#acc .portal_account_property_actions {
        margin-top: 6px;
    }
}

@media (max-width: 640px) {
    .page_single#acc .portal_property_manage_metrics,
    .page_single#acc .portal_property_editor_grid.is-2,
    .page_single#acc .portal_property_editor_grid.is-3,
    .page_single#acc .portal_feature_grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .page_single#acc .portal_property_editor_actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .page_single#acc .portal_property_editor_switches {
        width: 100%;
        min-width: 0;
        margin-right: 0;
    }

    .page_single#acc .portal_property_editor_actions .btn,
    .page_single#acc .portal_property_manage_head_actions .btn,
    .page_single#acc .portal_property_list_head_actions .btn {
        width: 100%;
    }
}

.portal_account_modal[hidden] {
    display: none !important;
}

body.is-account-modal-open {
    overflow: hidden;
}

.portal_account_modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 20px;
}

.portal_account_modal_backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 18, 28, 0.58);
    backdrop-filter: blur(4px);
}

.portal_account_modal_dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 460px);
    border: 1px solid #dfe5ef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 26, 48, 0.18);
    overflow: hidden;
}

.portal_account_modal_close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f3f6fb;
    color: #5f6c84;
    font-size: 1.4em;
    line-height: 1;
    cursor: pointer;
}

.portal_account_modal_body {
    display: grid;
    gap: 10px;
    padding: 28px 24px 18px;
}

.portal_account_modal_tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef8fb;
    color: #017f98;
    font-size: 0.76em;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.portal_account_modal_body h3 {
    margin: 0;
    color: #1f2331;
    font-size: 1.45em;
    line-height: 1.15;
}

.portal_account_modal_body p {
    margin: 0;
    color: #647188;
    font-size: 0.98em;
    line-height: 1.6;
}

.portal_account_modal_actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 0 24px 24px;
}

.portal_account_modal_actions .btn {
    min-width: 132px;
    min-height: 42px;
    padding: 0 16px;
    text-transform: none;
}

.portal_account_two_factor_modal .portal_account_modal_dialog {
    width: min(100%, 520px);
}

.portal_account_two_factor_modal .portal_account_modal_body {
    gap: 12px;
}

.portal_account_two_factor_modal .portal_auth_code_input {
    margin-top: 4px;
}

@media (max-width: 640px) {
    .portal_account_modal {
        padding: 14px;
    }

    .portal_account_modal_dialog {
        width: 100%;
    }

    .portal_account_modal_actions {
        flex-direction: column-reverse;
    }

    .portal_account_modal_actions .btn {
        width: 100%;
    }
}
