/* ------------------------------------------------ */
/* General Reset */
/* ------------------------------------------------ */

:root {
    --dark-text: #616369;
    /* Define the dark-text variable */
    --teal-text: #00AFB9;
    --dark-teal-text: #027177;
    --success-green: #9ee9b0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    font-family: Arial, sans-serif;
    /* overflow-x: hidden; */
    /* Prevent any horizontal scrolling */
}


.ui.toggle.checkbox input:focus:checked~.box:before,
.ui.toggle.checkbox input:focus:checked~label:before,
.ui.toggle.checkbox input:checked~.box:before,
.ui.toggle.checkbox input:checked~label:before {
    background-color: var(--teal-text) !important;
}

.ui.page.dimmer {
    z-index: 10000;
    background-color: #fff;
}

.ui.inverted.dimmer {
    background-color: #fff;
}

/* ------------------------------------------------ */
/* Keyframes */
/* ------------------------------------------------ */

@keyframes rotate {
    0% {
        transform: rotate(0deg);
        /* Starting position */
    }

    100% {
        transform: rotate(360deg);
        /* Full rotation */
    }
}


/* ------------------------------------------------ */
/* Top Navigation */
/* ------------------------------------------------ */

.top-navigation {
    height: 86px;
    background: #fcfcfd;
    border-bottom: 1px solid #ccc;
    height: 60px;
    /* background: #f4f4f4; */
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-bottom: 1px solid #ccc;
    z-index: 1000;
    /* Ensure it stays on top */
    position: fixed;
    /* Fixes the header at the top */
    top: 0;
    /* Sticks to the top of the viewport */
    left: 0;
    right: 0;
    /* Ensure it stays above everything else */
    justify-content: space-between;
}

.top-navigation .left-menu {
    display: flex;
    gap: 10px;
    flex-direction: row;
    z-index: 10000;
}

.top-navigation .left-menu .title-container {
    /* background-color: red; */
    width: 100%;
    position: absolute;
    z-index: 10000000;
    display: flex;
    justify-content: center;
    top: 13px
}

.top-navigation .left-menu .page-title {
    font-weight: bold;
    font-size: 26px;
    font-family: Inter;
    transition: margin 0.3s ease;
    text-align: center;
    /* width: 742px; */
    /* background-color: orange; */
    margin-left: 270px;
    overflow: hidden;
    /* background: red; */
    /* height: 20px; */
}

.top-navigation .left-menu.minimized .page-title {
    margin-left: 26px
}

.top-navigation .left-menu .page-title .dot {
    color: #00AFB9;
}

.top-navigation .right-menu {
    display: flex;
    gap: 10px;
    z-index: 10000
}

.top-navigation .right-menu a {
    background: var(--teal-text);
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    border: 2px solid var(--Gradient-skeuemorphic-gradient-border, rgba(255, 255, 255, 0.12));
    align-items: center;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    /* 142.857% */
}

.new-session-button svg {
    margin-right: 4px;
    height: 20px
}

/* Share button */
#shareButton.ui.dropdown.share-button {}

/* Dropdown menu */
.ui.top.right.pointing.dropdown>#shareMenu.menu {
    margin-top: 18px;
}

.ui.top.pointing.dropdown>.left#shareMenu.menu:after,
.ui.top.right.pointing.dropdown>#shareMenu.menu:after {
    top: -10px;
    left: auto !important;
    right: 20px !important;
    margin: 0;
    transform: rotate(45deg);
    height: 20px;
    width: 20px;
}

/* Dropdown item */
#shareButton.ui.dropdown .menu>.item {
    cursor: unset;
}


.ui.dropdown #shareMenu.menu>.item:hover {
    background: transparent;
    color: rgba(0, 0, 0, .95);
    z-index: 13;
}


/* Share dialog container */
#share-dialog {}

/* Dialog heading */
#share-dialog h2 {
    font-size: 16px;
    padding: 0px;
    margin: 0px 0px 10px 0px;
    font-family: Inter;
}

#email-tab h2 {
    margin-top: 10px
}

/* Segments container */
#share-dialog .ui.segments {}

/* Status segment */
#share-dialog .segment-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#share-dialog .segment-status span {
    font-weight: bold;
    margin-left: 4px
}

#share-dialog .segment-status div {
    display: flex;
    align-items: center;
}

#share-dialog .segment-status div svg {
    margin-right: 8px;
    height: 20px;
}

/* Toggler segment */
#share-dialog .segment-toggler {}

/* Icon inside toggler */
#share-dialog .segment-toggler i {}

/* Toggle checkbox */
#share-dialog .share-settings.checkbox input[type="checkbox"] {}

#share-dialog .notification {
    margin-top: 10px;
    background-color: #5e895e;
    color: #fff
}

#share-dialog .notification.hidden {
    display: none;
}

/* Label for checkbox */
#share-dialog .social-tabs {
    display: flex;
    align-items: center;
}

#share-dialog .ui.button {
    cursor: pointer;
    border: none;
    vertical-align: middle;
    color: #fff;
    font-family: Inter;
    margin: 0 .25em 0 0;
    padding: 6px 10px 6px 6px;
    border-radius: .28571429rem;
    box-shadow: 0 0 0 1px transparent inset, 0 0 0 0 rgba(34, 36, 38, .15) inset;
    display: flex;
    align-items: center;
    font-size: 10px;
    font-weight: normal;
}

#share-dialog .ui.copylink.button {

    background: var(--teal-text);
}

#share-dialog .ui.email.button {
    color: #000
}

#share-dialog .ui.button svg {
    height: 15px;
}

.action-send-share-email {
    background-color: red
}

.share-form {
    margin-top: 10px
}

.action-send-share-email,
.share-form .ui.button.button {
    background: var(--teal-text) !important;
    width: 70px;
    display: block !important;
    font-size: 13px !important
}

/* ------------------------------------------------ */
/* Sidebar */
/* ------------------------------------------------ */

.logo {
    background-image: url('/wp-content/uploads/2023/11/logo.svg');

    height: 32px;
    background-size: cover;
    margin: 0;
    background-repeat: no-repeat;
    overflow: hidden;
    z-index: 0;
    position: relative;
    transition: width 0.3s ease;
    /* Smooth transition for width changes */
    left: -7px
}

.custom-sidebar.minimized .logo {
    width: 33px;
    /* Show only the graphic portion when minimized */
}

.custom-sidebar:not(.minimized) .logo {
    width: 111.43px;
    /* Full width when expanded */
}

.custom-sidebar {
    width: 280px;
    background: #fff;
    color: #fff;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1100;
    /* Sidebar above navbar */
    transition: width 0.3s ease;
    padding: 0px 16px 0px 16px;
    box-shadow: 0px 16px 32px -4px rgba(145, 158, 171, 0.24);
    height: 100vh;
    /* background-color:red; */
}

.custom-sidebar.minimized {
    width: 64px;
}

.sidebar-top {
    padding: 15px 8px;
    text-align: center;
    font-weight: bold;
    /* background: #333; */
}

/* Sidebar Content */
.sidebar-content {
    height: calc(100% - 62px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Sidebar Content Sections */
.top-part {
    display: flex;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    /* Make top part scrollable if needed */
    padding: 0px;
    padding-right: 10px;
    /* Add some padding for spacing */
    padding-top: 0px !important;
    margin-top: 10px;
    gap: 8px;
    flex-direction: column;
}

.bottom-part {
    padding-top: 15px;
    transition: width 1s ease;
}

/* Sidebar Items */
.custom-sidebar .item {
    color: #616369;
    padding: 10px;
    background: #f4f6f8;
    margin-bottom: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s ease;
    display: block;
    align-items: center;
    /* Vertically align items */
    border: 2px solid transparent;
    height: 41px
}

.custom-sidebar .item:hover {
    border: 2px solid #61636912;
}

.bottom-part .item {
    background-color: transparent;
    border: none;
    padding-top: 0px;
    padding-bottom: 0px;

}

/* List Item Styles */
.list .item {
    color: #343a40;
    /* Darker text for better contrast */
    padding: 10px 12px;
    /* Adjust padding for a more spacious look */
    background-color: transparent;
    /* Light background */
    margin-bottom: 0px;
    border-radius: 8px;
    /* Slightly rounded corners for a modern look */
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
}

.list .item.active {
    background: #f8f9fa;
    /* Vertically align items */
    border: 1px solid #e9ecef;
    /* Light border for subtle definition */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    /* Subtle shadow for depth */
}

.list .item:hover {
    background: #e9ecef;
    /* Slightly darker background on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    /* Enhance shadow on hover */
    /* border-color: #dee2e6; */
    /* Slightly darker border on hover */
}

/* Text Truncation */
.list .item-text {
    flex: 1;
    /* Take up remaining space */
    white-space: nowrap;
    /* Prevent wrapping */
    overflow: hidden;
    /* Hide overflow */
    text-overflow: ellipsis;
    /* Add "..." for overflow */
    font-size: 0.95rem;
    /* Adjust font size */
    color: #495057;
    /* Slightly muted text color */
}

/* Options Button (Three Dots Icon) */
.list .item-options {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 5px; */
    transition: color 0.2s ease;
    color: #adb5bd;
    /* Muted gray for three dots */
    display: none;
    margin-top: 4px;
}

.list .item:hover .item-options {
    display: block
}

.item .item-options:hover {
    color: #6c757d;
    /* Darker gray on hover */
}

.list .item-options i {
    width: 16px;
    /* Feather icon size */
    height: 16px;
}

.list .item-options-menu.hidden {
    display: none;
}

.list .item-options-menu {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    border-radius: 8px;
    box-shadow: 0px 0px 2px 0px rgba(145, 158, 171, 0.24), 0px 16px 32px -4px rgba(145, 158, 171, 0.24);
    background: rgba(255, 255, 255, 1);
    color: rgba(255, 0, 0, 1);
    margin: -4px 0px 0px -70px;
}

.list .item-options-menu .item-option {
    display: flex;
    padding: 8px 16px 8px 16px;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    opacity: .8
}

.list .item-options-menu .item-option:hover {
    opacity: 1
}

.list .item-options-menu .item-option svg {
    width: 16px;
    height: 16px;
}

/* Support, Settings, and Profile Section in Bottom Part */
.menu-item {
    /* padding: 10px; */
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    position: relative;
    left: 6px;
    color: #344054;
    height: 32px;
    background-size: cover;
    margin: 0;
    background-repeat: no-repeat;
    overflow: hidden;
    z-index: 0;
    position: relative;
    transition: width 0.3s ease;
    left: -7px;
}

.profile-section {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 5px;
    min-height: 60px !important;
    padding-top: 0px;
    padding-left: 0px;
    padding-right: 0px
}

.minimized .submit-feedback,
.minimized .profile-section {
    padding: 10px
}

.minimized .profile-section {
    padding-top: 0px
}

.register-item:not(.session-item .register-item),
.submit-feedback,
.upgrade-to-pro,
.profile-section .dropdown {
    display: flex;
    width: 100%;
    align-items: center;
    border: 2px solid transparent;
    padding: 5px 10px 5px 10px;
    font-family: Inter;
    font-size: 16px
}

.upgrade-to-pro,
.submit-feedback,
.register-item:not(.session-item .register-item) {
    padding: 24px 10px 24px 10px !important;
    margin-left: 7px;
}

.custom-sidebar .profile-section .item:hover {
    border: 0px solid #61636912;
}

.register-item:hover:not(.session-item .register-item),
.upgrade-to-pro:hover,
.submit-feedback:hover,
.profile-section .dropdown:hover {

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    border-color: #dee2e6;
    border: 2px solid #61636912;
    color: #343a40;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    align-items: center;
    padding: 5px 10px 5px 10px
}

.upgrade-to-pro:hover svg {
    color: var(--teal-text);
}

.register-item:not(.session-item .register-item) {
    background-color: var(--teal-text);
    border-radius: 8px;
    color: #fff
}

.register-item:hover:not(.session-item .register-item) {
    color: #fff;
    background: var(--dark-teal-text);
}

/*Minimized Sidebar*/

.minimized .submit-feedback:hover,
.minimized .profile-section .dropdown:hover {
    box-shadow: none;
    border-color: transparent;
    border: 2px solid #61636912;
    color: #343a40;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s;
    align-items: center;
    padding: 0px;
    transition: all 0.2s;
}


.minimized .profile-section .dropdown {
    padding: 0px !Important;
    position: relative;
    left: -10px;
    width: 34px !Important;
    padding-top: 0px !Important;
    height: 34px;
    transition: all 0.2s;
}

.minimized .register-item.register-item:not(.session-item .register-item),
.minimized .submit-feedback {
    padding: 0px !Important;
    position: relative;
    left: 0px;
    width: 34px !Important;
    padding-top: 0px !Important;
    height: 34px;
    transition: all 0.2s;
    padding: 0px !Important
}

.minimized .register-item.register-item:not(.session-item .register-item) svg,
.minimized .submit-feedback svg {
    padding: 0px !Important;
    left: 10px
}

.minimized .submit-feedback,
.minimized .register-item.register-item:not(.session-item .register-item) {
    border-radius: 15px;
    margin-left: 0px
}


.profile-section .ui.dropdown .menu>.item {
    padding: 6px 12px 6px 12px !important;
    margin-bottom: 0px;
    min-width: 150px
}

.profile-section .ui.dropdown .menu>.item:hover {
    border-radius: 0px;
    background-color: transparent;
    font-weight: bold
}

.profile.ui.image {
    width: 30px;
    height: 30px;
    background: #ccc;
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
    max-width: 32px
}

.profile-info {
    flex: 1;
}

.profile-name {
    color: #000;
    font-weight: bold;
    height: 18px;
    max-width: 190px;
    padding: 0;
    overflow: hidden;
    position: relative;
    display: inline-block;


    text-overflow: ellipsis;
    white-space: nowrap;
    color: #000;
}

.profile-email {
    font-size: 0.9em;
    color: #aaa;
}

.bottom-part .profile-info {
    margin-bottom: 0px;
    padding-left: 0px
}

.bottom-part .profile-info .item {
    margin-left: 0px;
}

.bottom-part .menu-item {
    margin-bottom: 11px;
}

.bottom-part .menu-item .icon {
    margin-right: 10px;
    position: fixed;
    display: inline-block;
    width: 40px;
    margin-left: 3px;
}

.bottom-part .menu-item .text {
    display: inline-block;
    margin-left: 46px
}

/* ------------------------------------------------ */
/* Sidebar Toggle Button */
/* ------------------------------------------------ */

.sidebar-toggle-button {
    position: absolute;
    right: -16px;
    top: 44px;
    background: #fff;
    border: none;
    /* padding: 5px; */
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    width: 30px;
    height: 30px;
    font-size: 18px;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    z-index: 3;
    /* Higher than sidebar so it's always clickable */
}

.sidebar-toggle-button:hover {
    background: #e0e0e0;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
}

.sidebar-toggle-button {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ------------------------------------------------ */
/* Main Layout */
/* ------------------------------------------------ */

.main-layout {
    display: flex;
    transition: margin-left 0.3s ease;
    /* Smoothly shift content when sidebar toggles */
    margin-left: 280px;
    /* Default when sidebar is expanded */
    /* height: calc(100% - 60px); */
    /* Account for navbar height */
    /* Push content below the navbar */
    margin-left: 70px;
}

.custom-sidebar.minimized+.main-layout {
    margin-left: 70px;
    /* Shift content when sidebar is minimized */
}

/* ------------------------------------------------ */
/* Sessions Modal */
/* ------------------------------------------------ */

#sessions-modal {}

#sessions-modal .header {
    font-size: 20px;
    color: #000;
    padding-bottom: 10px;
}

#sessions-modal .session-list {
    display: flex;
    flex-direction: column
}

#sessions-modal .current-title {
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25) inset;
    width: 50%;
    border: none;
    border-radius: 4px;
    height: 35px;
    position: relative;
    top: -1px;
    margin-right: 10px;
    padding-left: 10px;

}

/* ------------------------------------------------ */
/* Center Content */
/* ------------------------------------------------ */

/* Center Content */
.main-content {
    flex: 1;
    display: flex;
    /* Enables Flexbox for centering */
    justify-content: center;
    /* Centers horizontally */
    align-items: center;
    /* Centers vertically */
    padding: 0px 0px 0px 30px;
    /* max-width: 800px; */
    margin: 0 auto;
    /* background: #fcfcfd; */
    /* Background color */
    min-height: calc(100vh - 37px - 83px);
    /* Ensures content fills the viewport minus header height */
    margin-top: 60px;
    /* background-color: red; */
}


.main-content.bottom-aligned {

    align-items: flex-end;

    min-height: calc(100vh - 37px - 23px);

    margin-left: 210px;

    transition: margin 0.3s ease;
}

.main-content.bottom-aligned.full-width {
    margin-left: 0px
}

.main-content.full-width {
    padding: 0px;
}

.footer-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* height: 27px; */
    /* Center horizontally */
    border-top: 1px solid #E8E8E8;
    transition: width 0.3s ease;
    margin-left: 0px;
}

.footer-content.default-width {
    margin-left: 210px
}

.footer-content .section {
    display: flex;
    /* Enable Flexbox */

    /* Space out left and right sections */

    /* Align vertically */
    /* max-width: 746px; */
    /* Match the hero input max width */

    /* Allow full width inside the max-width */
    /* Match the padding of the hero section */
    /* background-color: blue;*/
    color: #fff;
    /* Adjust text color if needed */

    /* Ensure padding doesn’t overflow */
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    transition: all 0.3s ease;
    justify-content: space-between;
    padding: 16px 24px;
}

.footer-content .section,
.footer-content .section a {
    color: #848E9F;
    font-family: Inter;
}


.footer-content .section .left-side {
    transition: all 0.3s ease;
}

.footer-content .section .right-side {
    transition: all 0.3s ease;

}

.footer-content {
    width: calc(100% - 280px);

    transition: all 0.3s ease;
}

.footer-content.full-width {
    width: calc(100% - 70px);
    margin-left: 0px;

}

.footer-content.full-width .section .right-side {

    transition: all 0.3s ease;

}

.footer-content.hidden {
    display: none
}

/* ------------------------------------------------ */
/* Hero Section */
/* ------------------------------------------------ */

#notifications {
    position: absolute;
    max-width: 743px;
    /* background:#ff000038; */
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
    gap: 5px;
    padding-top: 65px;
    top: 0;
    align-content: flex-end;
    align-items: flex-end;
}

.notification {
    color: #343a40;
    padding: 10px 15px;
    background: #f8f9fa;
    margin-bottom: 0px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    border: 1px solid #e9ecef;
}

.notification.success {
    background-color: var(--success-green);

}

#session-items {
    /* position: absolute; */
    max-width: 743px;
    /* background:#ff000038; */
    /* width: 100%; */
    height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    gap: 32px;
    /* padding-top: 80px; */
    /*New Styles*/
    /* display: block; */
    /* Remove flex layout to stop children from stretching */
    /* width: auto; */
    /* Allow natural width */
    /* max-width: none; */
    /* Remove any max-width constraints */
    /* height: auto; */
    /* Adjust height if needed */
    /* background-color: orange; */
}

.main-content.bottom-aligned #session-items {
    width: 100%;
}

#session-items.shared {
    justify-content: flex-end;
}

#session-items.has-attachments {
    /* padding-bottom: 170px; */
}

#session-items .session-item.user {
    /* background-color:#c5c5c5; */
    display: flex;
    justify-content: flex-end;
}


#session-items .session-item.ai {
    /* background-color:#c5c5c5; */
    display: flex;
    justify-content: flex-start;
    gap: 16px
}

#session-items .session-item.error:not(#bottom-spacer) {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    margin: 1em 0;
    padding: 16px 24px;
    max-width: 100%;
    background: #fff6f6;
    color: #9f3a38;
    border-radius: 24px;
    box-shadow: 0 0 0 1px #e0b4b4 inset;
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
    /* text-align: right; */
    white-space: pre;
    word-wrap: break-word;
    box-sizing: border-box;
    transition: opacity 0.1s ease, color 0.1s ease, background 0.1s ease, box-shadow 0.1s ease;
}

#session-items .session-item.info:not(#bottom-spacer) {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    margin: 1em 0;
    padding: 16px 24px;
    max-width: 100%;
    background: #fcfcfd;
    color: #222222;
    border-radius: 24px;
    box-shadow: 0 0 0 1px #00afb9 inset;
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
    /* text-align: right; */
    white-space: pre;
    word-wrap: break-word;
    box-sizing: border-box;
    transition: opacity 0.1s ease, color 0.1s ease, background 0.1s ease, box-shadow 0.1s ease;
}

#session-items .session-item.info a {
    color: #00afb9
}

#session-items .session-item.user .inner {
    align-content: right;
    padding: 16px 24px;
    align-items: center;
    border-radius: 24px;
    background: #F4F6F8;
    color: #101828;
    text-align: right;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    white-space: pre;
    box-sizing: border-box;
    /* Ensures padding is included in width */
    max-width: 100%;
    /* Prevents exceeding parent container width */
    word-wrap: break-word;
    /* Break long text to fit inside container */

}

.message-text {
    white-space: break-spaces;
    /* Preserves whitespace and line breaks */
    word-wrap: break-word;
    /* Prevents long words from overflowing */
}

#session-items .session-item.ai {
    display: flex;
}

#session-items .session-item.ai .inner {
    /* padding: 8px; */
    align-items: flex-start;
    border-radius: 24px;
    color: #101828;
    text-align: left;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    display: flex;
    flex-direction: column;
    width: 100%
}

#session-items .session-item.ai .icon-wrap {
    border-radius: 24px;
    background-color: #F4F6F8;
    box-shadow: 0px 0px 1.667px 0px rgba(145, 158, 171, 0.24);
    display: flex;
    padding: 8px;
    height: 48px !important;
    width: 48px !important;
    background-size: cover;
    border: 8px solid #F4F6F8;
}

#session-items .session-item.ai .icon-wrap .icon {
    width: 25px;
    height: 25px;
}

#session-items .session-item.ai .message-text {
    padding: 8px
}

#session-items .ui.active.inline.loader {}


/*Attachment Messages*/
#session-items .message-item.attachment-message {
    display: flex;
    justify-content: flex-end;
}

.message-item.attachment-message {
    border-radius: var(--radius-radi-7, 24px);
    /* background: var(--primary-green, #00AFB9); */
    /* width: 100px; */
    color: #fff;
    margin-bottom: 5px;
    position: relative;
    /* Adjust as needed for spacing between items */
    /* min-height: 50px; */
    margin: 0px auto;
    /* padding: 15px; */
    clear: both;
    margin: 8px 0px 8px;
    text-align: left;
    /* margin-bottom: 20px; */
    /* display: inline-block !important; */
    /* Ensure it shrinks to fit content */
    width: auto !important;
    /* Override any width set by other styles */
    padding-bottom: 20px;
}



.session-item .options {
    display: none;

}

.session-item .options.visible {
    display: flex;
    padding: 4px 8px 4px 0px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    padding: 8px
}

.session-item .options .left-side {
    color: #667085;
    text-align: center;
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 200% */
}

.session-item .options .right-side {
    display: flex;
    gap: 16px;
}

.session-item .options .right-side a {
    color: #667085;
    text-align: center;
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    /* 200% */
    display: flex;
    align-items: center;
    cursor: pointer
}

.session-item .options a.disabled {
    cursor: auto;
    opacity: 0.5;
}


.session-item .options .right-side svg {
    height: 16px;
    color: #667085;
}

#bottom-spacer {
    height: 107px;
    /* background-color:red; */
    width: 100%;
}

#bottom-spacer .inner {
    background: none !important
}

#bottom-spacer:after {
    content: "";
    display: block;
    width: 100%;
    height: 107px;
}

.hero-section {
    /* background: #fcfcfd; */
    /* Light background color */
    position: relative;
    padding: 25px 20px;
    text-align: center;
    min-height: 300px;
    /* Ensure enough space for centering */
    width: 100%;
    max-width: 786px;
}

.main-content.bottom-aligned .hero-section {
    min-height: auto;
    position: fixed;
}

.hero-content {
    max-width: 746px;
    margin: 0 auto;
}

.hero-title {
    font-size: 40px;
    font-weight: bold;
    padding-bottom: 40px;
    color: #212529;
    /* Dark text color */
    font-family: Inter;
    font-size: 48px;
    font-weight: 600;
    line-height: 60px;
    letter-spacing: -0.02em;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    z-index: 1;
    position: relative;
    margin-bottom: 0px;
    background-image: url('/wp-content/themes/librai/images/downleftarrow.png');
    background-repeat: no-repeat;
    background-position-x: calc(50% - 165px);
    background-position-y: 80%;
}

.hero-subtitle {
    font-size: 16px;
    color: #6c757d;
    /* Muted text color */
    margin-bottom: 56px;
}

.hero-input {
    display: flex;
    justify-content: center;
    align-items: center;
    /* gap: 10px; */
    /* Space between inputs */
    border: 1px solid #efefef;
    box-shadow: 0px 16px 32px -4px rgba(145, 158, 171, 0.24);
    border-radius: 10px;
    padding: 3px;
    border-radius: 16px;
    background: #FFF;
    box-shadow: 0px 0px 2px 0px rgba(145, 158, 171, 0.24), 0px 16px 32px -4px rgba(145, 158, 171, 0.24);
}

.hero-input .text {
    font-size: 14px;
    font-family: Inter;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    margin-right: 8px;

}

.hero-input .text img {
    display: none
}

.hero-input .text .model-description {
    display: none
}

.hero-input .ui.input>input {
    padding: 16px;
    font-size: 16px;
    padding-right: 45px
}

.hero-input .ui.dropdown {
    min-width: 115px;
    margin-left: 16px;
    font-size: 13px;
    display: flex;
    align-items: center;
    margin-right: 16px;
}



.hero-input .dropdown-icon {
    background-color: #F4F6F8;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    padding: 8px;
}

.hero-input .ui.dropdown .menu>.item {
    padding: 0px !important;
    margin: 0px !important;
    padding-bottom: 5px !important;
}

.hero-input .ui.dropdown .menu>.item div.model-info {
    display: flex;
    background-color: transparent;
    padding: 4px 0px 0px 16px !important;
    align-items: center;
    gap: 8px;
    align-self: stretch;
}

.hero-input .ui.dropdown .menu>.item div.model-description {
    padding: 4px 16px 4px 16px !important;
    font-size: 12px;
    color: #667085;
}

.hero-input .ui.dropdown .menu>.item .material-symbols-outlined {
    font-size: 16px;
    color: #59b669;
}

.hero-input .ui.dropdown .menu>.item .divider {
    color: #ede8e8
}

.hero-input .ui.dropdown .menu>.item .model-cost {
    color: #3c3e46
}

/*Dropdown options START*/

/* Ensure the dropdown item has space for the icons */
.model.item {
    position: relative;
    /* Allow absolute positioning of the icons */
    padding-right: 60px;
    /* Reserve space on the right for the icons */
}


.model.item:hover .custom-options {
    display: block
}

/* Position the custom-options div (containing the icons) */
.model.item .custom-options {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    /* Vertically center the icons */
    display: flex;
    gap: 10px;
    /* Space between the star and flag icons */
}

/* Style the individual icon containers */
.custom-options .custom-icon {
    cursor: pointer;
    /* Make the icons clickable */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    /* Fixed width for consistency */
    height: 20px;
    /* Fixed height for consistency */
    opacity: .2
}

.custom-options .custom-icon:hover {
    opacity: 1;
}

/* Style the icons themselves (Feather icons) */
.custom-options .custom-icon i {
    font-size: 25px;
    /* Adjust icon size */
    transition: color 0.2s;
    /* Smooth color transition on hover */
}

/* Hover effect for the icons */
.custom-options .custom-icon:hover i {
    color: #2185d0;
    /* Semantic UI blue for hover effect */
}

/* Visual feedback for starred or flagged states */
.custom-options .star-icon.active {
    color: #00afb9;
    /* Yellow for starred */
}

.custom-options .flag-icon.active {
    color: #00afb9;
    /* Red for flagged */
}

/* Ensure the icons are clickable independently of the dropdown item */
.model.item .custom-options,
.model.item .custom-options * {
    pointer-events: auto;
}

.model.item {
    pointer-events: auto;
}

/* Ensure clicks on the rest of the item (outside the icons) work for selection */
.model.item>*:not(.custom-options) {
    pointer-events: auto;
}


.model.item:hover .custom-options {
    display: block !important
}

/*Dropdown options End*/



.hero-input .ui.dropdown .menu>.item:hover {
    background-color: #F4F6F8
}

.hero-input .ui.dropdown .menu>.item:last-child:hover {

    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.hero-input .ui.dropdown .menu .item .model-text {
    font-family: "Public Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    /* 157.143% */
}

.hero-input .ui.input {
    flex: 1;
}

.hero-input .ui.input .border {
    border-radius: 9px !important;
    border-radius: 16px !important;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25) inset !important;
    background: #FCFCFD !important;
    width: 100%;
    display: flex;
}

.hero-input #user-input {
    width: calc(100% - 60px);
    resize: none;
    /* Prevent manual resizing */
    /* height:56px; */
    border: none;
    margin: 16px 0px 16px 16px;
    color: #667085;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    height: 20px;
    /* 150% */
    background-color: transparent;
}

.hero-input #user-input.can-upload {
    width: calc(100% - 89px);
}

#user-input:focus {
    outline: none;
    /* Removes the default focus outline */
    border-color: transparent;
    /* Optionally adjust border color */
}

.hero-input .ui.dropdown .menu>.item div>img {
    height: 16px;
    width: 16px;
    margin: 0
}

/*STEP1*/
.hero-input .ui.upward.dropdown>.menu {
    top: auto;
    bottom: 100%;
    border-radius: 16px !important;
    box-shadow: 0px 0px 2px 0px rgba(145, 158, 171, 0.24), 0px 16px 32px -4px rgba(145, 158, 171, 0.24) !important;
    margin-left: -20px !important;
    margin-bottom: 18px !important;
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
    max-width: 746px !important
}

.hero-input .ui.dropdown .menu>.header {
    color: #667085;
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px;
    /* 183.333% */
    display: flex;
    padding: 8px 0px 4px 16px;
    align-items: center;
    gap: 12px;
    align-self: stretch;
    margin: 0px;
    text-transform: none
}





/*STEP2*/
.hero-input .ui.dropdown .menu {
    cursor: auto;
    position: absolute;
    display: none;
    outline: 0;
    top: 100%;
    min-width: -webkit-max-content;
    min-width: -moz-max-content;
    min-width: max-content;
    margin: 0;
    padding: 0 0;
    background: #fff;
    font-size: 1em;
    text-shadow: none;
    text-align: left;
    box-shadow: 0 2px 3px 0 rgba(34, 36, 38, .15);
    border: 1px solid rgba(34, 36, 38, .15);
    border-radius: .28571429rem;
    transition: opacity .1s ease;
    z-index: 11;
    will-change: transform, opacity;


}

.hero-upload {
    background: transparent;
    color: white;
    border: none;
    /* padding: 10px 15px; */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    color: var(--dark-text);
    font-weight: lighter;
    position: absolute;
    right: 68px;
    width: 24px;
    opacity: .6;
}

.ui.model.dropdown .menu::-webkit-scrollbar {
    width: 8px;
    /* Width of the scrollbar */
    position: relative !important;
    /* Ensure the scrollbar respects the relative positioning */
    right: 10px !important;
    /* Shift the scrollbar to the left by 10px */
}

.hero-upload .loading-icon {
    display: inline-block;
    /* Ensure the element is inline-friendly */
    animation: rotate 2s linear infinite;
    /* Rotate over 2 seconds, continuous */
}

.hero-stop.hidden,
.hero-submit.hidden,
.hero-upload.hidden {
    display: none
}

.hero-submit {
    background: transparent;
    color: white;
    border: none;
    /* padding: 10px 15px; */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    color: var(--dark-text);
    font-weight: lighter;
    position: absolute;
    right: 39px;
    width: 24px;
    opacity: .6;
}

.hero-stop {
    background: transparent;
    color: white;
    border: none;
    /* padding: 10px 15px; */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    color: var(--dark-text);
    font-weight: lighter;
    position: absolute;
    right: 39px;
    width: 24px;
    margin-top: 3px;
    opacity: .6;
}


.hero-upload:hover,
.hero-submit:hover {
    opacity: 1 !important
}

.hero-submit i {
    width: 16px;
    height: 16px;
    color: white;
}

.hero-extra {
    display: flex;
    padding: 4px 16px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    color: #667085;
    text-align: center;
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 200% */
}

.hero-upload.disabled,
.hero-submit.disabled {
    opacity: .5;
    cursor: default
}

.hero-extra.hidden {
    display: none
}

.uploaded-attachment-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: -65px;
    position: absolute;
    /*
    position: absolute;
    margin-top: -100px;
      z-index: 1000000; */
    /* margin-bottom: 24px; */
    /* justify-content: flex-end; */
    /* transition: all 0.3s ease; */

}

.uploaded-attachment-thumbnails .item,
.uploaded-attachment-thumbnails span.remove-file,
.uploaded-attachment-thumbnails .file-type span,
.message-item.attachment-message .item .file-type span,
.message-item.attachment-message .item {
    box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, .2);
}

.message-item.attachment-message .item,
.uploaded-attachment-thumbnails .item {
    background-color: #272932;
    text-align: left;
    width: 100px;
    height: 75px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    background-size: cover;
    background-position: center center;
    margin-bottom: 20px
}

.message-item.attachment-message .item:last-child {
    margin-bottom: 0px !important
}

.uploaded-attachment-thumbnails .item {
    height: 50px;
    width: 50px;
}

.message-item.attachment-message .item:hover,
.uploaded-attachment-thumbnails .item:hover {
    box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, .3);
}

.message-item.attachment-message .item .dimmer,
.uploaded-attachment-thumbnails .dimmer {
    height: 75px;
    width: 100px;
    background-color: rgba(0, 0, 0, .6);
    border-radius: 25px;
    display: flex;
    align-content: center;
    align-items: center;
    position: absolute;
    text-align: center;
}

.message-item.attachment-message .item .dimmer .icon,
.uploaded-attachment-thumbnails .dimmer .icon {
    color: #fff;
    font-size: 40px;
    margin: 0 auto;
    line-height: 40px;
}

.uploaded-attachment-thumbnails span.remove-file {
    position: absolute;
    background-color: #fff;
    border-radius: 10px;
    text-align: center;
    height: 20px;
    width: 20px;
    cursor: pointer;
    margin-top: -9px;
    font-size: 14px;
    margin-left: -6px;
    z-index: 10
}

.uploaded-attachment-thumbnails span.remove-file .icon {
    text-align: center;
    margin: 0 auto;
    position: relative;
    top: 0px;
    right: 0px
}

.message-item.attachment-message .item span.remove-file {
    display: none;
}

.message-item.attachment-message .item .file-name,
.uploaded-attachment-thumbnails .file-name {
    height: 100px;
    width: 100px;
    text-align: center;
    padding: 5px;
    color: #00AFB9;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 14px;
    /* padding: 5px 5px; */
    word-wrap: normal;
    overflow: hidden;
}

.uploaded-attachment-thumbnails .file-type {
    text-align: center;
    /* position: absolute; */
    /* top: 177px; */
    width: 50px;
    position: absolute;
    margin-top: 35px;
}

.message-item.attachment-message .item .file-type {
    text-align: center;
    /* position: absolute; */

    width: 100px;
    margin-top: 64px
}

.message-item.attachment-message .item .file-type span,
.uploaded-attachment-thumbnails .file-type span {
    color: #fff;
    font-weight: bold;
    font-size: 12px;
    padding: 0px 8px 4px 8px;
    background-color: var(--teal-text);
    border-radius: 15px;
    z-index: 1;
    position: relative
}

.uploaded-attachment-thumbnails .dimmer {
    border-radius: 160px !important
}

/* ------------------------------------------------ */
/* Icons */
/* ------------------------------------------------ */
.api-icon {
    display: block;
    background: url('../images/iconset_master.png?v=22') no-repeat;
    height: 24px;
    width: 24px;
    margin-right: 12px;
}

.api-icon[class*="gpt"] {
    background-position: 0px -506px;

}

.api-icon[class*="claude"] {
    background-position: 0px -533px;

}

.api-icon[class*="palm"] {
    background-position: 0px -558px;

}

.api-icon[class*="gemini"] {
    background-position: 0px -625px;
}

.api-description,
.api-icon {
    display: none
}

.menu .api-description,
.menu .api-icon {
    display: block
}

.ui.chat-options .browse.item .gpt4turbopreview,
.ui.chat-options .browse.item .gpt35turbo,
.ui.chat-options .browse.item .gear-ico {
    width: 25px;
    height: 25px;
    background: url('../images/iconset_master.png?v=21') no-repeat;
    background-position: 0px -506px;
}

.ui.chat-options .browse.item .claude3opus20240229 {
    width: 25px;
    height: 25px;
    background: url('../images/iconset_master.png?v=21') no-repeat;
    background-position: 0px -532px;
}

.ui.chat-options .browse.item .palm2 {
    width: 25px;
    height: 25px;
    background: url('../images/iconset_master.png?v=21') no-repeat;
    background-position: 0px -557px;
}

.ui.chat-options .browse.item .geminipro {
    width: 25px;
    height: 25px;
    background: url('../images/iconset_master.png?v=21') no-repeat;
    background-position: 0px -624px;
}

.ui.chat-options .browse.item .deepseekchat {
    width: 25px;
    height: 25px;
    background: url('../images/iconset_master.png?v=21') no-repeat;
    background-position: 0px -624px;
}

.ui.feedback.tiny.modal .inner-content .content #feedback .ui.form .field select#typeSelect.ui.fluid.dropdown {
    border-radius: 8px;
    border: 1px solid var(--Gray-300, #D0D5DD);
    background: var(--Base-White, #FFF);

    /* Shadows/shadow-xs */
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}



/*Modals*/
/* Modal container */
.ui.feedback.tiny.modal {
    /* display: inline-flex; */
    padding: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

/* Modal top section */
.ui.feedback.tiny.modal .top {}

/* Close icon */
.ui.feedback.tiny.modal .top .close-icon {}

.ui.feedback.tiny.modal .top .close-modal {
    background-image: none;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    position: absolute;
    right: 16px;
    top: 16px;
    cursor: pointer;
}

/* Modal title */
.ui.feedback.tiny.modal .title {
    color: #101828;
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 24px;
}

/* Inner content container */
.ui.feedback.tiny.modal .inner-content {}

/* Content section */
.ui.feedback.tiny.modal .inner-content .content {}

/* Feedback section */
.ui.feedback.tiny.modal .inner-content .content #feedback {}

/* Form */
.ui.feedback.tiny.modal .inner-content .content #feedback .ui.form {}

/* Form fields */
.ui.feedback.tiny.modal .inner-content .content #feedback .ui.form .field {}

/* Labels */
.ui.feedback.tiny.modal .inner-content .content #feedback .ui.form .field label {
    color: var(--Gray-700, #344054);

    /* Text sm/Medium */
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    /* 142.857% */
}

/* Dropdown field */
.ui.feedback.tiny.modal .inner-content .content #feedback .ui.form .field select#typeSelect {}

.ui.feedback.tiny.modal .inner-content .content #feedback .ui.form .field select#typeSelect.ui.fluid.dropdown {}

/* Textarea field */
.ui.feedback.tiny.modal .inner-content .content #feedback .ui.form .field textarea#messageTextarea {
    display: flex;
    padding: 12px 16px;
    align-items: center;
    gap: 12px;
    align-self: stretch;
}

/* Actions section */
.ui.feedback.tiny.modal .actions {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    align-self: stretch;
    padding: 0px;
    background: transparent;
    margin-top: 32px;
    border-top: none;
    gap: 20px
}

/* Buttons */
.ui.feedback.tiny.modal .actions .ui.button {
    margin: 0px;


    /* Text sm/Semibold */
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    /* 142.857% */
}

.ui.feedback.tiny.modal .actions .ui.button.cancel-modal {
    display: flex;
    width: 207px;
    padding: 10px 14px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 8px;
    border: 1px solid var(--Gray-300, #D0D5DD);
    background: var(--Base-White, #FFF);

}

.ui.feedback.tiny.modal .actions .ui.button.submit-modal-form {
    display: flex;
    width: 207px;
    padding: 10px 14px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 8px;
    border: 2px solid var(--Gradient-skeuemorphic-gradient-border, rgba(255, 255, 255, 0.12));
    background: #00AFB9;
    color: #fff
}

/*Reg Modal*/

.ui>.ui.modal {
    box-shadow: none;
}

#reg-modal .logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#reg-modal .logo-section .ui.image {
    height: 80px
}

#reg-modal .logo-section .curved-arrow {
    background: url(/wp-content/themes/librai/images/curvedarrow.png) no-repeat;
    background-size: contain;
    width: 50px;
    height: 100px;
    margin-bottom: 10px;
}

#reg-modal .logo-section p {
    color: #000;

    font-family: Inter;
    font-size: 34px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

#profile-modal .close,
#reg-modal .close {
    display: flex;
    justify-content: flex-end;
}

#profile-modal .close a,
#reg-modal .close a {
    border: 2px solid #1d1c21;
    border-radius: 20px;
    cursor: pointer;
    line-height: 0px;


}

#profile-modal .close svg,
#reg-modal .close svg {
    height: 15px;
    padding: none !important;
    line-height: 0px;
    width: 15px;
    color: #1d1c21
}

#profile-modal .close {
    padding: 16px
}

#profile-modal .inner-content {
    padding: 0px 16px 8px 16px;
}

#reg-modal .ui.container {}

#reg-modal .ui.grid {}

#reg-modal .column {}

#reg-modal .logo-section {}

#reg-modal .logo-section img {}

#reg-modal .curved-arrow {}

#reg-modal .logo-section p {}

#reg-modal .form-section {}

#reg-modal .step-1.hidden,
#reg-modal .step-2.hidden,
#reg-modal .step-3.hidden,
#reg-modal .step-4.hidden,
#reg-modal .step-5.hidden,
#reg-modal .step-6.hidden {
    display: none
}

#reg-modal .ui.header {
    color: #101828;

    /* Display sm/Semibold */
    font-family: Inter;
    font-size: 30px;
    font-style: normal;
    font-weight: 600;
    line-height: 38px;
    /* 126.667% */
}

#reg-modal .emailtag {
    font-weight: bold
}

p.resend-text {
    color: var(--Gray-600, #475467);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;

}

#reg-modal .send-verification-email {
    font-weight: bold;
    cursor: pointer
}

.send-verification-email:hover {
    color: #00AFB9
}

#reg-modal .ui.form .field {}

#reg-modal .ui.form .field label {
    color: var(--Gray-700, #344054);
    /* Text sm/Medium */
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    /* 142.857% */
}

#reg-modal .ui.form .field label.terms-text {
    color: #848E9F;
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;

}

#reg-modal .ui.form .field label.terms-text .indent {
    margin-left: 5px
}

#reg-modal .ui.form .field label a {
    color: #848E9F;
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

#reg-modal .ui.form .field label a:hover {
    color: #00AFB9;
}

#reg-modal .ui.form .field input {
    display: flex;
    padding: 10px 14px;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    border-radius: 8px;
    border: 1px solid var(--Gray-300, #D0D5DD);
    background: var(--Base-White, #FFF);

    /* Shadows/shadow-xs */
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
    overflow: hidden;
    color: var(--Gray-500, #667085);
    text-overflow: ellipsis;

    /* Text md/Regular */
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 150% */
}

#reg-modal .ui.checkbox {}

#reg-modal .ui.checkbox input {}

#profile-modal .actions {
    display: flex;
    gap: 8px
}

#profile-modal .ui.button,
#reg-modal .ui.button {
    border-radius: 8px;
    border: 2px solid var(--Gradient-skeuemorphic-gradient-border, rgba(255, 255, 255, 0.12));
    background: #00AFB9;
    color: #fff;
    /* Shadows/shadow-xs-skeuomorphic */
    width: 100%;
    color: var(--Base-White, #FFF);

    /* Text md/Semibold */
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    /* 150% */
}

#profile-modal.ui.modal .actions>.button {
    margin-left: 0px !important
}

#profile-modal .ui.button.btn-secondary {
    border-radius: 8px;
    border: 2px solid var(--Gradient-skeuemorphic-gradient-border, rgba(255, 255, 255, 0.12));
    background: none !important;
    border: 2px solid #00AFB9;
    color: #00AFB9
        /* 150% */
}

#reg-modal .ui.primary.button {}

#reg-modal .ui.primary.button:hover {}

#reg-modal .close {}

#reg-modal .close-modal-button {}

#reg-modal #login-form {}

#reg-modal .center.aligned {
    color: var(--Gray-600, #475467);

    /* Text sm/Regular */
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 142.857% */
    text-align: center;
    margin-top: 25px
}

#reg-modal .show-login-form {
    color: var(--Gray-700, #344054);

    /* Text sm/Semibold */
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    /* 142.857% */
}

#reg-modal .show-login-form:hover {
    color: #00AFB9
}

#reg-modal .show-login-form:hover {}


/*Login Form*/
#reg-modal #login-form {}

#reg-modal #login-form .ui.header {}

#reg-modal #login-form .ui.form {}

#reg-modal #login-form .login-username {}

#reg-modal #login-form .login-password label,
#reg-modal #login-form .login-username label {

    color: var(--Gray-700, #344054);
    /* Text sm/Medium */
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    /* 142.857% */

}

#reg-modal #login-form .login-password input,
#reg-modal #login-form .login-username input {
    display: flex;
    padding: 10px 14px;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    border-radius: 8px;
    border: 1px solid var(--Gray-300, #D0D5DD);
    background: var(--Base-White, #FFF);

    /* Shadows/shadow-xs */
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
    margin-top: 4px
}

#reg-modal #login-form .login-password {}



#reg-modal #login-form .login-remember {
    display: flex;

}

#template-login #pms_login .login-remember label,
#pms_login .login-remember label,
.login.modal #pms_login .login-remember label {
    padding-left: 5px;
}

#reg-modal #login-form .login-remember input {}

#reg-modal #login-form .login-remember label {
    color: var(--Gray-700, #344054);
    /* Text sm/Medium */
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    /* 142.857% */
}

#reg-modal #login-form .login-submit {}

#reg-modal #login-form .login-submit input {}

#reg-modal #login-form .login-extra {
    color: var(--Gray-600, #475467);
    /* Text sm/Regular */
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 142.857% */
    text-align: center;
    margin-top: 25px
}

#reg-modal #login-form .login-extra a {
    color: var(--Gray-600, #475467);
}

#reg-modal #login-form .login-extra a:hover {
    color: #00AFB9;
}

#reg-modal #login-form .login-extra input {}

#reg-modal #login-form .login-extra .register {}

#reg-modal #login-form .login-extra .separator {
    padding: 5px
}

#reg-modal #login-form .login-extra .lostpassword {}

#reg-modal .error-message-container {
    position: relative;
    min-height: 1em;
    margin: 1em 0;
    background: #f8f8f9;
    padding: 1em 1.5em;
    line-height: 1.4285em;
    color: rgba(0, 0, 0, .87);
    transition: opacity .1s ease, color .1s ease, background .1s ease, box-shadow .1s ease;
    border-radius: .28571429rem;
    box-shadow: 0 0 0 1px #e0b4b4 inset, 0 0 0 0 transparent;
    background-color: #fff6f6;
    color: #9f3a38;

}

#reg-modal .success-message-container {
    osition: relative;
    min-height: 1em;
    margin: 1em 0;
    background: #f8f8f9;
    padding: 1em 1.5em;
    line-height: 1.4285em;
    color: rgba(0, 0, 0, .87);
    transition: opacity .1s ease, color .1s ease, background .1s ease, box-shadow .1s ease;
    border-radius: .28571429rem;
    box-shadow: 0 0 0 1px #a9d5de inset, 0 0 0 0 transparent;
    background-color: #f8ffff;
    color: #276f86;
}


.message-item span div {

    font-weight: normal;

}


span.waiting {
    background: url('../images/elipsis.gif') no-repeat;
    display: inline-block;
    width: 27px;
    height: 10px;
    background-size: contain;
    margin-left: 2px;
    position: relative;
    top: 2px
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pms-credit-card-information li {
    list-style: none;
    margin-left: 0px !important;
    padding-left: 0px;
}

.pms-field.pms-field-type-heading h4 {
    margin-bottom: 12px;
    color: var(--primary-black, #272932);
    font-family: Mont;
    font-size: 18px;
    font-style: normal;
    font-weight: 800;
    line-height: 42px;
}

.pms-credit-card-information ul {}

.entry-content p {
    color: var(--primary-black, #272932);
    font-family: Mont;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    line-break: auto;
    white-space: break-spaces;

}

.pms-action-abandon-subscription .pms_success-messages-wrapper p {
    color: var(--primary-green, #00AFB9) !important;
    border-radius: 16px;
    border: 2px solid var(--primary-green, #00AFB9) !important;
    padding: 14px;
    font-weight: normal;
    font-size: 16px;
    text-align: center;
    margin-bottom: 16px;
}

.pms-action-abandon-subscription p {
    padding-bottom: 35px;
    margin-bottom: 0px
}

#template-user-settings .pms-action-abandon-subscription h1.entry-title {
    margin-bottom: 30px;
}

#pms-cancel-subscription-form p {
    padding: 0px 0 32px;
}

#template-user-settings .template-wrapper:not(.page-my-subscription) pre {
    white-space: normal;
    /* Allows text to wrap and behave like normal text */
    font-family: inherit;
    /* Inherit the font from the parent or default */
    overflow: auto;
    /* Allows scrolling if content overflows */
    word-wrap: break-word;
    /* Breaks long words if necessary */
}

/*"change to" text*/
.pms-upgrade__message {
    margin-bottom: 12px;
    color: var(--primary-black, #272932);
    font-family: Mont;
    font-size: 18px;
    font-style: normal;
    font-weight: 800;
    line-height: 42px;
}

/*Plan Description text*/
.pms-subscription-plan-description {
    margin-top: 16px;
    color: var(--primary-black, #272932);
    font-size: 18px;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Mont;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.24px;

}

.pms-subscription-plan-description li {
    font-size: 16px
}

.subscription.modal table {
    width: 100%;

}

.pms-account-subscription-details-table__actions td:last-child {
    display: flex;
    padding: var(--space-0, 0px);
    align-items: center;
    gap: var(--space-9, 24px);
    justify-content: flex-start;
}

.pms-account-subscription-details-table__actions td:last-child a {
    text-align: center;
    font-family: Mont;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 22px;
    /* 157.143% */
}

.pms-account-subscription-action-link__change {
    color: var(--primary-purple, #6369D1);
}

.pms-account-subscription-action-link__cancel {
    color: #DC2828;
}

.pms-account-subscription-action-link__abandon {
    color: #000;
}

.pms-account-subscription-action-link {
    display: flex;
    align-items: center;
}

.pms-account-subscription-action-link:before {
    content: "";
    width: 24px;
    height: 24px;
    display: inline-block;
    background: url('../images/iconset_master.png') no-repeat;
    margin-right: 5px;
}

.pms-account-subscription-action-link__change:before {
    background-position: 0px -360px;
}

.pms-account-subscription-action-link__cancel:before {
    background-position: 0px -384px;
}

.pms-account-subscription-action-link__abandon:before {
    background-position: 0px -168px;
}

.button-wrapper {
    display: flex;
    padding: var(--space-0, 0px);
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
    gap: 32px var(--space-11, 32px);
    align-self: stretch;
    flex-direction: row-reverse;
    margin-top: 12px
}

.back-button,
.button-wrapper input {
    width: 100%;
    display: flex;
    padding: var(--space-5, 10px) var(--space-6, 12px);
    justify-content: center;
    align-items: flex-end;
    gap: var(--space-3, 4px);
    flex: 1 0 0;
    border-radius: 16px;
    border: 1.5px solid var(--primary-purple, #6369D1);
    background: var(--primary-white, #FFF);
    color: var(--primary-purple, #6369D1);
    font-family: Mont;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    /* 171.429% */
    cursor: pointer
}


.back-button:hover,
input[name="pms_update_payment_method"],
.button-wrapper input[name="pms_confirm_abandon_subscription"],
.button-wrapper input[name="pms_confirm_cancel_subscription"],
.button-wrapper input[name="pms_change_subscription"] {
    border-radius: 16px;
    border: 1.5px solid var(--primary-purple, #6369D1);
    background: var(--primary-purple, #6369D1);
    color: var(--primary-white, #FFF);
    /* 171.429% */
}

.back-button {
    margin-top: 24px;
    display: none
}

.p-HeightObserverProvider-container {
    margin: 0px !important;
    position: relative;
}

#pms-credit-card-information {
    list-style: none;
    padding-left: 0px
}


#pms-stripe-payment-elements {
    max-width: 99% !important;

}


.token-usage .current {
    color: var(--primary-purple, #6369D1) !important;
}

.pms-subscription-plan {
    border-radius: 10px;
    padding: 25px;
    border: 2px solid #dedede;
    margin-bottom: 20px;
    border-color: #6369D1
}

#pms-subscription-plans-discount {
    display: flex;
    padding-top: 30px;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
}

#pms-subscription-plans-discount input {
    font-family: Mont;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
    /* 155.556% */

    padding: 14px var(--space-7, 16px);
    transition: color .1s ease, border-color .1s ease;

    color: var(--primary-black, #272932);
    display: flex;
    padding: 14px var(--space-7, 16px);
    align-items: center;
    gap: var(--space-6, 12px);
    align-self: stretch;
    border-radius: var(--Radius-radi-6, 12px);
    border: 1px solid var(--secondary-icon-stroke, #DFDFE0);
    background: var(--primary-white, #FFF);

    /* shadow/sm */
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.10);
    width: 80%;
    float: left;
}

#pms-subscription-plans-discount #pms-apply-discount {
    color: #6369D1;
    border: 1.5px solid var(--primary-purple, #6369D1);
    font-family: Mont;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    text-align: center !Important;
    display: block;
    width: 20%;
}

input[name="pms_update_payment_method"]:hover,
input[name='pms_confirm_cancel_subscription']:hover,
input[name="pms_redirect_back"]:hover,
input[name="pms_confirm_retry_payment_subscription"]:hover,
#pms-subscription-plans-discount #pms-apply-discount:hover {
    background: rgba(99, 105, 209, 0.50);
    border: 1.5px solid var(--primary-purple, #6369D1);
    color: #fff;
    cursor: pointer
}



#pms-subscription-plans-discount label {
    height: 30px;
    color: var(--primary-black, #272932);
    font-family: Mont;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
    position: absolute;
    margin-top: -90px
}



input[name="pms_confirm_retry_payment_subscription"],
input[name="pms_redirect_back"] {
    width: 100%;
    margin: 0;
    display: flex;
    padding: var(--space-5, 10px) var(--space-6, 12px);
    justify-content: center;
    align-items: flex-end;
    gap: var(--space-3, 4px);
    flex: 1 0 0;
    font-family: Mont;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    width: 47%;
    float: left;
    cursor: pointer
}

input[name="pms_confirm_retry_payment_subscription"] {
    margin-right: 5%;
    border-radius: var(--Radius-radi-7, 16px);
    border: 1.5px solid var(--primary-purple, #6369D1);
    background-color: var(--primary-purple, #6369D1);
    color: #fff;
}

input[name="pms_redirect_back"] {
    border-radius: var(--Radius-radi-7, 16px);
    border: 1.5px solid var(--primary-purple, #6369D1);
    background-color: var(--primary-white, #FFF);
    color: #6369D1;

}

#template-user-settings #pms-subscription-plans-discount-messages-wrapper .pms-discount-error {
    padding: 14px;
    color: var(--secondary-red, #F07167);
    font-weight: normal;
    font-size: 16px !important;
    text-align: center;
    border-radius: 16px;
    font-family: 'Mont' !important;
    border: 2px solid var(--secondary-red, #F07167);
}

#template-user-settings #pms-subscription-plans-discount-messages-wrapper .pms-discount-error {
    color: var(--secondary-red, #F07167);
    font-size: 100%;

}

#template-user-settings #pms-subscription-plans-discount-messages-loading {
    padding: 16px;
    font-weight: normal;
    font-size: 16px !important;
    text-align: center;
    border-radius: 16px;
    font-family: 'Mont' !important;
    border: 2px solid #333;
}


#template-user-settings #pms-subscription-plans-discount-messages-wrapper {
    padding: 0em;
}

/*Registration Template*/

#template-register .entry-title {
    padding: 0 !important;
    margin-bottom: 32px;
    color: var(--primary-black);
    font-size: 30px;
    font-weight: 700;
    line-height: 42px;
    margin-bottom: 32px;
}

#template-register .pms-form-fields-wrapper {
    list-style: none;
    padding-left: 0px
}

#template-register .pms-field-subscriptions {}

#template-register .section-inner article {
    max-width: 715px;
    padding: var(--space-17, 64px) !important;
    border-radius: 24px;
    background: var(--primary-white, #FFF);
}

#template-register .pms-subscription-plan-description {
    margin-bottom: 10px;
}


#template-register .pms-subscription-plan label input {
    border-radius: 15px;
    background: var(--primary-purple);
    width: 24px;
    height: 24px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
    margin-right: 10px;
    cursor: pointer
}


#template-register .pms-subscription-plan label input::before {
    display: block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    font-size: 21px;
    font-weight: 600 !important;
    text-align: center;
    color: #fff;
    position: absolute;
    top: 2.4px;
    left: 0;

}

#template-register .pms-subscription-plan label input:checked::before {
    content: '\e906';
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    font-weight: 100;
    -webkit-font-smoothing: antialiased;
}

#template-register .pms-subscription-plan label {
    font-family: Mont;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    display: flex;
    align-items: center;
    cursor: pointer;
}

#template-register input[name="pms_new_subscription"] {
    width: 100%;
    display: flex;
    padding: var(--space-5, 10px) var(--space-6, 12px);
    justify-content: center;
    align-items: flex-end;
    gap: var(--space-3, 4px);
    flex: 1 0;
    border: 1.5px solid var(--primary-purple, #6369D1);
    border-radius: 16px;
    background: var(--primary-purple, #6369D1);
    color: var(--primary-white, #FFF);
    font: normal 700 14px/24px Mont;
    cursor: pointer;
}

#template-register #pms-stripe-payment-elements {
    margin-bottom: 30px;
    transition: all 0.5s;
}

#pms-credit-card-information {
    transition: all .5s
}



/*Fixes some strange issue where page is vertically stretched*/
#profile-modal .pms-action-change-subscription #pms-change-subscription-form .pms-upgrade__group.pms-upgrade__group--change,
#profile-modal .pms-action-change-subscription #pms-change-subscription-form {
    display: flex;
    flex-direction: column;
}


#profile-modal .pms-action-change-subscription #pms-change-subscription-form .pms-subscription-plan-description ul {
    margin-top: 0px;
}

#profile-modal .pms-account-subscription-details-table td {
    white-space: nowrap;
}

#profile-modal .pms-account-subscription-details-table {
    /* display:flex; */
    width: 100%;
}

#profile-modal .pms-account-subscription-details-table tbody {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#profile-modal table.pms-account-subscription-details-table tr {
    display: flex;
    flex-direction: column;
    padding: 0px;
    flex-direction: column;
    /* align-items: center; */
    /* margin-bottom: 18px; */
    gap: 4px;
    background-color: #f2f2f2;
    border-radius: 5px;
    padding: 8px;
}

#template-user-settings pre {
    margin: 0px !important;
    padding: 0px !important;
    height: auto !important;
    line-height: 0 !important
}

#profile-modal table.pms-account-subscription-details-table tr td:first-child {
    margin-bottom: 10px;
    color: var(--primary-black, #272932);
    font-family: Mont;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: auto !important;
}

#profile-modal table.pms-account-subscription-details-table .pms-account-subscription-details-table__payment-method {
    display: flex;
    gap: 25px;
}

#profile-modal table.pms-account-subscription-details-table .pms-account-subscription-action-link.pms-account-subscription-action-link__update-payment-method {
    font-size: 14px;
    color: var(--primary-purple, #6369D1);
}

#profile-modal table.pms-account-subscription-details-table .pms-account-subscription-action-link.pms-account-subscription-action-link__update-payment-method:before {
    display: none
}

#profile-modal .pms-action-update-payment-method {}

#profile-modal .pms-action-update-payment-method iframe {
    margin-bottom: 35px !important;
}

#profile-modal .pms-action-update-payment-method #pms-update-payment-method-form .button-wrapper {}

#profile-modal .pms-action-update-payment-method .entry-content p {
    color: var(--primary-black, #272932);
    font-family: Mont;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
    line-break: auto;
    white-space: normal;
    padding: 0px;
}

/*Fix post subscription change notification*/
.entry-content .pms_success-messages-wrapper p {
    color: var(--primary-black, #272932);
    font-family: Mont;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    line-break: auto;
    white-space: break-spaces;
    padding: 15px 20px;

}

/*Hide Abandon Sub Link*/
.pms-account-subscription-action-link__cancel,
.pms-account-subscription-action-link__abandon {
    display: none !important
}

/*My profile form*/
.modal.profile .error-message-container p {
    background-color: var(--primary-whte);
    border-radius: 16px;
    border: 2px solid var(--secondary-red, #F07167) !important;
    margin-bottom: 32px;
    padding: 14px;
    color: var(--secondary-red, #F07167) !important;
    font-weight: normal;
    font-size: 16px;
    text-align: center;
    margin-bottom: 0px
}

.modal.profile .success-message-container p {
    border-radius: 16px;
    border: 2px solid var(--primary-green, #00AFB9) !important;
}

.modal.profile .error-message-container p {
    margin-bottom: 16px
}

.modal.profile .success-message-container p,
.modal.profile .error-message-container p {
    padding: 14px;
    color: var(--secondary-red, #F07167) !important;
    font-weight: normal;
    font-size: 16px;
    text-align: center;
}

.modal.profile .success-message-container p {
    color: var(--primary-green, #00AFB9) !important;
}


.modal.profile .ui.form .field {
    clear: both;

    display: flex;

    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    align-self: stretch;
}

.modal.profile .ui.form .field>label {
    color: var(--Gray-700, #344054);
    /* Text sm/Medium */
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    /* 142.857% */
    /* 155.556% */
}

.share.modal #shared-title,
.modal.profile .ui.form input[type=email],
.modal.profile .ui.form input[type=file],
.modal.profile .ui.form input[type=number],
.modal.profile .ui.form input[type=password],
.modal.profile .ui.form input[type=search],
.modal.profile .ui.form input[type=tel],
.modal.profile .ui.form input[type=text],
.modal.profile .ui.form input[type=time],
.modal.profile .ui.form input[type=url] {

    display: flex;
    padding: 10px 14px;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    border-radius: 8px;
    border: 1px solid var(--Gray-300, #D0D5DD);
    background: var(--Base-White, #FFF);

    /* Shadows/shadow-xs */
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
    overflow: hidden;
    color: var(--Gray-500, #667085);
    text-overflow: ellipsis;

    /* Text md/Regular */
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 150% */
}

#debug-window {
    position: fixed;
    /* bottom: 10px; */
    /* right: 10px; */
    width: 400px;
    background: #1e1e1e;
    /* Dark background */
    border: 1px solid #444;
    /* Dark border */
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    padding: 10px;
    border-radius: 5px;
    color: #ddd;
    opacity: 0;
    transition: opacity 0.2s ease;
    /* Light gray text */
}

#debug-window .debug-header {
    cursor: move;
    padding: 5px;
    background: #292929;
    /* Slightly lighter dark */
    border-bottom: 1px solid #444;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

#debug-close {
    color: #ff4c4c;
    /* Red close button */
    cursor: pointer;
}

#debug-window.ui.accordion .title {
    background: #333;
    /* Dark accordion headers */
    color: #ddd !important;
    padding: 8px;
    cursor: pointer;
    border-bottom: 1px solid #444;
}

#debug-window.ui.accordion .title:hover {
    background: #444;
}

#debug-window.ui.accordion .content {
    background: #222;
    /* Darker background for content */
    color: #ccc;
    padding: 10px;
    border-bottom: 1px solid #444;
    padding: 0px 0px 0px 0px !important
}

#debug-window.ui.accordion .content p {
    margin: 5px 0;
}

#debug-window.ui.accordion .debug-refresh {
    float: right;
    color: #ddd;
    cursor: pointer;
    /* background-color:red; */
    width: 35px;
    height: 38px;
    margin-top: -10px;
    margin-right: -7px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
}

#debug-window.ui.accordion .debug-refresh:hover {
    color: #fff;
}

#debug-window.ui.accordion .debug-refresh i {
    margin-top: -5px
}

#debug-window.ui.accordion .debug-refresh i.loading {
    margin-top: 2px
}

/* Modal container (adjust selector if needed based on your modal framework) */
#upgrade-modal {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

}

#upgrade-modal .content {
    padding: 10px;

}

#upgrade-modal .header {
    padding-left: 0px
}

/* Form styling */
#upgrade-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Card element container */
#card-element {
    background: #f9f9f9;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 12px;
    font-family: 'Arial', sans-serif;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Focus state for card element */
#card-element:focus,
#card-element.StripeElement--focus {
    border-color: #3b82f6;
    /* Blue focus ring */
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
    outline: none;
}

/* Error state */
#card-element.StripeElement--invalid {
    border-color: #ef4444;
    /* Red for errors */
}

/* Error message styling */
#card-errors {
    color: #ef4444;
    font-size: 14px;
    margin-top: 5px;
    min-height: 20px;
    /* Prevents layout shift when error appears */
}

/* Submit button */
#upgrade-form button[type="submit"],
#upgrade-modal button.primary,
#upgrade-form button.btn-secondary {
    background: #3b82f6;
    /* Blue button */
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

#upgrade-modal button.primary {
    width: 100%;
}

#upgrade-form button.btn-secondary {
    border-radius: 8px;
    background: none !important;
    border: 2px solid #00AFB9;
    color: #00AFB9;
    padding: 8px 20px;
    /* 150% */
}

#upgrade-form button.btn-secondary:hover {
    background-color: #fefefe !important
}

#upgrade-form button[type="submit"]:hover {
    background: #2563eb;
    /* Darker blue on hover */
}

#upgrade-form button[type="submit"]:disabled {
    background: #9ca3af;
    /* Gray when disabled */
    cursor: not-allowed;
}

/* Label styling (optional, if you add a label) */
label[for="card-element"] {
    font-size: 16px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 5px;
}

/* Hide the custom-options (star and flag icons) in the current selection (.text) */

.ui.model.dropdown .text .model-cost,
.ui.model.dropdown .text .model-latency,
.ui.model.dropdown .text .custom-options {
    display: none;
}




/* Responsive adjustments */
@media (max-width: 480px) {
    #upgrade-modal {
        max-width: 100%;
        margin: 10px;
    }

    #card-element {
        padding: 10px;
    }

    #upgrade-form button[type="submit"] {
        padding: 8px 16px;
        font-size: 14px;
    }
}