/* Technology related CSS starts here */

.ast-single-entry-banner.ast-custompage-banner[data-post-type="page"][data-banner-background-type="technology"] {
    background: url("/wp-content/uploads/2025/06/science-coin-classes.webp") rgba(0, 0, 0, 0.73);
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
    background-blend-mode: multiply;
}

.ast-single-entry-banner.ast-custompage-banner[data-post-type="page"][data-banner-background-type="technology"] {
    text-align: center;
    justify-content: center;
    min-height: 260px;
    width: 100%;
    padding-top: 90px;
    max-width: none;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.ast-single-entry-banner.ast-custompage-banner {
    -js-display: flex;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: relative;
    background: var(--ast-title-layout-bg);
}

.ast-single-entry-banner[data-post-type="page"][data-banner-background-type="technology"] h1.entry-title {
    color: var(--text-white-color);
    font-weight: 600;
    font-size: 38px;
    font-size: 2.375rem;
    line-height: 56px;
    letter-spacing: 0;
    margin-bottom: 15px;
}

.ast-single-entry-banner[data-post-type="page"][data-banner-background-type="technology"] .ast-container *,
.ast-single-entry-banner[data-post-type="page"][data-banner-background-type="technology"] .breadcrumbs.tech {
    color: var(--ast-global-color-5);
    font-size: 18px;
    font-size: 1.125rem;
}

.ast-single-entry-banner[data-post-type="page"][data-banner-background-type="technology"] .ast-container a,
.ast-single-entry-banner[data-post-type="page"][data-banner-background-type="technology"] .ast-container a * {
    color: var(--primary-color);
}

.ast-separate-container {
    background-color: var(--secondary-background-color);
}

.biotech-outer-grid {
    margin-bottom: 20px;
    padding: 20px 20px 0px 20px;
    border: 2px solid var(--border-dark);
    background-color: var(--primary-background-color);
}

.biotech-outer-grid #technology-search-form input {
    width: 86%;
    border-radius: 5px;
    /* margin-right: 5px; */
    border-color: rgba(77, 132, 19, 0.44);
    height: 46px;
}

.biotech-outer-grid.tech-proj-listing-page #technology-search-form input {
    width: 45%;
}

body .biotech-outer-grid.tos-proj-listing-page .project-search-form input {
    width: 48% !important;
}

/*.biotech-outer-grid #technology-search-form.project-search-form input {*/
/*    width: 82%;*/
/*}*/

.biotech-outer-grid #technology-search-form button {
    border-radius: 0px 5px 5px 0px;
    padding: 10px 20px;
    border: 1px solid #8080805e;
}

.biotech-outer-grid #technology-search-form button:hover {
    background-color: #335D08;
}

.biotech-outer-grid #technology-search-form .custom-search-group {
    /* display: flex;
    justify-content: center;
    margin-top: -10px; */
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
}

/* .technology-grid.technology-grid-original {
    display: flex;
} */

.technology-grid.technology-grid-original .card-inner {
    display: flex;
    flex-direction: row;
    border: 1px solid var(--border-dark);
    /* box-shadow: 0 0 6px rgba(0, 0, 0, 0.10), 0 0 1px 1px rgba(0, 0, 0, 0.1); */
    margin-bottom: 10px;
    border-radius: 10px;
    background-color: var(--secondary-background-color);
    min-height: 150px;
}

.technology-grid.technology-grid-original .card-inner .card-image {
    width: 15%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: 1px solid var(--border-dark);
}

.technology-grid.technology-grid-original .card-inner .card-image img {
    object-fit: cover;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    align-items: center;
    border: 1px solid #B3B3B3;
}

.technology-grid.technology-grid-original .card-inner .card-content {
    padding: 20px 20px 20px 20px;
    text-align: left;
    width: 80%;
}

.technology-grid.technology-grid-original .card-inner .card-content .technology-details h5 {
    margin-bottom: 10px;
    font-size: 22px;
    text-transform: capitalize;
}

.technology-grid.technology-grid-original .card-inner .card-content .technology-details strong {
    padding: 3px;
    background: #dfdfdf;
    border-radius: 4px;
}

.technology-grid.technology-grid-original .card-inner .card-content p {
    margin-bottom: 10px;
    font-size: 16px;
}

.technology-grid.technology-grid-original .card-inner .card-content span {
    font-size: 14px;
}

.technology-card.crts-4960 {
    display: none;
}

/* .technology-grid.technology-grid-original .technology-card {
    width: 30%;
} */

.create-technology-form .gform_wrapper {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15), 0 0 1px 1px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-top: 30px;
    margin-bottom: 30px;
    border: 1px solid var(--primary-color);
    background: var(--primary-background-color);
}

.create-technology-form .technology-detail-page .technology-detail-contents .gform_wrapper {
    margin-top: 0px;
    margin-bottom: 0px;
}

.create-technology-form form .gform-body {
    padding: 30px;
    /* background: linear-gradient(135deg, #f9fff2, #e7f6d5); */
}

.create-technology-form form .technology-upload-field input {
    padding: 0px;
}

body .gform_fields .form-control textarea,
body .form-control .gform_fields textarea {
  background-color: var(--secondary-background-color);
  border: 1px solid #b7b7b7;
  border-radius: 4px;
  box-shadow: none;
  color: #444444;
  height: 45px;
  padding: 6px 16px;
  outline: none;
  font-size: 16px;
}

body .gform_fields .form-control.tech-multiselect-field .chosen-container.chosen-container-multi {
  width: 100% !important;
  background-color: var(--secondary-background-color);
  border: 1px solid #b7b7b7;
  border-radius: 4px;
  box-shadow: none;
  color: #444444;
  /*height: 42px;*/
  padding: 2px 16px;
  outline: none;
}

body .gform_fields .form-control.tech-multiselect-field .chosen-container.chosen-container-multi .chosen-drop {
    margin-left: -15px;
    margin-top: -7px;
}

body .gform_fields .form-control.tech-multiselect-field .chosen-container.chosen-container-multi .chosen-drop .chosen-result .result-selected {
    border-left: 4px solid var(--primary-color);
}

.tech-multiselect-field .select2.select2-container.select2-container--default,
.tech-multiselect-field  .select2-selection.select2-selection--multiple.select2-selection--clearable{
    display: none !important;
}

.gform-theme--framework .gfield .chosen-container-multi .chosen-choices li.search-choice {
    background-color: var(--primary-color) !important;
}

body .gform_fields .form-control input[type="checkbox"] {
    padding: 0px;
    height: 24px;
    width: 24px;
    border-radius: 0;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

body .gform_fields .form-control input[type="checkbox"]::before {
    color: var(--primary-color);
}

body .gform_fields .form-control input[type="checkbox"]:disabled::before {
    color: #b1b1b1;
}

body .tos-registration-page .gform_fields .form-control input[type="checkbox"]:disabled::before {
    color: #b1b1b1;
}

body .gform_fields .form-control input[type="checkbox"]:disabled {
    border: 1px solid #b1b1b1;
    cursor: not-allowed;
}

.gform-theme--foundation #gform_7 #field_submit {
    justify-content: end;
}

.gform-theme--foundation #gform_12 #field_submit {
    justify-content: end;
}

.gform-theme--foundation #gform_7 .update-technology-btn,
.gform-theme--foundation #gform_12 .update-project-btn {
    order: 2;
}

.gform-theme--foundation #gform_12 .manage-project-btn #gform_ajax_spinner_12,
.gform-theme--foundation #gform_7 .manage-technology-btn #gform_ajax_spinner_7 {
    order: 3 ;
}

body .custom-cancel-btn.cancel-btn-technology .custom-button-group button.gf_cancel_button,
body .archive-cancel-btn .custom-button-group button.gf_cancel_button,
body .cancel-technology-btn,
body .cancel-project-btn,
body .custom-cancel-btn.cancel-btn-technology .custom-button-group button.gf_cancel_buttons  {
    border-radius: 3px !important;
    font-size: 16px !important;
    padding: 10px 30px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    color: var(--text-white-color);
    background-color: #b70505 !important;
    border-color: #b70505 !important;
    outline: none !important;
}

body.projtech-manage-tab-form #gform_fields_12 #field_submit,
body.projtech-manage-tab-form #gform_fields_7 #field_submit {
    grid-column: 1 / -1 !important;
    display: block;
}

body.projtech-manage-tab-form #gform_fields_12 #field_submit .manage-project-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

body.projtech-manage-tab-form #gform_fields_7 #field_submit .manage-technology-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

body #gform_fields_8 #field_submit,
body #gform_fields_14 #field_submit {
    justify-content: end;
}

@media (max-width: 768px) {
    .create-technology-form #gform_submit_button_7.gform-button, 
    .create-technology-form #field_7_14 .custom-button-group .gf_cancel_button,
    .create-technology-form #field_8_14 .custom-button-group .gf_cancel_button,
    .create-technology-form #gform_submit_button_7,
    .create-technology-form #gform_submit_button_8,
    .create-technology-form #gform_submit_button_12 {
        width: 100% !important;
    }
}

.biotech-outer-grid.tos-manuscript-listing-page #technology-search-form select#manuscript-sorting-filter {
    width: 17%;
    border-radius: 5px;
    border-color: rgba(77, 132, 19, 0.44);
    height: 46px;
}

a.start-new-tech-btn {
    color: var(--text-color);
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    border-radius: 30px;
    padding: 10px 15px;
    font-weight: 600;
    text-align: center;
    /*margin-left: 18px;*/
}

a.start-new-tech-btn:hover {
    background: var(--secondary-dark-color);
    border-color: var(--secondary-dark-color);
}

.biotech-outer-grid.tos-manuscript-listing-page #technology-search-form .start-new-manuscript-btn {
    width:14%;
}

.techgroup-dropdown,
.projgroup-dropdown {
    padding: 5px;
    /*margin-right: 10px;*/
    border-radius: 5px;
    width: 26%;
    height: 46px;
    border-radius: 5px;
    border-color: rgba(77, 132, 19, 0.44);
}

.techgroup-dropdown:focus,
.projgroup-dropdown:focus {
    border-color: rgba(77, 132, 19, 0.44);
}

.techgroup-dropdown.custom-sorting-dropdown,
.projgroup-dropdown.custom-sorting-dropdown {
    width: 12%;
}

p.error-info {
    color: #b70505;
}

.tos-technology-tab .elementor-button.active {
    background-color: #335D08 !important;
    border-color: #335D08 !important;
}

.gform_wrapper.gform-theme form {
    background: var(--primary-background-color);
    border-radius: 10px;
}

.technology-detail-page .technology-detail-tabs.tab-header {
    display: flex;
    /* border-bottom: 2px solid #335D08; */
    margin-top: 25px;
}

.technology-detail-page .technology-detail-contents {
    margin-bottom: 20px;
    padding: 20px;
    border: 2px solid var(--border-dark);
    background-color: var(--secondary-background-color);
    /* border-top: none; */
}

.technology-detail-page .technology-detail-contents h5 {
    text-transform: capitalize;
}

.technology-detail-page .technology-detail-tabs .tab-link {
    flex: 1;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    background: var(--secondary-background-color);
    text-transform: uppercase;
    color: #335D08;
    border: 2px solid var(--border-dark);
    border-radius: 15px 15px 0px 0px;
    margin: 0px 8px 0 0;
    font-weight: 700;
    border-bottom: none;
}

.technology-detail-page .technology-detail-tabs .tab-link:last-child {
    margin-right: 0;
}

.technology-detail-page .technology-detail-tabs .tab-link.active {
    font-weight: 700;
    border: none;
    border-bottom-color: var(--border-dark);
    background: #335d08;
    color: var(--text-white-color);
}

.technology-detail-page .technology-detail-contents .add-archive-btn {
    color: var(--text-color);
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    border-radius: 30px;
    padding: 10px 15px;
    font-weight: 600;
}

.technology-detail-page .technology-detail-contents .tech-archive-item {
    border: 1px solid #dddddd;
    background-color: #f5f5f5;
    margin: 15px 0;
    border-radius: 10px;
    padding: 12px;
    border-left: 4px solid var(--primary-color);
    border-right: 4px solid var(--primary-color);
}

.technology-detail-page .technology-detail-contents .tech-archive-item i {
    padding: 6px;
    color: #2d5e18;
    font-size: 15px;
    margin: 5px 10px 5px 0;
    width: 25px;
    height: 25px;
}

.technology-detail-page .technology-detail-tabs .tab-pane {
    display: none;
    padding-top: 20px;
}

.technology-detail-page .technology-detail-tabs .tab-pane.show {
    display: block;
    padding: 2%;
}

.technology-detail-page .tech-summary-content {
    display: flex;
    /* border: 1px solid #dddddd; */
    /* margin: 15px 0; */
    border-radius: 10px;
    padding: 12px;
}

.technology-detail-page .tech-summary-tab-content {
    border: 1px solid #dddddd;
    margin: 15px 0;
    border-radius: 10px;
    padding: 12px;
    border-left: 4px solid var(--primary-color);
    background-color: var(--primary-background-color);
}

.technology-detail-page .tech-summary-content i {
    border-radius: 50px;
    border: 1px solid #2d5e18;
    background-color: var(--secondary-background-color);
    padding: 6px;
    color: #2d5e18;
    font-size: 13px;
    margin: 3px 12px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
}

.technology-detail-page .tech-summary-content .view-patent-link {
    font-weight: 700;
    text-transform: uppercase;
}

.technology-detail-page .tech-summary-content p {
    margin-bottom: 5px;
}

.nominate-popup-close {
    background: var(--primary-color);
    box-shadow: none;
    border: none;
    position: absolute;
    top: 15px;
    padding: 5px 10px;
    right: 18px;
    font-size: 16px;
    cursor: pointer;
    color: var(--text-white-color);
}

.post-type-archive-project .technology-card.crts-5039 {
    display: none;
}

button.nominate-techdoi {
    padding: 6px 12px;
    font-size: 16px;
    margin-top: 15px;
    border-width: 1px;
}

button.nominate-techdoi i {
    padding-right: 5px;
}

.doi-nomination-wrapper .peer-review-btn {
    color: #4d8413;
    font-weight: 600;
    padding: 6px 12px;
    font-size: 16px;
    margin-top: 15px;
    border-radius: 25px;
    border: 2px solid #4d8413;
    background: #fff;
    /*margin-left: 5px;*/
}

.doi-nomination-wrapper .peer-review-btn:hover {
    color: #fff;
    background: #4d8413;
}

#nominate-modal {
    display: none;
    position: fixed;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    /* background: white; */
    padding: 30px;
    border-radius: 8px;
    /* box-shadow: 0 0 15px rgba(0,0,0,0.3); */
    z-index: 9999;
    max-width: 50%;
    width: 100%;
}

#nominate-modal #modal-form-wrapper #gform_wrapper_9 {
    margin: 0;
}

.nominate-doi-popup h5 {
    margin-bottom: -25px;
    color: var(--primary-color);
}

body #gform_9 {
    border: 1px solid var(--primary-color);
}

body #gform_9 .gform_footer{
    justify-content: center;
    padding: 0 25px 25px 25px;
    margin-top: -15px;
}

body #gform_9 #gform_submit_button_9 {
    color: var(--text-white-color);
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    font-size: 16px;
    border-radius: 3px;
    padding: 0px 30px;
    outline: none;
}

.techpage-start-newproj {
    color: var(--text-color);
    background: #ffd43b99;
    border: 1px solid #daab00;
    border-radius: 25px;
    padding: 4px 8px;
    font-weight: 500;
    margin-left: 5px;
}

.techpage-start-newproj i {
    font-size: 13px;
    padding: 0 3px;
}

.technology-grid.technology-grid-original .card-inner .card-content .technology-details strong.techpage-project-count {
    color: var(--text-color);
    background: #4d84135c;
    border: 1px solid var(--primary-color);
    border-radius: 25px;
    padding: 4px 8px;
    font-weight: 500;
}

.technology-pagination-wrapper ul,
.project-pagination-wrapper ul,
.manuscript-pagination-wrapper ul,
.job-pagination-wrapper ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px 0px 25px 0;
    list-style: none;
    margin: 0;
}

.technology-pagination-wrapper li,
.project-pagination-wrapper li,
.manuscript-pagination-wrapper li,
.job-pagination-wrapper li{
    display: inline;
}

.technology-pagination-wrapper a,
.technology-pagination-wrapper span,
.project-pagination-wrapper a,
.project-pagination-wrapper span,
.manuscript-pagination-wrapper a,
.manuscript-pagination-wrapper span,
.job-pagination-wrapper a,
.job-pagination-wrapper span{
    display: inline-block;
    padding: 2px 12px;
    border-radius: 25px;
    background: var(--secondary-background-color);
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color);
}

.technology-pagination-wrapper a:hover,
.project-pagination-wrapper a:hover,
.manuscript-pagination-wrapper a:hover,
.job-pagination-wrapper a:hover{
    background-color: var(--primary-color);
    color: white;
}

.technology-pagination-wrapper .current,
.project-pagination-wrapper .current,
.manuscript-pagination-wrapper .current,
.job-pagination-wrapper .current{
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
}

.tos-login-screen_wrapper {
    flex-direction: column;
}

.tos-login-screen_wrapper .gform_validation_errors {
    margin-bottom: 0px !important;
}

#add-member-btn.teams-add-member {
    padding: 5px 15px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    float: right;
}

.teams-add-member-table {
    display: flex;
    flex-wrap: wrap-reverse;
    gap: 15px;
    justify-content: end;
    align-items: center;
}

.teams-members-message-table a i.fa {
    padding-left: 5px;
}

.teams-add-member-table table.teams-members-message-table th:nth-child(1),
.teams-add-member-table table.teams-members-message-table td:nth-child(1) {
    width: 60%; /* Member */
}

.teams-add-member-table table.teams-members-message-table th:nth-child(2),
.teams-add-member-table table.teams-members-message-table td:nth-child(2) {
    width: 20%; /* Role */
}

.teams-add-member-table table.teams-members-message-table th:nth-child(3),
.teams-add-member-table table.teams-members-message-table td:nth-child(3) {
    width: 20%; /* MESSAGE */
}

/*.teams-add-member-table table.teams-members-message-table th:nth-child(4),*/
/*.teams-add-member-table table.teams-members-message-table td:nth-child(4) {*/
/*    width: 12%;*/
/*    text-align: center;*/
/*}*/

.teams-add-member-table table.teams-members-message-table th {
    background-color: var(--primary-color);
    color: #fff;
    border: 1px solid #aaaaaa;
    text-align: left;
}

#close-add-member.close-add-member-popup {
    background: var(--primary-color);
    box-shadow: none;
    border: none;
    position: absolute;
    top: 8px;
    padding: 5px 10px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 50%;
    line-height: 1.3;
    right: 5px;
    color: #fff;
}

#add-member-modal {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform:translate(-50%, -50%);
    padding: 20px;
    border-radius: 8px;
    z-index: 9999;
    max-width: 900px;
    width: 100%;
}

.add-add-member-popup .gform_wrapper{
    border: 1px solid var(--primary-color);
}

/*body .add-add-member-popup input#gform_submit_button_21{*/
/*    border-radius: 25px;*/
/*}*/

body .add-add-member-popup .top_label{
    margin-top: 0px;
}

.approve-btn-teammember {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.3);
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    margin: 3px;
}

.reject-btn-teammember {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    margin: 3px;
}

/*.tech-public-private {*/
/*    display: flex;*/
/*    flex-direction: row-reverse;*/
/*    gap: 15px;*/
/*    justify-content: left;*/
/*}*/

.tech-public-private-badge,
.proj-public-private-badge {
    border-radius: 5px;
    font-size:14px;
    padding: 6px 10px;
    font-weight:600;
    white-space: nowrap;
}

.teams-members-message-table .badge-style {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.teams-members-message-table .status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-disabled-doi,
.btn-disabled-doi:hover {
    background-color: #e4e4e4;
    color: #333333de;
    border: none;
}

.btn-disabled-doi i {
    color: #333333de;
}

#add-member-modal .custom-button-group .gf_external_invite_button {
    color: var(--primary-color);
    background: transparent;
    border: 2px solid var(--primary-color);
    /*border-radius: 25px;*/
    font-size: 16px;
    padding: 10px 30px;
    font-weight: 700;
    text-transform: uppercase;
    outline: none;
}

.intechnology-project-tab {
    background-color: var(--primary-background-color);
    margin: -20px;
    padding: 20px;
}

.intechnology-project-tab a.techpage-start-newproj {
    color: var(--text-color);
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    border-radius: 30px;
    padding: 10px 15px;
    font-weight: 600;
}

.intechnology-project-tab .custom-search-group {
    margin-bottom: 15px;
    display: flex;
    gap: 8px;
}

.intechnology-project-tab input#project-search {
    width: 87% !important;
    border-radius: 5px;
    border-color: var(--border-dark);
    height: 46px;
}

.intechnology-project-tab #project-results ul.project-list {
    margin: 0px;
}

.tos-grants-listing-container.intechnology-grants-tab {
    background-color: var(--primary-background-color);
    margin: -20px;
    padding: 20px;
    border: none;
}

.wpforo-add-topic-btn {
    display: inline-block;
    margin-bottom: 15px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    padding: 4px 18px;
    font-size: 1rem;
    font-weight: 600;
    float: right;
}

.wpforo-add-topic-btn:hover {
    color: #fff;
}
 
.technology-detail-page .tos-grants-listing-container #grant-search {
    width: 85.5%;
    border-radius: 5px;
    border-color: var(--border-dark);
    height: 46px;
}

.technology-detail-page .tos-grants-listing-container a.techpage-start-newfunding {
    color: var(--text-color);
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    border-radius: 30px;
    padding: 10px 15px;
    font-weight: 600;
}

.technology-detail-page .technology-detail-contents .intechnology-forum-tab-addbtn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.technology-detail-page .technology-detail-contents .intechnology-forum-tab-addbtn.intechproj-forum-add-topic-btn {
    justify-content: end;
}

.forum-text-left {
    text-align: left;
    flex: 1;
}

.forum-button-right {
    text-align: right;
    margin-left: 20px;
}

.forum-text-left p {
    margin: 0;
    color: #333; /* Adjust color as needed */
}

.technology-detail-page .technology-detail-contents .intechnology-forums-topics-list {
    background-color: var(--primary-background-color);
    margin: -20px;
    padding: 20px;
    border: none;
}

.technology-detail-page .technology-detail-contents .intechnology-forums-topics-list .topic-wrap {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #4d841370;
}

.technology-detail-page .technology-detail-contents .intechnology-forums-topics-list .wpfl-1 .wpforo-last-posts-list {
    margin-bottom: 10px;
    margin-top: -10px;
}

.technology-detail-page .technology-detail-contents .intechnology-forums-topics-list .wpfl-1 .wpforo-topic {
    padding: 6px 12px 12px 10px;
}

.technology-detail-page .technology-detail-contents .intechnology-forum-tab-addbtn .become-member-btn,
.forum-becomemember-techproj-btn {
    padding: 6px 15px;
    font-size: 16px;
    font-weight: 600;
    color: #fff !important;
}

button#become-member-btn.become-a-member-btn {
    padding: 6px 15px;
    font-size: 16px;
    font-weight: 600;
    margin-left: auto;
    color: #fff !important;
}

button#become-member-btn.become-a-member-btn.join-to-collaborate-btn {
    border-radius: 50px;
    margin-bottom: 0px;
    white-space: nowrap;
}

button.btn-secondary.become-a-member-btn.join-to-collaborate-btn:disabled,
button#become-member-btn.become-a-member-btn:disabled,
.forum-becomemember-techproj-btn:disabled {
    border-radius: 50px;
    margin-bottom: 0px;
    font-size: 16px;
    cursor: not-allowed;
    padding: 6px 15px;
}

.tech-public-private {
    display: flex;
    justify-content: space-between; /* left content on left, button on right */
    align-items: start;
    gap: 12px;
}

.tech-left {
    display: flex;
    align-items: start;
    gap: 10px; /* space between title and badge */
}

.tech-title {
    margin: 0;
    font-size: 18px;
}

.tech-public-private-badge {
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.join-btn-summary .btn {
    padding: 6px 15px;
    font-size: 16px;
    border-radius: 50px;
    cursor: pointer;
}

.join-btn-summary .btn:disabled {
    cursor: not-allowed;
}

.join-tooltip-container {
    position: relative;
    display: inline-block;
}
.join-tooltip-text {
    visibility: hidden;
    width: 240px;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 5px 10px;
    border-radius: 4px;
    position: absolute;
    z-index: 10;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.9rem;
}
.join-tooltip-container:hover .join-tooltip-text {
    visibility: visible;
    opacity: 1;
}

.become-a-member-success-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.become-a-member-success-popup .become-a-member-popup-content {
    display: flex;
    padding: 30px;
    background: #f0f9eb;
    border: 1px solid #4d8413;
    border-radius: 10px;
    min-width: 500px;
    text-align: center;
    justify-content: center;
    position: relative;
}

.become-a-member-success-popup .become-a-member-popup-close {
    background: var(--primary-color);
    box-shadow: none;
    border: none;
    position: absolute;
    top: -15px;
    padding: 3px 10px;
    right: -15px;
    font-size: 14px;
    cursor: pointer;
    color: var(--text-white-color);
    border-radius: 50%;
}

.ai-generate-btn-container button.ai-generate-specific-btn {
    color: var(--text-white-color) !important;
    border-color: var(--primary-color) !important;
    background-color: var(--primary-color) !important;
    font-size: 16px !important;
    border-radius: 5px !important;
    padding: 10px !important;
    outline: none !important;
    margin-bottom: 5px !important;
}

.ai-generate-btn-container button.ai-generate-specific-btn:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
}

body .create-technology-form .ai-generate-btn-container button.ai-generate-specific-btn i {
    font-family: 'FontAwesome';
}

.ai-spinner {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid rgba(0,0,0,0.2);
    border-radius: 50%;
    border-top-color: #000;
    animation: spin 1s ease-in-out infinite;
}

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

.content-violation-popup.custom-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.content-violation-popup .custom-popup {
    padding: 30px;
    background: var(--primary-background-color);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    max-width: 600px;
    width: 100%;
    text-align: center;
    border: 2px solid var(--primary-color);
}

.content-violation-popup .custom-popup-btn {
    color: var(--text-white-color);
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    font-size: 16px;
    border-radius: 3px;
    padding: 8px 25px;
    outline: none;
}

.content-violation-popup .custom-popup h5 {
    color: #4d8413;
    text-align: center;
    text-transform: initial;
    margin-bottom: 10px;
}

.content-violation-popup .custom-popup h5 i {
    font-size: 60px;
    margin-bottom: 20px;
    color: #b70505;
}

#wpforo-wrap #ai-generate-content.btn-primary.my-custom-btn {
    color: var(--text-white-color);
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    font-size: 16px;
    border-radius: 5px;
    padding: 8px 12px;
    outline: none;
    margin-bottom: 15px;
    margin-left: -18px;
    font-weight: 500;
}

#wpforo-wrap #ai-generate-content.btn-primary.my-custom-btn i {
    margin-right: 6px;
}

#wpforo-wrap #ai-generate-content.btn-primary.my-custom-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

body .gform_fields .form-control.tech-multiselect-field.technology-form-orgfield .chosen-container.chosen-container-multi {
        padding: 2px 16px 6px 6px;
}
 
.technology-form-orgfield  .chosen-search-input{
        font-size: 16px !important;
    color: #444444 !important;
}

/* Technology related CSS ends here */


/* Project related CSS starts here */

body .biotech-outer-grid .biotech-search-form.project-search-form input {
    width: 87%;
    border-radius: 5px 0px 0px 5px;
    border-color: var(--border-dark);
    height: 46px;
}

/* Project related CSS ends here */

/* Preprint Knowledge Center related CSS starts here */

.tech-summary-tab-content.preprint-summary-tab-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

#add-member-modal #gform_confirmation_message_21 {
    border: 1px solid var(--primary-color);
    padding: 30px;
    font-size: 20px;
}

#nominate-modal #gform_confirmation_wrapper_9 {
    border: 2px solid var(--primary-color);
    padding: 20px 30px;
}

.manuscript-doi-text-title {
    font-size: 1.5em;
    margin: 20px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
    text-align: center;
}

.manuscript-doi-text-desc {
    font-size: 16px;
    font-weight: normal;
    text-align: center;
}

button.knowledge-upload-addcomment-btn {
    border: 1px solid var(--primary-color);
    background: var(--primary-color);
    padding: 6px 12px;
    font-size: 16px;
    margin-top: 5px;
    float: right;
}

.knowuploads-comments-listing {
    padding: 60px 0px;
}

.knowuploads-comments-listing .custom-comment {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #f0f0f0;
    padding: 15px;
    background: #f3faf6;
}

.knowupload-copy-url-btn {
    border: 1px solid var(--primary-color);
    background: var(--primary-color);
    padding: 9px 12px;
    font-size: 16px;
    border-radius: 4px;
}

body .knowupload-share-url-field {
    width: 95% !important;
    border-color: #4d841387;
    height: 45px;
}

body .knowupload-share-url-field:focus {
    border-color: #4d841387;
}

#preview-files-container #preview-pagination .preview-page-link {
    padding: 6px 12px;
    border-radius: 25px;
    background: var(--secondary-background-color);
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color);
}

#preview-files-container #preview-pagination {
    display: flex;
    justify-content: center;
    margin: 20px;
}

/* Preprint Knowledge Center related CSS ends here */
#input_12_56 {
  border: 0px !important;
}