.wdmea-entry-note,
.wdmea-send-email {
    display: none;
    margin-top: 10px;
}
.wdm-send-email-text {
    margin-top: 10px;
}
.spinner-grow {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: -0.125em;
    background-color: currentcolor;
    border-radius: 50%;
    opacity: 0;
    -webkit-animation: 0.75s linear infinite spinner-grow;
    animation: 0.75s linear infinite spinner-grow;
}
.wdmea-single-entry {
    width: 100%;
    border: unset;
}
table.wdmea-single-entry tr td p, table.wdmea-single-entry tr td pre, table.wdmea-single-entry tr td code {
    white-space: pre-wrap;
}
.wdmea_field_label {
    font-weight: 900;
}
.wdmea-single-entry th,
.wdmea-record-wrap h6 {
    color: #e85ba0;
}
.wdmea-entry-actions {
    text-align: right;
}
.wdmea-entry-actions button {
    background-color: #e85ba0;
}
.wdmea-single-entry-wrap .accordion-button {
    font-size: 1rem;
    padding: 10px;
    padding-left: 20px;
}
.wdmea-single-entry-wrap .accordion-header {
    margin-bottom: 0px;
}
.wdmea-approve-project.disabled,
.wdmea-add-email.disabled,
.wdm-gv-edit-project.disabled {
    background-color: #cfcfcf;
}
.wdmea-record-wrap {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px #cfcfcf solid;
}
.wdmea-record-wrap p {
    margin-bottom: 0px;
}
.wdm_tab_funding_req.hide_funding_tab {
    display: none;
}
.wdmea-single-entry-wrap .accordion-button:not(.collapsed),
.wdmea-single-entry-wrap .accordion-button:focus,
.wdmea-single-entry-wrap .accordion-button,
.wdmea-single-entry-wrap .accordion-button:hover {
    color: #f08661;
    background-color: #fbddc3;
}
.wdmea-control-panel-wrap a,
.wdmea-control-panel-wrap a:hover {
    color: #e85ba0;
    text-decoration: underline;
}
.wdmea-actionable-wrap {
    display: flex;
    justify-content: space-between;
}
.wdmea-actionable-wrap > div {
    display: flex;
    flex-direction: column;
}
.wdmea-actionable-wrap div:nth-child(2) {
    justify-content: flex-end;
}
.wdmea-help-link-wrap {
    border-top: 1px #cfcfcf solid;
    /* margin-top: 20px; */
    padding-top: 10px;
}
.wdmea-help-link-wrap p {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}
.wdmea-actionable-wrap .wdmea-email-attendee .send-attende,
.wdmea-actionable-wrap .wdmea-email-attendee .attende-button {
    display: none;
}
.wdmea-actionable-wrap .wdmea-email-attendee .send-attende {
    top: 10%;
}
@-webkit-keyframes spinner-grow {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    50% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes spinner-grow {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    50% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .spinner-grow {
        -webkit-animation-duration: 1.5s;
        animation-duration: 1.5s;
    }
}
.wdmea-entry-edit-form {
    width: 100%;
}

/*
 Description:- User registration:- Align submit button to the left
 Author:- deep.trivedi@wisdmlabs.com
 Date:- 21/03/23
*/
.ur-frontend-form .ur-button-container .ur-submit-button {
    margin-left: inherit !important;
}

/*
 Description:- Login:- Align submit button to the left
 Author:- deep.trivedi@wisdmlabs.com
 Date:- 21/03/23
*/
.ur-frontend-form input[type="submit"] {
    float: inherit !important;
}

span.select2-search.select2-search--inline {
    display: none;
}

/*
 Description:- Select2 button aligned properly
 Author:- deep.trivedi@wisdmlabs.com
 Date:- 26/03/23
*/
button.select2-selection__choice__remove {
    padding: 3px 5px 5px 5px;
    margin-top: 4px;
    margin-bottom: 4px;
}

.eventpageloader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 15px solid #f3f3f3;
    border-top: 15px solid #828282;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.alerterrormessage {
    margin-top: 10px;
}

.format_class {
    margin-top: 6vh;
}

button#wdm_search_user_btn {
    padding: 5px 25px;
    margin-left: 6px;
}

.wdm_search_bar_co {
    display: flex;
}

.wdm_search_bar_co {
    display: flex;
    font-size: 15px;
}

.select_working_groups
    .select2-container--default
    .select2-selection--multiple
    .select2-selection__rendered
    li,
.wdm_add_event_user_2
    .select2-container--default
    .select2-selection--multiple
    .select2-selection__rendered
    li {
    margin-top: 2px;
}

.select_working_groups span.select2-selection.select2-selection--multiple,
.wdm_add_event_user_2 span.select2-selection.select2-selection--multiple {
    height: 2.2em;
    border-width: 1px;
    border-style: solid;
    border-color: var(--ast-border-color);
    border-radius: 2px;
    background: #fafafa;
}

.alerterrormessage > h6 {
    margin: 0;
}

.select_working_groups .select2 {
    width: 100% !important;
}

.select2_organizer .select2 {
    width: 100% !important;
}

.card {
    width: 18rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 5px #ccc;
    font-family: Arial, sans-serif;
}

.card-header {
    background-color: #d4d4d4;
    color: #181954;
    padding: 10px 15px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.list-group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    color: #181954;
    margin: 0 !important;
}

.wdm-right {
    font-weight: bold;
    color: #181954;
}

/* label in add and remove organize page  */
.wdm-add-remove-org-custom {
    margin-bottom: 10px !important;
}

/* search div in add and remove orgainzer page */
.wdm_search_add_and_remove_org {
    display: flex;
    font-size: 15px;
}

/* select2 width of add and remove orgainzer page */
.wdm-orgainzer-select-view > span {
    width: 100% !important;
}
table.wdmea-entry-list {
    border-collapse: collapse;
    width: 100%;
    border: none;
    margin: auto 20px;
}
.wdmea-entry-list th,
.wdmea-entry-list tr,
.wdmea-entry-list td {
    border: none;
    text-transform: capitalize;
}
.wdmea-entry-list td,
.wdmea-entry-list th {
    line-height: 10px;
}
.wdmea-entry-list thead th {
    text-align: left;
    padding-bottom: 15px;
}
.wdm_status_approve {
    color: #28a745;
}
.wdm_status_decline {
    color: #6c757d;
}
.wdm_status_not_approve {
    color: #dc3545;
}
.wdm_status_changes_pending {
    color: #ffc107;
}
.wdmea-entry-list thead,
.wdmea-entry-list tbody {
    border-bottom: 3px solid #333;
}
.wdmea-entry-list td p {
    margin: 0;
}
table.wdmea-entry-list tr:last-child td {
    padding-bottom: 15px;
}
table.wdmea-entry-list tr:first-child td {
    padding-top: 15px;
}
.wdm_view_all_list_wrp {
    float: right;
    padding: 10px;
    clear: both;
}

#wdm_project_idea_table_wrapper .dt-layout-table .dt-layout-cell {
    overflow-x: scroll;
    white-space: nowrap;
}

@media (max-width: 1450px ){
    #wdm_project_idea_table_wrapper .dt-layout-table .dt-layout-cell table tr td:nth-child(4) {
        white-space: normal;
        word-wrap: break-word;
    }
}

.wdm-orgainzer-select-view ul li:first-child {
    /* left: -50px; */
}

/* Style for the pagination container */
#wdm_project_idea_table_paginate {
    text-align: right;
    margin-top: 20px;
}

/* Style for pagination buttons */
#wdm_project_idea_table_paginate .paginate_button {
    display: inline-block;
    margin: 0 5px;
    padding: 0px 5px;
    background-color: transparent;
    text-decoration: none;
    cursor: pointer;
}

/* Style for current page button */
#wdm_project_idea_table_paginate .current {
    background-color: var(--ast-global-color-8);
    color: #fff;
    border: 1px solid var(--ast-global-color-8);
}

/* Style for ellipsis (...) */
#wdm_project_idea_table_paginate .ellipsis {
    margin: 0 5px;
    font-weight: bold;
}

/* Edit Project Idea Page CSS */
.wdm-gv-edit-project {
    padding: 5.5px 20px;
    border-radius: 30px;
}
.wdm-gv-edit-project a {
    color: #fff;
}
.wdm-gv-edit-project a:hover {
    color: #fff;
}
.gv-edit-entry-wrapper a.gv-button-delete,  .gv-edit-entry-wrapper a.gv-button-cancel{
    display: none;
}
.gv-edit-entry-wrapper input.gv-button-update{
    padding: 10px 20px;
    font-weight: 700;
}
body.single-gravityview nav.post-navigation {
    display: none;
}
/*----------------------------------------------------*/
/* Single entry view */
.wdm-entry-view-container {
    width: 100%;
    margin: 3rem auto;
    /* padding: 1rem; */
}
.wdm-entry-view-container .wdm-single-event-wrp {
    background-color: #fff;
}
.wdmea-zoomlink-wrap {
    padding: 15px 0;
    margin-top: 10px;
    border-top: 1px #cfcfcf solid;
}

.wdmea-zoomlink-wrap .wdmea-zoomlink-wrap__body {
    margin-bottom: 0;
    margin-top: 7px;
}
.wdmea-zoomlink-wrap .wdmea-zoomlink-wrap__title {
    color: #333;
    margin-bottom: 7px;
    font-weight: 900;
}
.wdmea-zoomlink-wrap p > span {
    color: red;
    font-weight: 900;
}
.gform_wrapper.gravity-theme .ginput_container_date input {
    width: 100% !important;
}
.wdm-entry-view-container {
    font-size: 1rem;
    font-family: 'Atlas Grotesk Regular',Helvetica,Arial,sans-serif;
}
.wdm-entry-view-container div h4 {
    font-family: Atlas Grotesk Black, Arial, Helvetica, sans-serif;
    font-size: 20px;
    color: #4a4a4a;
}
.accordion-item {
    margin-bottom: 20px;
}
.wdm-single-event-wrp h2 {
    font-size: 1rem;
    font-weight: normal;
    color: #4a4a4a;
    margin: 0;
}
.wef_names_list a {
    text-decoration: none;
    color: var(--ast-global-color-8);
}
.wef_names_list a:hover {
    color: var(--ast-global-color-8);
}
.single-tribe_events.ast-separate-container,
#post-1676 {
    background-image: linear-gradient(180deg, #C8D8E4 60%, #D1D3D5);
}

.single-tribe_events.ast-separate-container #tribe-events-pg-template {
    background-color: transparent;
}

.wdm-single-event-wrp #tribe-events-footer {
    border-top: none;
}

.wdm-single-event-view-container {
    background-color: #ffffff !important;
    /* padding: var(--tec-spacer-8) var(--tec-spacer-4) var(--tec-spacer-4); */
}
.wdm-entry-view-container .tribe-common {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.wdm-entry-view-container .tribe-events-c-subscribe-dropdown__container {
    width: 200px;
    display: flex;
    flex-flow: column;
    justify-content: flex-end;
}
.wdm-entry-view-container .tribe-events-c-subscribe-dropdown {
    position: relative;
    font-size: var(--tec-font-size-2);
    margin: var(--tec-spacer-7) 0;
}
.wdm-entry-view-container .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button,
.wdm-entry-view-container .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button {
    position: relative;
    border: 1px solid var(--ast-global-color-8);
    color: var(--ast-global-color-8);
    padding: var(--tec-spacer-1) var(--tec-spacer-2);
    width: 200px;
}
.wdm-entry-view-container .tribe-common .tribe-common-c-btn-border {
    font-family: var(--tec-font-family-sans-serif);
    font-size: var(--tec-font-size-2);
    line-height: var(--tec-line-height-3);
    font-weight: var(--tec-font-weight-bold);
    cursor: pointer;
    display: inline-block;
    height: auto;
    text-decoration: none;
    background-color: var(--tec-color-background);
    border-radius: var(--tec-border-radius-default);
    text-align: center;
    transition: var(--tec-transition);
    padding: 11px 20px;
    width: 100%;
}
.wdm-entry-view-container .tribe-common * {
    box-sizing: border-box;
}
.wdm-entry-view-container .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__export-icon {
    height: 16px;
}
.wdm-entry-view-container .tribe-common svg:not(:root) {
    overflow: hidden;
}
.wdm-entry-view-container .tribe-events-c-subscribe-dropdown__export-icon{
    display: inline-block;
    height: 16px;
    margin-right: var(--tec-spacer-1);
    margin-top: -3px;
    stroke: currentColor;
    vertical-align: middle;
    width: 21px;
}
.wdm-entry-view-container button.tribe-events-c-subscribe-dropdown__button-text {
    background-color: transparent;
    background-image: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    color: currentColor;
    cursor: pointer;
    padding: 0;
    text-shadow: none;
    font: inherit;
    -webkit-font-smoothing: antialiased;
    line-height: normal;
    outline: 0;
    text-transform: uppercase;
}
.wdm-entry-view-container .tribe-events-c-subscribe-dropdown__button-icon {
    margin-left: var(--tec-spacer-2);
}
.wdm-entry-view-container .tribe-events-c-subscribe-dropdown__button-icon {
    color: currentColor;
    stroke: currentColor;
}
.wdm-entry-view-container .tribe-events-c-subscribe-dropdown__button-icon {
    display: inline-block;
    height: 6px;
    vertical-align: middle;
    width: 10px;
}
.wdm-entry-view-container .tribe-events-c-subscribe-dropdown__content {
    position: absolute;
    top: 42px;
    width: 100%;
    z-index: var(--tec-z-index-dropdown);
}
.wdm-entry-view-container .tribe-events-c-subscribe-dropdown__list {
    background-color: var(--tec-color-background);
    border: 1px solid var(--tec-color-border-secondary);
    border-radius: var(--tec-border-radius-default);
    box-shadow: var(--tec-box-shadow-default);
    color: var(--tec-color-text-primary);
    font-family: var(--tec-font-family-sans-serif);
    /* padding: var(--tec-spacer-0); */
    text-align: left;
    list-style: none;
    padding: var(--tec-spacer-1);
    transform: translateY(var(--tec-spacer-1));
    width: 100%;
    margin-left: 0;
}
.wdm-entry-view-container .tribe-events-c-subscribe-dropdown__content, .wdm-hidden {
    display: none;
}
.wdm-entry-view-container .tribe-events-c-subscribe-dropdown__list-item {
    color: var(--tec-color-text-primary);
    font-family: var(--tec-font-family-sans-serif);
    border-radius: var(--tec-border-radius-default);
    padding: var(--tec-spacer-0);
    text-align: left;
    
}
.wdm-entry-view-container  .tribe-events-c-subscribe-dropdown__list-item a {
    display: inline-block;
    padding: 0 var(--tec-spacer-3);
    width: 100%;
    color: var(--tec-color-text-primary);
    font-family: var(--tec-font-family-sans-serif);
    font-size: 16px;
    line-height: 30px;
}
.wef_basic_details p strong {
    font-weight: 700;
}
.wdm-entry-view-container .wef_basic_details p ,
.wdm-entry-view-container .wef_attend_content em,
.wdm-entry-view-container .wef_apply_btn {
    font-family: "Atlas Grotesk Regular", Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 32px;
}
.wdm-entry-view-container .wef_attend_content em {
    color: #4a4a4a;
}
.wef_label_heading h3 {
    font-family: Atlas Grotesk Black,Arial,Helvetica,sans-serif;
    font-size: 20px;
    /* text-transform: capitalize; */
}
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:hover {
    background-color: var(--ast-global-color-8) !important;
    color: var(--tec-color-background);
}
.wdm-sweetalert-title {
    color: #ed680a;
}
.wdm-sweetalert-actions {
    flex-direction: column;
}
.wdm-sweetalert-cancel-button, .wdm-trash-project-sweetalert-confirm-button{
    color: #000000 !important;
    text-decoration: underline;
}
.wdm-sweetalert-cancel-button:hover, .wdm-trash-project-sweetalert-confirm-button:hover{
    background-image: none !important;
}
.wdm-sweetalert-cancel-button:focus, .wdm-sweetalert-confirm-button:focus, .wdm-trash-project-sweetalert-confirm-button:focus, .wdm-trash-project-sweetalert-cancel-button:focus{
    box-shadow: none !important;
}
.wdm-sweetalert-confirm-button, .wdm-trash-project-sweetalert-cancel-button {
    border-radius: 30px !important;
}

.wdm-trash-project-sweetalert-actions {
    flex-direction: column-reverse;
}

/* SweetAlert2 styling for project publication confirmation */
.swal2-popup .wdm-sweetalert-title ~ .swal2-actions .swal2-confirm.swal2-styled {
    width: auto;
}

/* Preview tab CSS on Single Event */
.wdm-preview-status {
    padding: 1rem 0rem;
    background-color: #EBEBEB;
    display: flex;
    justify-content: center;
    gap: 5px;
    align-items: center;
}

.wdm-preview-status p{
   margin-bottom: 0px;
   font-size: 1.3rem;
   text-align: center;
}

.wdm-preview-status a, .wdm-preview-status a:hover{
    text-transform: lowercase;
    color: var(--ast-global-color-8);
}
/*------------------------------------*/
/* Single Event Page CSS */
.wef_heading_wrp h1{
    font-family: Atlas Grotesk Regular,Helvetica,Arial,sans-serif;
    font-weight: 600;
    margin-bottom: 15px;
}
.wef_heading_wrp h2{
    font-family: Atlas Grotesk Regular,Helvetica,Arial,sans-serif;
    font-size: 1.2rem;
    color: #000000;
}
.wdm-single-event-wrp .tribe-events-virtual-single-marker,
.wdm-single-event-wrp .tribe-events-hybrid-single-marker {
    color: var(--tec-color-text-primary);
    font-family: var(--tec-font-family-sans-serif);
    background-color: var(--tec-color-background-secondary);
    font-size: 14px;
    line-height: 0;
    margin: var(--tec-spacer-0) 0 0 var(--tec-spacer-1);
    border-radius: 19px;
    font-weight: var(--tec-font-weight-bold);
}
.wdm-single-event-wrp .tribe-events-virtual-single-marker .tribe-events-virtual-single-marker__icon,
.wdm-single-event-wrp .tribe-events-hybrid-single-marker .tribe-events-hybrid-single-marker__icon {
    margin-right: var(--tec-spacer-0);
    flex: none;
    line-height: 0;
}
.wdm-single-event-wrp .tribe-events-virtual-single-marker__icon-svg,
.wdm-single-event-wrp .tribe-events-hybrid-single-marker__icon-svg {
    height: 10px;
    margin-right: var(--tec-spacer-0);
}
.wdm-single-event-wrp  .tribe-events-hybrid-single-marker {
    display: inline-block;
}
.wdmea-entry-list td, .wdmea-entry-list th {
    line-height: 21px;
}
.button.wdm_create_project {
    display: inline-block;
}

#wdm_project_reports_table_wrapper, #wdm_participant_feedback_table_wrapper {
    .dt-layout-table{
    overflow-x: scroll;
    text-wrap-mode: nowrap;
 }
}

#wdm_project_reports_table_wrapper .table-menu-hidden {
    display: none;
}

#wdm_project_reports_table_wrapper .table-menu {
    background-color: var(--tec-color-background);
    border: 1px solid var(--tec-color-border-default);
    border-radius: 10px;
    box-shadow: 0 0 2px 0;
    margin-top: 40px;
    padding: var(--tec-spacer-2);
    position: absolute;
    width: max-content;
    z-index: 1;
    right: 0;
}

#wdm_project_reports_table_wrapper ul {
    list-style-type: none;
    margin: 0;
}

#wdm_project_reports_table_wrapper ol {
    text-align: left;
}


#wdm_project_reports_table_wrapper {
    .table-menu-btn-wdm, .dt-buttons {
        background-color: #ED680A;
        border-radius: 15px;
        color: #fff;
        font-weight: 700;
        display: inline-flex;
        height: 35px;
        margin-inline: 5px;
        padding-inline: 15px;

        .dt-button {
            border: none;
            background: none;
            outline: none;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
        }
    }
}

#wdm_project_reports_table_wrapper th, #wdm_project_reports_table_wrapper td {
    width: max-content;
    text-align: center;
}
.wdm-display-table-contents {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    
    .wdm-buttons-wrapper {
        display: flex;
    }
}

.wdm-dropdown-arrow-icon {
    width: 0px;
    height: 0px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid white; /* Default triangle pointing up */
    margin-left: 10px; /* Space between text and triangle */
    transition: transform 0.3s ease; /* Smooth transition */
    margin-top: 5px;
}

.menu-open .wdm-dropdown-arrow-icon {
    transform: rotate(180deg); /* Flip triangle upside down */
}


/* Notification Option align left */
.user-registration-MyAccount-content:has(#wdm-notification-option-form) {
    text-align: left !important;
}


/* Reset heading font sizes for Project Description on front end */
.wef_content_details {
    position: relative;
    
    h1 {
        font-size: 32px;
        margin: 0;
    }
    h2 {
        font-size: 24px;
        margin: 0;
    }
    h3 {
        font-size: 18.72px;
        margin: 0;
    }
    h4 {
        font-size: 16px;
        margin: 0;
    }
    h5 {
        font-size: 13.28px;
        margin: 0;
    }
    h6 {
        font-size: 10.72px;
        margin: 0;
    }

    p {
        margin: 0;
    }
}

/* Read More functionality styles */
.wef_content_details .read-more-wrapper {
    text-align: right;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
}

.wef_content_details .read-more-btn {
    background: var(--ast-global-color-8, #007cba);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.wef_content_details .read-more-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.wef_content_details .read-more-btn:active {
    transform: translateY(0);
}

.wef_content_details .content-full {
    display: none;
}

.wef_content_details.expanded .content-text {
    display: none;
}

.wef_content_details.expanded .content-full {
    display: block;
}

/* Added this as the Mailchimp plugin is causing issues with the datepicker being displayed */
#ui-datepicker-div .ui-datepicker-year {
    display: inline;
}

.elementor-widget-wp-widget-recent-posts,
.elementor-widget-wp-widget-categories
{
    ul {
        list-style: none;
        margin: 5px;
        margin-top: 20px;
    
        li {
            margin-block: 5px
        }
    }
}

.elementor-widget-wp-widget-recent-posts ul li {
        margin-block: 15px;
}


/* Footer general subscription form start */


.wdm-footer, .wdm-project-page{
    .gform_confirmation_message{
        color: white !important;
        margin: auto !important;
        margin-bottom: 20px ! important;
    }
}

.wdm-footer .wdm-general-subscription-form_wrapper .gform_fields > .gfield {
  margin: 0;
}

/* === Base wrapper === */
.wdm-footer .wdm-general-subscription-form_wrapper {
  display: flex;
  justify-content: center;
  padding: 1em 0;
  background-color: #181954;
}

/* === Remove default spacing/gap in fields === */
.wdm-footer .wdm-general-subscription-form_wrapper .gform_fields {
  gap: 0 !important;
}

/* === Input field styling === */
.wdm-footer .wdm-general-subscription-form_wrapper input[type="email"] {
  border: 2px solid var(--e-global-color-astglobalcolor3);
  border-right: none;
  padding: 0.75em 1em;
  border-radius: 6px 0 0 6px;
  color: white;
  background-color: #181954;
  height: 48px;
}

/* Text selection inside email input */
.wdm-footer .wdm-general-subscription-form_wrapper input[type="email"]::selection {
  background-color: var(--e-global-color-fe60e9d);
  color: #181954;
}

/* For Webkit browsers (Chrome, Safari) */
.wdm-footer .wdm-general-subscription-form_wrapper input[type="email"]::-webkit-selection {
  background-color: var(--e-global-color-fe60e9d);
  color: #181954;
}

.wdm-footer .wdm-general-subscription-form_wrapper input[type="email"]:focus {
  background-color: #181954 !important;
  color: white;
  box-shadow: none;
}

.wdm-footer .wdm-general-subscription-form_wrapper input[type="email"]::placeholder,
.wdm-footer .wdm-general-subscription-form_wrapper input[type="email"]::-webkit-input-placeholder,
.wdm-footer .wdm-general-subscription-form_wrapper input[type="email"]::-moz-placeholder,
.wdm-footer .wdm-general-subscription-form_wrapper input[type="email"]:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.7);
  opacity: 0.8;
}

/* === Floating label above input === */
.wdm-footer .wdm-general-subscription-form_wrapper .gfield--type-email::before {
  content: "Email";
  position: absolute;
  top: -0.7em;
  left: 1em;
  background-color: #181954;
  color: #ffffff;
  font-size: 0.75em;
  padding: 0 0.25em;
  z-index: 2;
}

/* === Submit button === */
.wdm-footer .wdm-general-subscription-form_wrapper input[type="submit"] {
  border: 2px solid var(--e-global-color-astglobalcolor3);
  background-color: var(--e-global-color-astglobalcolor3);
  color: #fff;
  padding: 0.75em 1.25em;
  border-radius: 0 6px 6px 0;
  font-weight: 400;
  transition: background-color 0.3s ease, color 0.3s ease;
  height: 48px;
}

/* === Hover: background + text color === */
.wdm-footer .wdm-general-subscription-form_wrapper input[type="submit"]:hover {
  background-color: var(--e-global-color-fe60e9d);
  border-color: var(--e-global-color-fe60e9d);
  color: #181954;
}

@media (max-width: 640px) {
  /* Also ensure your wrapper fields container uses flex, not grid */
  .wdm-footer .gform_wrapper.gravity-theme .gform_fields {
    display: flex;
  }
}

/* Footer general subscription form end */

/* Project general subscription form start */
.wdm-project-page .wdm-general-subscription-form_wrapper {
    width: fit-content;
    margin: auto;
}

/* Remove extra spacing between fields */
.wdm-project-page .wdm-general-subscription-form_wrapper .gform_fields > .gfield {
  margin: 0;
}

/* Email input field styling */
.wdm-project-page .wdm-general-subscription-form_wrapper input[type="email"] {
  border-radius: 15px;
}

/* Email field container should span full width of 12-column grid */
.wdm-project-page .wdm-general-subscription-form_wrapper .gfield--type-email {
  grid-column: span 8 !important;
}

/* Ensure the grid container is responsive */
.wdm-project-page .wdm-general-subscription-form_wrapper .gform_body .gform_fields {
  gap: 16px; /* Optional: adds space between fields */
}

/* Submit button container spans fewer columns */
.wdm-project-page .wdm-general-subscription-form_wrapper .gfield--type-submit {
  grid-column: span 4 !important;
}

/* Submit button styling */
.wdm-project-page .wdm-general-subscription-form_wrapper .gform-button {
  background-color: var(--ast-global-color-8);
  color: #fff;
  border-radius: 15px;
  padding: 12px 34px;
  font-size: 16px;
  border: 1px solid var(--ast-global-color-8);
  transition: all 0.3s ease;
}

/* Hover state for submit button */
.wdm-project-page .wdm-general-subscription-form_wrapper .gform-button:hover {
  background-color: #fff;
  color: var(--ast-global-color-8);
}

/* Responsive behavior */
@media (max-width: 750px) {
  .wdm-project-page .wdm-general-subscription-form_wrapper .gform_body .gform_fields {
    grid-template-columns: repeat(1, 1fr);
  }

  .wdm-project-page .wdm-general-subscription-form_wrapper .gfield--type-email,
  .wdm-project-page .wdm-general-subscription-form_wrapper .gfield--type-submit {
    grid-column: span 1 !important;
  }

  .wdm-project-page .wdm-general-subscription-form_wrapper .gform-button {
    width: 100%;
  }
}

/* Project general subscription form end */
