/* region Portal Reset */
#my-actionary-portal p {
    font-size: 1em;
    margin-bottom: 1em;
}

#my-actionary-portal button,
#my-actionary-portal input,
#my-actionary-portal select,
#my-actionary-portal textarea,
#my-actionary-portal label {
    font-size: 0.8em;
}
.admin-edit a.button,
.stacked-actions a.button,
.actny-featured-news-form button,
.actny-map-to-account-form button  {
    padding: 5px 15px;
    color: #bbb;
    border: 1px solid #ededed;
    background: #efefef;
    border-radius: 5px;
}
button.actny-resend-verification,
button.actny-reload-form {
    margin: 20px 0;
}
#actny-account-switcher {
    border: 0;
    outline: none;
    box-shadow: none;
    font-size: 0.8em!important;
    width: 100%;
}
#actny-account-switcher:focus {
    outline: none;
    box-shadow: none;
}
/* endregion Portal Reset */

/* region My Actionary Portal Plans */

body.plan-page {
    background: #ededed;
}
.fa-circle-check {
    color: #cfcfcf;
}

/* CATEGORY LEVEL ------------------------------------- */
.lp-category {
    border-bottom: 1px solid #ededed;
}
.lp-category.open {
    border-bottom: 5px solid #dadada;
}
.lp-category.open .lp-category-header .fa-circle-check {
    color: #ac138d;
}
.lp-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 12px;
    background: #fdfdfd;
    cursor: pointer;
    font-size: 20px;
    font-weight: 700;
}
.lp-category-header:hover,
.matrix-section-heading:hover {
    background: #ddd;
}
.lp-category.open .lp-category-header {
    background: #77045f;
    color: #ffffff;
}
.lp-category-title {
    flex: 1;
}

.lp-category-icon {
    font-size: 26px;
    font-weight: 300;
    padding-left: 12px;
}
.lp-category-description {
    font-size: 0.7em;
    font-weight: normal;
    line-height: 1.1em;

}
.lp-category-description p {
    margin-bottom: 0;
}
/* Smooth sliding body for category */
.lp-category-body {
    background: #fff;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.25s ease;
}

.lp-category.open .lp-category-body {
    max-height: 2000px;
}

/* FEATURE LEVEL -------------------------------------- */
.lp-feature {
    padding: 2px 0;
}

.lp-feature-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    color: #555;
}
.lp-feature {
    min-width: 300px;
}
.lp-feature-header .fa-arrow-up-right-from-square {
    font-size: 14px;
    position: relative;
    top: -5px;
}
.lp-feature-header {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    cursor: pointer;
    font-weight: 600;
    padding: 5px 12px 5px 0;
}
.lp-feature-arrow {
    color: #555;
    transition: transform .2s ease;
    font-size: 22px;
    display: inline-block;
    transform-origin: center;
    padding: 0 5px;
}
.lp-feature-title:hover,
.lp-feature-arrow:hover {
    color: black;
}

.lp-feature.open .lp-feature-title {
    color: black;
}
.lp-feature.open .lp-feature-arrow {
    transform: rotate(90deg);
    color: black;
}

/* Smooth sliding body for feature description */
.lp-feature-body {
    padding: 0 0 0 18px; /* base padding; extra spacing handled via transition */
    color: #444;
    font-size: 15px;
    line-height: 1.45;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.2s ease, opacity 0.2s ease, padding-top 0.2s ease, padding-bottom 0.2s ease;
}

.lp-feature.open .lp-feature-body {
    max-height: 500px;
    opacity: 1;
}
.lp-feature-body p {
    padding-left: 12px;
    margin-bottom: 1em;
}

/* endregion */


.page-template-template-user-portal .builder-item--button_base_2 .component-wrap a {
    background: #536463; /* My Actionary Menu Button */
}

.page-template-template-user-portal .nv-post-cover,
.page-template-template-complete-questionnaire .nv-post-cover {
    display: none;
}

.page-template-template-user-portal .neve-main,
.page-template-template-complete-questionnaire .neve-main {
    /* background: #ededed !important; */
    padding-top: 20px;
}
#my-actionary-portal .actny-main-body {
    display: grid;
    grid-template-columns: 2fr 7fr;
    gap: 20px;
    /*background: #EDEDED;*/
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 40px;
}
#actny-account-switcher {
    background: #EDEDED;
}
#my-actionary-portal .left-side .menu-container {
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 5px 10px 0;
    /* border: 1px solid #d3d3d3; */
    background: #ededed;
}
#my-actionary-portal .right-side {
    background: white;
    padding: 0 20px;
}

#my-actionary-portal .left-side h2 {
    padding-bottom: 0px;
    font-size: 1em;
    margin-bottom: 10px;
}
.research-archive .section-heading,
#my-actionary-portal .right-side h2.section-heading {
    border-bottom: 5px solid var(--nv-primary-accent);
    font-size: 1.5em;
    padding: 12px 10px 20px 0px;
}
#my-actionary-portal .right-side h3.section-heading {
    margin: 0 0 20px 0;
    padding: 20px 0;
    display: block;
    border-bottom: 10px solid #1c2327;
}
#my-actionary-portal .right-side h4.section-heading {
    margin: 0 0 10px 0;
    padding: 20px 0;
    display: block;
    border-bottom: 5px solid #00BCD4;
}
#my-actionary-portal .right-side .my-actionary-section {
    /* border: 2px solid #dddddd; */
    margin-bottom: 20px;
    /* padding: 20px; */
}
.research-archive .my-actionary-section {
    margin: 40px 0;
    border: 2px solid #ededed;
    border-radius: 20px;
    padding: 40px;
}
.research-archive .my-actionary-section p.subtitle {
    font-style: italic;
}
#my-actionary-portal .right-side .my-actionary-section.smaller-font {
    font-size: 0.8em;
    line-height: 1.1em;
}
#my-actionary-portal .right-side .my-actionary-section input[type="text"] {
    font-size: 1em!important;
}
#my-actionary-portal .right-side .my-actionary-section .fullwidth {
    width: 100%;
}
#my-actionary-portal .nothing-to-show {
    margin: 0px!important;
    font-weight: bold;
}
#my-actionary-portal .user-message {
    margin: 0px;
    font-weight: bold;
}
#my-actionary-portal .right-side .fluentform {
    width: 100%!important;
    margin: 0 auto;
    font-size: 0.8em;
}
#my-actionary-portal .left-side .menu-container ul li {
    margin: 10px 0;
    padding: 2px 0;
    border-bottom: 1px dashed #ddd;

}
#my-actionary-portal .welcome {
    padding: 20px 0;
    margin: 0 0 10px 0;
    border-bottom: 5px solid #EEE;
}
#my-actionary-portal .welcome p {
    font-weight: bold;
    font-size: 1.4em;
    margin: 0;
}
#my-actionary-portal .welcome p.guest,
#my-actionary-portal .welcome p.vendor {
    border-bottom: 0px;
    padding-bottom: 0px;
    font-size: 1em;
    color: grey;
}
#my-actionary-portal .welcome .roles {
    padding: 10px 0;
    font-size: 0.5em;
    color: #165e61;
    line-height: 1.2em;
    text-transform: uppercase;
}
#my-actionary-portal span.user-email {
    display: block;
    margin: 0px 0 0 0;
    font-size: 0.8em;
    color: #00f6ff;
    font-style: italic;
}


/* region Price List */
.product-table-title.price-list {
    display: block;
    background: #536563;
    color: #FFFFFF;
    padding: 10px;
    margin: 0;
    font-size: 1.2em;
}
a.filter-button {
    background: #e0e0e0;
    color: black;
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
    margin: 4px 4px 0 0;
}
a.filter-button:hover,
a.filter-button.active {
    background: #78165f;
    color: white;
}

/** PRICING CHECK BOXES
.actny-product-matrix {
    position: relative;
}

.actny-product-matrix-table.sticky {
    position: fixed;
    height: 60px;
    top: 166px;
    left: 0;
    right: 0;
    width: min(95%, 1140px);
    margin: 0 auto;
    z-index: 99;
    border-collapse: separate;
    border-spacing: 0;
}

.actny-product-matrix {
    margin-top: 20px;
}

.actny-product-matrix-table {
    width: 100%;
    margin-bottom: 2rem;
}

.actny-product-matrix-table th,
.actny-product-matrix-table td {
    padding: 8px 10px;
    border-bottom: 0;
}

.actny-product-matrix-table thead {
    color: white;
}

.actny-product-matrix-table.sticky thead {
    color: black;
}

.actny-product-matrix-table {
    width: 100%;
    margin-bottom: 2rem;
}

.actny-product-matrix-table th,
.actny-product-matrix-table td {
    padding: 8px 10px;
    border-bottom: 0;
}

.actny-product-matrix-table th.product,
.actny-product-matrix-table td.product-cell {
    text-align: left;
    vertical-align: top;
}

.actny-product-matrix-table.sticky th.plan {
    background: #f1f5f9;
}

.actny-product-matrix-table.sticky thead th:nth-child(2) {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.actny-product-matrix-table.sticky thead th:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.single-page-container tr.product-row td.product-cell,
.fixed-product-plan-matrix th.product,
.single-page-container th.product {
    width: 51%!important;
}
.single-page-container th.plan {
    width: 142px;
    text-align: center;
}

.actny-product-matrix-table td.tick {
    color: #0d9488;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
}

.actny-product-matrix-table td.tick i.fa-circle-check {
    color: #536563;
    font-size: 1.8em;
}

.actny-product-matrix-table td.dash {
    color: #a9bcba;
    font-size: 1.1em;
    text-align: center;
    vertical-align: middle;
}

.matrix-section-heading {
    background: #f1f5f9;
    padding: 10px;
    font-weight: bold;
    border-radius: 10px;
}

.product-name a {
    display: inline-block;
    font-weight: 600;
    color: #86006a;
    text-decoration: none;
    margin-bottom: 2px;
}
.product-name a:hover {
    text-decoration: underline;
}
.product-description {
    font-size: 0.9em;
    color: #6b7280;
    margin-top: 2px;
    line-height: 1.4;
}

.actny-product-matrix-table th.plan {
    width: 100px;
    text-align: center;
}

.actny-product-matrix-table {
    border-collapse: separate;
    border-spacing: 0 4px;
}

.is-product-package td:first-child {
    background-color: #f5faf3;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}
.is-product-package td:nth-child(2),
.is-product-package td:nth-child(3),
.is-product-package td:nth-child(4) {
    background-color: #f5faf3;
}

.is-product-package td:last-child {
    background-color: #f5faf3;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}
*/

/* region Price List */
.product-table-title.price-list {
    display: block;
    background: #536563;
    color: #FFFFFF;
    padding: 10px;
    margin: 0;
    font-size: 1.2em;
}
a.filter-button {
    background: #e0e0e0;
    color: black;
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
    margin: 4px 4px 0 0;
}
a.filter-button:hover,
a.filter-button.active {
    background: #78165f;
    color: white;
}

/* region Price List */
.product-table-title.price-list {
    display: block;
    background: #536563;
    color: #FFFFFF;
    padding: 10px;
    margin: 0;
    font-size: 1.2em;
}
a.filter-button {
    background: #e0e0e0;
    color: black;
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
    margin: 4px 4px 0 0;
}
a.filter-button:hover,
a.filter-button.active {
    background: #78165f;
    color: white;
}

/* ================================================
   MATRIX CONTAINER
   ================================================ */
.product-matrix-group {
    padding: 40px 40px 0px 40px;
    background: white;
    border-radius: 20px;
}
.actny-product-matrix-section {
    margin-bottom: 40px;
}
.actny-product-matrix {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    border-collapse: separate;
    position: relative;
    font-size: 0.9em;
    background: white;
}

/* ================================================
   HEADER (STICKY)
   ================================================ */
.matrix-header {
    z-index: 50;
    display: grid;
    font-weight: bold;
    grid-template-columns: 2fr repeat(4, 1fr);
    align-items: center;
    top: 115px;
    left: 0;
    right: 0;
    width: min(100%, 1090px);
    margin: 0 auto;
    z-index: 99;
    background: white;
    border-top: 2px solid #ededed;
    border-bottom: 2px solid #ededed;
}

.my-actionary .matrix-header {
    width: min(100%, 802px);
    left: 258px;
    right: 0;

}

.my-actionary .product-matrix-group {
    padding: 0;
}

.matrix-header .col {
    align-items: center;
    font-size: 1.2em;
}

/* Make first cell transparent */
.matrix-header .col:first-child {
    min-width: 320px;
    height: 60px;
}

/* All other header cells colored */
.matrix-header .col:not(:first-child) {
    margin: 0;
    padding: 10px 0;
}


/* ================================================
   SECTION HEADINGS
   ================================================ */
.matrix-section-heading {
    /* background: #f1f5f9; */
    padding: 10px 0px;
    font-weight: 700;
    font-size: 1.1em;
    margin-top: 5px;
    margin-bottom: 6px;
    grid-column: 1 / -1;
}

.matrix-section-heading:first-of-type {
    /* margin-top: 50px; */ /* equal or slightly more than your header height */
}

/* ================================================
   ROWS
   ================================================ */
.matrix-row {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    align-items: center;
    /* border-bottom: 1px solid #ededed; */
}

.pricing-mode .matrix-row {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Product | Price */
    align-items: center;
}

.matrix-row .col {
    padding: 0px 12px;
    text-align: center;
}

.matrix-row .col:last-child {
    border-right: none;
}

/* Left-most product column */
.matrix-row .col.product {
    text-align: left;
    margin: 0;
}
.matrix-plan-pricing {
    background: #ececec;
}
.matrix-plan-pricing .col {
    font-weight: 600;
    padding: 12px 8px;
    font-size: 1.1em;
}
/* ================================================
   PRODUCT CELLS
   ================================================ */
.product-name a {
    color: #86006a;
    font-weight: 600;
    text-decoration: none;
}
.product-name a:hover {
    text-decoration: underline;
}

.product-description {
    font-size: 0.8em;
    color: #6b7280;
    line-height: 1.4;
    margin-top: 0px;
}

/* ================================================
   PACKAGE ROWS
   ================================================ */
.matrix-row.is-product-package {
    background-color: #f5faf3;
    /* border-left: 4px solid #86006a; */
    border-radius: 4px;
    margin-top: 6px;
    margin-bottom: 6px;
}
.packaged-solution {
    display: inline-block;
    background: #f5faf3;
    padding: 10px;
    border: 1px solid #e8e8e8;
}
.matrix-row.is-product-package.open {
    background: #f6e4f6;
}
/* Add spacing between package groups */
.matrix-row.is-product-package + .matrix-row:not(.is-product-package) {
    margin-top: 12px;
}

/* ================================================
   ICONS
   ================================================ */
.tick {
    color: #536563;
    font-size: 1.6em;
}
.dash {
    color: #a9bcba;
    font-size: 1.2em;
}

.matrix-row.matrix-header.is-sticky {
    position: fixed;
    z-index: 99;
}

.matrix-section-heading.has-sticky {
    margin-top: 20px;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1210px) {
    .matrix-header {
        justify-content: end;
        left: auto;
        right: 0;
        margin-right: 40px;
    }
}
@media (max-width: 1034px) {
    .my-actionary .matrix-header {
        margin-right: 0px;
    }
    .my-actionary .matrix-header {
        font-size: 0.8em!important;
        grid-template-columns: repeat(4, 1fr);
    }
    .my-actionary .matrix-header .col.product {
        display: none !important; /* completely remove the first cell */
    }
    .my-actionary .matrix-header.is-sticky {
        grid-template-columns: repeat(4, 1fr);
        justify-content: center;
        right: 65px;
        left: auto;
        width: 78%;
    }
    #my-actionary-portal .right-side {
        padding: 0px;
    }
}
@media (max-width: 1024px) {
    .matrix-header {
        margin-right: 60px;
    }
}
@media (max-width: 890px) {
    .matrix-header {
        font-size: 0.9em!important;
        margin-right: 40px;
    }
    .matrix-header .col.plan {
        padding: 4px;
        margin: 1px;
        border-radius: 6px;
    }
    .product-matrix-group {
        padding: 40px 20px 120px 20px;
    }
}
@media (max-width: 800px) {
    .my-actionary .matrix-header.is-sticky {
        right: 55px;
        left: auto;
        width: 78%;
    }
    .page-template-template-user-portal .neve-main,
    .page-template-template-complete-questionnaire .neve-main {
        padding: 0px!important;
    }
    #my-actionary-portal .actny-main-body {
        padding: 0px!important;
        margin: 0px!important;
    }
}
@media (max-width: 475px) {
    .matrix-header .col.plan {
        font-size: 0.87em!important;
    }
    .my-actionary .matrix-header.is-sticky {
        right: 25px;
        left: auto;
        width: 90%;
    }
}
@media (max-width: 430px) {
    .product-matrix-group {
        width: 390px;
    }
}
@media (max-width: 412px) {
    .product-matrix-group {
        width: 372px;
    }
}
@media (max-width: 390px) {
    .product-matrix-group {
        width: 350px;
    }
}
@media (max-width: 360px) {
    .matrix-header {
        margin-right: 25px;
    }
    .my-actionary .matrix-header.is-sticky {
        right: 0px;
        left: auto;
        width: 96%;
    }
}
@media (max-width: 344px) {
    .matrix-header {
        margin-right: 15px;
    }
}
/* endregion */

.my-actionary.portal-entity-table.compact {
    margin-top: 20px;
}
.my-actionary.portal-entity-table.compact .key-activity {
    max-width: 500px;
}
.my-actionary.portal-entity-table.compact td {
    vertical-align: top;
}
#my-actionary-portal .my-actionary-section {
    padding: 10px 10px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #ededed;
}
#my-actionary-portal .my-actionary-section h3 {
    margin-bottom: 0px;
}
#my-actionary-portal .my-actionary-section p {
    margin-bottom: 20px;
}
#my-actionary-portal .my-actionary-section ul,
#my-actionary-portal .my-actionary-section ol {
    margin: 0 0 20px 40px;
}
#my-actionary-portal .my-actionary-section ul li {
    list-style: disc;
}

#my-actionary-portal ul.vendor-products li {
    margin-bottom: 10px;
}
#my-actionary-portal table.actny-dynamic.engagement-products th {
    padding: 0px 5px;
}
#my-actionary-portal table.actny-dynamic.engagement-products td {
    padding: 0px 5px;
}
#my-actionary-portal table.actny-dynamic.engagement-products td {
    border-bottom: 3px solid #536563;
}
#my-actionary-portal table.actny-dynamic.engagement-products tbody tr:last-child td {
    border-bottom: 0px;
}
#my-actionary-portal table.actny-dynamic.engagement-products tfoot tr:last-child {
    background: #536563;
    color: white;
}
#my-actionary-portal table.actny-dynamic.engagement-products tfoot tr:last-child td {
    border-top: 3px solid black;
    border-bottom: 3px solid black;
}
#my-actionary-portal .services-container {
    margin-bottom: 30px;
}
#my-actionary-portal .services-container .service-icon {
    width: 45px;
}
#my-actionary-portal .services-container .grid {
    display: grid;
    grid-template-columns: 60px 1fr 1fr 1fr; /* Fixed width for the first column */
    gap: 20px;
}

#my-actionary-portal .services-container .column-label {
    background-color: #f0f0f0;
    color: #4A4A4A;
    padding: 10px;
    font-weight: bold;
    text-align: center;
}

#my-actionary-portal .services-container .row-label {
    background-color: #333;
    color: white;
    writing-mode: vertical-rl;
    text-align: center;
    padding: 20px;
    font-weight: bold;
    font-size: 1.2rem;
    width: 60px; /* Fixed width for consistency */
    height: 150px; /* Fixed height to match service boxes */
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

#my-actionary-portal .services-container .service-box {
    background-color: #d3d3d3;
    color: #4A4A4A;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 30px 15px;
    height: 150px; /* Match row-label height */
    text-align: center;
    transition: none; /* Disable hover effects */
    box-sizing: border-box;
}

#my-actionary-portal .services-container .service-box a {
    color: inherit;
    text-decoration: none;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#my-actionary-portal .services-container .service-box::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    border-top: 30px solid #333;
    border-left: 30px solid transparent;
}

/* Additional styling for parent content */
#my-actionary-portal .services-container .parent-content {
    margin-bottom: 20px;
    text-align: center;
}
#my-actionary-portal .product-listing-container {
    max-width: 726px;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 40px;
}
#my-actionary-portal .product-listing-section {
    padding: 40px;
    margin-top: 30px;
}
.my-actionary-navigation a.button,
.my-actionary-navigation button.button {
    display: block;
    width: 100%;
    background: none;
    /* color: white; */
    color: black;
    padding: 0;
    margin: 0;
}
.my-actionary-navigation li {
    margin: 0px 0 3px 0!important;
}
.my-actionary-navigation li a {
    text-align: left;
    text-transform: uppercase!important;
}
.my-actionary-navigation li a:hover,
.my-actionary-navigation li a.selected {
    background: none!important;
    color: var(--nv-primary-accent)!important;
}

@media (max-width: 1024px) {
    .left-side.nav {
        display: none;
    }
    #my-actionary-portal .actny-main-body {
        display: block;
    }
}
table.my-actionary th,
table.my-actionary td{
    border: 1px solid #dadbdd;
    padding: 5px;
}
table.my-actionary th,
table.my-actionary th {
    background: #ededed;
}
table.my-actionary.previous-inquiries td:nth-child(1) {
    width: 100px;
}
.my-actionary-navigation a.button.selected {
    background: #536363;
}
.my-actionary-navigation a.button.chat-now {
    background: #fcaf3b;
}

/* region Book Forms */

#actny-book-inquiry-form,
form.actny-portal-form,
form.actny-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
}

#actny-book-inquiry-form .actny-form-row,
form.actny-portal-form .actny-form-row,
form.actny-form .actny-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

#actny-book-inquiry-form label,
form.actny-portal-form label,
form.actny-form label {
    flex: 0 0 150px;
    font-weight: bold;
    margin-bottom: 0;
}

#actny-book-inquiry-form .actny-input,
form.actny-portal-form .actny-input,
form.actny-form .actny-input {
    flex: 1;
}

#actny-book-inquiry-form textarea,
form.actny-portal-form textarea,
form.actny-form textarea,
#actny-book-inquiry-form select,
form.actny-portal-form select,
form.actny-form select,
#actny-book-inquiry-form input[type="text"],
form.actny-portal-form input[type="text"],
form.actny-form input[type="text"],
#actny-book-inquiry-form input[type="datetime-local"],
form.actny-portal-form input[type="datetime-local"] {
    padding: 0.4rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 0.9em;
}
#actny-book-inquiry-form textarea,
form.actny-portal-form textarea,
form.actny-form textarea {
    width: 100%;
}

#actny-book-inquiry-form input[readonly],
form.actny-portal-form input[readonly],
form.actny-form input[readonly] {
    background-color: #f9f9f9;
    color: #666;
    border: 1px solid #ccc;
    cursor: not-allowed;
}

#actny-book-inquiry-form button,
form.actny-portal-form button,
form.actny-form button {
    align-self: flex-start;
    margin-top: 1rem;
}
.actny-cancel-entity-button {
    padding: 0px 10px;
    background: #f5f5f5;
    color: black;
}
table.actny-inquiries-table td {
    vertical-align: top;
}

@media (max-width: 600px) {
    #actny-book-inquiry-form .actny-form-row {
        flex-direction: column;
        align-items: stretch;
    }

    #actny-book-inquiry-form label {
        flex: 1 1 100%;
    }

    #actny-book-inquiry-form .actny-input {
        flex: 1 1 100%;
    }
}

table.actny-inquiries-table {
    width: 100%;
    border-collapse: collapse;
}
table.actny-inquiries-table th,
table.actny-inquiries-table td {
    border: 1px solid #ddd;
    padding: 8px;
}
table.actny-inquiries-table th {
    background-color: #f5f5f5;
    text-align: left;
}
table.actny-entity-table {
    font-size: 0.95em;
    line-height: 1.2em;
}
table.actny-entity-table ol,
table.actny-entity-table ul {
    margin: 0 0 0 40px;
}
table.actny-entity-table ul {
    list-style: disc;
}
.actny-portal-form .after-field-html {
    font-size: 0.9em;
}

/* endregion Book Forms */

/* region Login and Register */

#actny-login-form {
    margin-top: 20px;
}

#actny-login-message,
.actny-form-notice {
    border: 1px solid #F2F2F2;
    padding: 10px;
    margin-bottom: 20px;
    background: #e2f5ff;
    border-left: 2px solid #77045f;
    display: none;
}
#actny-login-message p {
    margin: 0!important;
}

.actny-section label {
    font-size: 1em!important;
}
.actny-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
}
.actny-submit-row a:hover {
    text-decoration: underline;
}
.actny-submit-row .terms-of-service {
    flex: 1;
}

.actny-submit-row .actny-button {
    flex-shrink: 0;
}


#actny-login-form .button {
    margin-top: 20px;
}

.actny-modal-content {
    display: inline-block;
    background: #fff;
    position: relative;
    vertical-align: middle;
    width: 90%;
    height: 90%;
    border-radius: 5px;
    text-align: left;
}

.actny-tabs {
    display: flex;
    list-style: none;
    padding: 0 20px 16px;
    margin: 0;
}
.actny-tabs li {
    flex: 1;
    text-align: center;
    padding: 12px 20px;
    cursor: pointer;
}
.actny-tabs li.actny-active {
    font-weight: 600;
    pointer-events: none;
}

.actny-section {
    display: none;
}
.actny-section.actny-active { display: block; }

.actny-tabs {
    margin-bottom: 20px;
    padding: 0px;
}
.actny-tabs a {
    margin-right: 10px;
    /* padding: 10px;*/
    text-decoration: none!important;
}
.actny-tabs a:hover {
    border-bottom: 2px solid #77045f;
}
.actny-tabs .actny-active {
    border-bottom: 2px solid #77045f;
}
.actny-tab {
    cursor: pointer;
    /* padding: 5px 10px 0 0; */
    display: inline-block;
    text-decoration: none;
    color: #333;
}
a.forgot-password {
    display: none;
}
.actny-tab.actny-active {
    font-weight: bold;
    text-decoration: underline;
}

.actny-field {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
    padding: 0 0 0 20px;
    background: #77045f;
}
.actny-submit-row {
    background: none;
    padding: 0;
}
.actny-field input {
    flex: 1;
    padding: 8px;
}
.actny-field i {
    width: 40px;
}

.actny-button {
    margin: 20px 0;
    cursor: pointer;
}
.actny-pw-toggle .hide {
    display: none;
}

.actny-pw-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}
.actny-pw-toggle .show {
    display: inline-block;
}

@media (max-width: 769px) {
    .actny-sidebar { display: none; }
    .actny-wrap, .actny-main-content {
        display: block;
        width: 100%;
    }
}

/* region Home Register and Login links */

.actny-action-buttons {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}

.actny-action-buttons .actny-button {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
}

/* endregion Home Register and Login links */

/* Password strength hint (optional) */
.actny-password-strength {
    text-align: center;
    font-weight: 600;
    padding: 3px;
    font-size: 1em;
}
.actny-password-strength.strong {
    background: #c1e1b9;
    border-color: #83c373;
}
.actny-password-strength.short {
    background: #f1adad;
    border-color: #e35b5b;
}
.actny-password-strength.bad {
    background: #fbc5a9;
    border-color: #f78b53;
}
.actny-password-strength.good {
    background: #ffe399;
    border-color: #ffc733;
}

/* endregion Login and Register */