/* Keep phone components together on mobile */
.cooperative_mobile_input .input-group {
    display: flex !important;
    flex-direction: row !important;
    width: 100%;
}

.product_modal__input_dropdown {
    flex-shrink: 0;
    width: auto !important;
}

.product_modal__input {
    flex: 1;
    width: auto !important;
}

/* Form title centered */
.cooperative_form__title {
    text-align: center;
    margin-bottom: 48px;
    color: #2a304c;
    font-family: 'Gilroy', sans-serif;
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

/* Cooperative header image styling */
/*.cooperative__header_img {*/
/*    border-radius: 10px;*/
/*    border: 1px solid #ecedf0;*/
/*    margin-top: 38px;*/
/*    place-self: stretch;*/
/*    display: block; !* Show by default on desktop *!*/
/*}*/

.cooperative__header_img {
    border-radius: 10px;
    border: 1px solid #ecedf0;
    margin-top: 38px;
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: cover; /* şəkil kəsilmədən otursun */
}

@media (max-width: 576px) {
    .cooperative__header_img {
        width: 100%;
        height: auto;
        margin-top: 20px; /* istəyə görə */
    }
}


/* Add spacing between sections */
#CooperativeSaleForm {
    margin-bottom: 80px;
}

/* Form wrapper centered with background and border */
.cooperative_form__wrapper {
    margin: 0 auto;
    background: #fff;
    border: 1px solid #ecedf0;
    border-radius: 16px;
    padding: 60px;
    box-shadow: 0px 0px 16px 4px rgba(0, 0, 0, 0.05);
}

.cooperative_form__right {
    width: 100%;
}

.cooperative_form__right .cooperative_form__form_wrapper .cooperative_form__form_group {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 34px;
}

/* Input container for validation messages */
.input-container {
    width: 48.5%;
    position: relative;
}

.cooperative_form__right .cooperative_form__form_wrapper .cooperative_form__form_group .input-container input {
    width: 100%;
}

/* Validation message styles */
.validationMessage {
    color: #dc3545;
    font-family: 'Gilroy', sans-serif;
    font-size: 12px;
    font-weight: 400;
    margin-top: 5px;
    margin-bottom: 0;
    line-height: 1.4;
}

/* Button disabled state */
.cooperative_form_btn_wrapper button:disabled {
    background-color: #999ba2 !important;
    border-color: #999ba2 !important;
    color: #fff !important;
    cursor: not-allowed;
    opacity: 0.7;
}

.cooperative_form_btn_wrapper button:disabled:hover {
    background-color: #999ba2 !important;
    border-color: #999ba2 !important;
    color: #fff !important;
}

/* Make phone input same width as other inputs */
.cooperative_form__right .cooperative_form__form_wrapper .cooperative_form__form_group .cooperative_mobile_input {
    width: 48.5%;
}

.cooperative_form__right .cooperative_form__form_wrapper .cooperative_form__form_group .cooperative_mobile_input .input-group {
    width: 100%;
}

.cooperative_form__right .cooperative_form__form_wrapper .cooperative_form__form_group input {
    width: 48.5%;
    outline: none;
    box-shadow: none;
    border-radius: 8px;
    border: 1px solid #999ba2;
    padding: 18px 32px;
    color: #2a304c;
    font-family: 'Gilroy', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    height: 56px;
    box-sizing: border-box;
}

.cooperative_form__right .cooperative_form__form_wrapper .cooperative_form__form_group input:focus {
    outline: none;
    box-shadow: none;
}

.cooperative_form__right .cooperative_form__form_wrapper .cooperative_form__form {
    border: 1px solid #999ba2;
    border-radius: 8px;
    margin-bottom: 34px;
    background-color: transparent;
    display: flex;
    align-items: center;
    z-index: 0;
    position: relative;
    background-color: transparent;
}

.cooperative_form__right .cooperative_form__form_wrapper .cooperative_form__form select,
.cooperative_form__right .cooperative_form__form_wrapper .cooperative_form__form input,
.cooperative_form__right .cooperative_form__form_wrapper .cooperative_form__form textarea {
    width: 100%;
    outline: none;
    box-shadow: none;
    border-radius: 8px;
    border: none;
    padding: 18px 32px;
    color: #2a304c;
    font-family: 'Gilroy', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    border-right: 24px solid transparent;
    z-index: 0;
    position: relative;
    background-color: transparent;
}

.cooperative_form__right .cooperative_form__form_wrapper .cooperative_form__form select {
    appearance: none;
}


.cooperative_form__right .cooperative_form__form_wrapper .cooperative_form__form select:focus,
.cooperative_form__right .cooperative_form__form_wrapper .cooperative_form__form input:focus,
.cooperative_form__right .cooperative_form__form_wrapper .cooperative_form__form textarea:focus {
    outline: none;
    box-shadow: none;
}

.cooperative_form__right .cooperative_form__form_wrapper .cooperative_form__card_form_group .cooperative_form__card_form .cooperative_form__card_img p {
    color: #2a304c;
    font-family: 'Gilroy', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 5px;
}

.cooperative_form__btn_wrapper {
    width: 100%;
    margin-top: 72px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

/* reCAPTCHA container */
.recaptcha-container {
    flex-shrink: 0;
}

/* Make reCAPTCHA smaller */
.recaptcha-container #recaptcha-container {
    transform: scale(0.85);
    transform-origin: center;
}

@media (max-width: 576px) {
    .recaptcha-container #recaptcha-container {
        transform: scale(0.75);
        width: 100%; /* container-ə uyğun */
        height: auto;
    }
}


.cooperative_form__btn_wrapper button {
    padding: 16px 24px;
    min-width: 280px;
    border-radius: 8px;
    background-color: #2a304c;
    color: white;
    border: none;
    text-align: center;
    font-family: 'Gilroy', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    transition: .3s;
    border: 1px solid #2a304c;
    flex-shrink: 0;
}

.cooperative_form__btn_wrapper button:hover {
    transition: .3s;
    background-color: #fff !important;
    color: #2a304c !important;
}

.ql-editor {
    font-family: 'Gilroy', sans-serif;
}


#CooperativePartners .partners__wrapper .partners__title {
    margin: 21px 0 36px;
    color: #2a304c;
    font-family: 'Gilroy', sans-serif;
    font-size: 34px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

#CooperativePartners .partners__wrapper .partners__content {
    border-radius: 10px;
    background: #fff;
    box-shadow: 0px 0px 12px 2px rgba(0, 0, 0, 0.03);
    padding: 97px 62px 44px;
}

#CooperativePartners .partners__wrapper .partners__content .partners__content_title {
    color: #2a304c;
    font-family: 'Gilroy', sans-serif;
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-align: center;
    margin-bottom: 17px;
}

#CooperativePartners .partners__wrapper .partners__content .partners__cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#CooperativePartners .partners__wrapper .partners__content .partners__cards .partners__card {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 41px 21px;
    width: 356px;
    height: 155px;
    /*padding: 58px 0;*/
    border-radius: 10px;
    border: 2px solid #ecedf0;
    background: #fff;
    box-shadow: 2px 2px 8px 2px rgba(0, 0, 0, 0.04);
}

#CooperativePartners .partners__wrapper .partners__content .partners__cards .partners__card img {
    max-width: 50%;
    max-height: 50%;
    object-fit: cover;
}


#CooperativePartners .partners__wrapper .partners__content .partners__bottom_content {
    width: 63.4848485%;
    margin: 0 auto;
    margin-top: 75px;
    color: #323232;
    text-align: center;
    font-family: 'Gilroy', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    /* 200% */
}

@media (max-width: 576px) {
    #CooperativePartners .partners__wrapper .partners__title {
        margin: 62px 0 30px;
        color: #2a304c;
        font-family: 'Gilroy-Bold', sans-serif;
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

    #CooperativePartners .partners__wrapper .partners__content {
        border-radius: 10px;
        background: #fff;
        box-shadow: 0px 0px 12px 2px rgba(0, 0, 0, 0.03);
        padding: 44px 38px;
    }

    #CooperativePartners .partners__wrapper .partners__content .partners__content_title {
        color: #2a304c;
        text-align: center;
        font-family: 'Gilroy-Semibold', sans-serif;
        font-size: 20px;
        font-style: normal;
        font-weight: 600;
        line-height: 30px;
        /* 150% */
        text-align: center;
        margin-bottom: 9px;
    }

    #CooperativePartners .partners__wrapper .partners__content .partners__cards {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    #CooperativePartners .partners__wrapper .partners__content .partners__cards .partners__card {
        margin: 22px 5px;
        padding: 42px 0;
        width: 258px;
        border-radius: 10px;
        border: 2px solid #ecedf0;
        background: #fff;
        box-shadow: 2px 2px 8px 2px rgba(0, 0, 0, 0.04);
    }

    #CooperativePartners .partners__wrapper .partners__content .partners__bottom_content {
        width: 100%;
        margin: 0 auto;
        margin-top: 37px;
        color: #323232;
        text-align: center;
        font-family: 'Gilroy', sans-serif;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 32px;
        /* 228.571% */
    }
}


.cooperative__wrapper .cooperative__title {
    margin-top: 21px;
}

#CooperativeSale .cooperative__wrapper .cooperative__title h1 {
    color: #2a304c;
    font-family: 'Gilroy', sans-serif;
    font-size: 34px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

/*#CooperativeSale .cooperative__wrapper .cooperative__content {*/
/*    padding: 113px 70px 0;*/
/*}*/

#CooperativeSale .cooperative__wrapper .cooperative__content h3 {
    margin: 34px 0 20px;
    color: #2a304c;
    font-family: 'Gilroy', sans-serif;
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

#CooperativeSale .cooperative__wrapper .cooperative__content p {
    color: #323232;
    font-family: 'Gilroy', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    /* 200% */
}

#CooperativeSale .cooperative__wrapper .cooperative__content span {
    color: #323232;
    font-family: 'Gilroy', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    /* 200% */
}

#CooperativeSale .cooperative__wrapper .cooperative__content span.centered-text {
    display: flex;
    text-align: center;
    margin: 59px 0;
}

@media (max-width: 768px) {
    #CooperativeSale .cooperative__content {
        padding: 0px !important;
    }
    
    .cooperative_form__wrapper {
        padding: 40px 32px;
        margin: 0 20px;
    }
    
    .cooperative_form__right .cooperative_form__form_wrapper .cooperative_form__form_group {
        flex-direction: column;
        gap: 24px;
    }
    
    /* Make ALL form groups stack vertically on mobile, including flex-wrap */
    .cooperative_form__right .cooperative_form__form_wrapper .cooperative_form__form_group.flex-wrap {
        flex-direction: column;
        gap: 24px;
    }
    
    .cooperative_form__right .cooperative_form__form_wrapper .cooperative_form__form_group input,
    .cooperative_form__right .cooperative_form__form_wrapper .cooperative_form__form_group .cooperative_mobile_input,
    .cooperative_form__right .cooperative_form__form_wrapper .cooperative_form__form_group .input-container {
        width: 100%;
    }
    
    /* Ensure phone components stay together */
    .cooperative_mobile_input .input-group {
        display: flex !important;
        flex-direction: row !important;
    }

    .cooperative_form__btn_wrapper {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    
    .recaptcha-container {
        order: 1;
        text-align: center;
    }
    
    .cooperative_form__btn_wrapper button {
        order: 2;
        width: 100%;
        min-width: auto;
    }
    
    /* Adjust reCAPTCHA scale for mobile */
    .recaptcha-container #recaptcha-container {
        transform: scale(0.8);
        transform-origin: center;
    }
}

@media (max-width: 576px) {
    .cooperative_form__title {
        font-size: 20px;
        margin-bottom: 30px;
    }
    
    .cooperative_form__wrapper {
        padding: 32px 24px;
        margin: 0 16px;
    }
    
    .cooperative_form__right .cooperative_form__form_wrapper .cooperative_form__form_group {
        flex-direction: column;
        gap: 20px;
    }
    
    /* Make ALL form groups stack vertically on mobile, including flex-wrap */
    .cooperative_form__right .cooperative_form__form_wrapper .cooperative_form__form_group.flex-wrap {
        flex-direction: column;
        gap: 20px;
    }
    
    .cooperative_form__right .cooperative_form__form_wrapper .cooperative_form__form_group input,
    .cooperative_form__right .cooperative_form__form_wrapper .cooperative_form__form_group .cooperative_mobile_input,
    .cooperative_form__right .cooperative_form__form_wrapper .cooperative_form__form_group .input-container {
        width: 100%;
    }
    
    .cooperative_form__btn_wrapper {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-top: 40px;
    }
    
    .cooperative_form__btn_wrapper button {
        width: 100%;
        min-width: auto;
        order: 2;
    }
    
    .recaptcha-container {
        order: 1;
        text-align: center;
    }
    
    /* Further adjust reCAPTCHA for small mobile */
    .recaptcha-container #recaptcha-container {
        transform: scale(0.75);
        transform-origin: center;
    }
    
    #CooperativeSaleForm {
        margin-bottom: 60px;
    }

    #CooperativeSale .cooperative__wrapper .cooperative__title {
        margin-top: 50px;
        padding: 0 13.5px !important;
    }

    #CooperativeSale .cooperative__wrapper .cooperative__title h1 {
        color: #2A304C;
        font-family: 'Gilroy', sans-serif;
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

    #CooperativeSale .cooperative__wrapper .cooperative__content {
        padding: 0 13.5px !important;
    }

    #CooperativeSale .cooperative__wrapper .cooperative__content h3 {
        margin: 34px 0 29px;
        color: #2A304C;
        font-family: 'Gilroy', sans-serif;
        font-size: 16px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
    }

    #CooperativeSale .cooperative__wrapper .cooperative__content h3:first-child {
        margin: 30px 0 15px;
    }

    #CooperativeSale .cooperative__wrapper .cooperative__content p {
        color: #323232;
        font-family: 'Gilroy', sans-serif;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 37px;
        /* 228.571% */
    }

    #CooperativeSale .cooperative__wrapper .cooperative__content span {
        color: #323232;
        font-family: 'Gilroy', sans-serif;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 32px;
        /* 228.571% */
    }

    #CooperativeSale .cooperative__wrapper .cooperative__content span.centered-text {
        display: flex;
        text-align: center;
        margin: 59px 0;
    }
}

.cooperative_mobile_input {
    text-align: center;
}

.cooperative_mobile_input .input-group {
    margin-bottom: 23px;
}

.product_modal__input_dropdown {
    border-radius: 8px;
    appearance: none;
    outline: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border: 1px solid #999ba2;
    color: #232d3f;
    font-family: 'Gilroy', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    z-index: 0;
    height: 56px;
}

.product_modal__input {
    height: 56px;
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    font-size: 16px;
    padding: 18px 32px;
}

.product_modal__input_dropdown select {
    height: 100%;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 89px;
    /* padding-left: 26px; */
    border: none;
    background-color: transparent;
    outline: none;
    /* padding-right: 16px; */
    padding-left: 26px;
    padding-right: 17px;
    /* flex: 14 1;*/
}

@media screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 375px) {
    .product_modal__input_dropdown select {
        height: 100%;
        width: 100%;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        width: 89px;
        /* padding-left: 26px; */
        border: none;
        background-color: transparent;
        outline: none;
        /* padding-right: 16px; */
        padding-left: 26px;
        padding-right: 17px;
    }

    .product_modal__input_dropdown select option {
        color: #000;
        padding-left: 26px;
    }
}


.product_modal__input_dropdown select option {
    color: #000;
    padding-left: 26px;
}

.product_modal__input_dropdown:hover {
    background-color: #fff !important;
    color: inherit !important;
    background-color: #fff;
    border-color: #999ba2 !important;
    outline: none !important;
    box-shadow: none !important;
}

#modalProduct .product_modal__input_dropdown {
    background-color: transparent !important;
    color: inherit !important;
    border-color: #999ba2 !important;
    outline: none !important;
    box-shadow: none !important;
}

.product_modal__input_dropdown img {
    margin-left: 7px;
    position: absolute;
    z-index: -1;
    right: 15px;
}


.product_modal__input_dropdown svg {
    margin-left: 7px;
    position: absolute;
    z-index: -1;
    right: 15px;
}

.product_modal__input_dropdown::after {
    display: none;
}

.product_modal__input_dropdown+.dropdown-menu .dropdown-item {
    color: #999ba2;
    font-family: 'Gilroy', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}



#modalCorporateRequest .modal-dialog,
#modalCorporateError .modal-dialog {
    border-radius: 12px;
}


#modalCorporateRequest .modal-dialog .modal-content,
#modalCorporateError .modal-dialog .modal-content {
    border-radius: 12px;
    background-color: transparent;
}

#modalCorporateRequest .modal-dialog .modal-content .modal-body,
#modalCorporateError .modal-dialog .modal-content .modal-body {
    background: url("../images/home/Group 1216 (1).png");
    border-radius: 12px;
    padding-top: 41px;
    padding-bottom: 60px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#modalCorporateRequest .modal-dialog .modal-content .modal-body .corporate_request__close_btn,
#modalCorporateError .modal-dialog .modal-content .modal-body .corporate_request__close_btn {
    right: 5%;
    top: 6.6%;
    cursor: pointer;
}

#modalCorporateRequest .modal-dialog .modal-content .modal-body .modal-header,
#modalCorporateError .modal-dialog .modal-content .modal-body .modal-header {
    border-bottom: none;
}

#modalCorporateRequest .modal-dialog .modal-content .modal-body .modal-title,
#modalCorporateError .modal-dialog .modal-content .modal-body .modal-title {
    color: #fff;
    text-align: center;
    font-family: 'Gilroy', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px; /* 177.778% */
}

#modalCorporateRequest .modal-dialog .modal-content .modal-body .modal-title,
#modalCorporateError .modal-dialog .modal-content .modal-body .modal-title{
    width:66%;
    margin:0 auto;
    line-height:20px;
}

#modalCorporateRequest .modal-dialog .modal-content .modal-body h2,
#modalCorporateError .modal-dialog .modal-content .modal-body h2{
    color: #fff;
    text-align: center;
    font-family: 'Gilroy', sans-serif;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px; /* 114.286% */
    margin: 42px 0 16px;
}

#modalCorporateRequest .modal-dialog .modal-content .modal-body p,
#modalCorporateError .modal-dialog .modal-content .modal-body p {
    color: #fff;
    text-align: center;
    font-family: 'Gilroy', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px; /* 157.143% */
    margin-bottom: 42px;
}

#modalCorporateRequest .modal-dialog .modal-content .modal-body input,
#modalCorporateError .modal-dialog .modal-content .modal-body input{
    padding: 16px 0;
    padding-left: 44px;
    width: 100%;
    border-radius: 8px;
    border: 1px solid #fff;
    outline: none;
    font-family: 'Gilroy', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    background-color: transparent;
    margin-bottom: 9px;
}

#modalCorporateRequest .modal-dialog .modal-content .modal-body input::-moz-placeholder,
#modalCorporateError .modal-dialog .modal-content .modal-body input::-moz-placeholder {
    color: #ecedf0;
}

#modalCorporateRequest .modal-dialog .modal-content .modal-body input:-ms-input-placeholder,
#modalCorporateError .modal-dialog .modal-content .modal-body input:-ms-input-placeholder {
    color: #ecedf0;
}

#modalCorporateRequest .modal-dialog .modal-content .modal-body input::placeholder,
#modalCorporateError .modal-dialog .modal-content .modal-body input::placeholder {
    color: #ecedf0;
}

#modalCorporateRequest .modal-dialog .modal-content .modal-body input:focus,
#modalCorporateError .modal-dialog .modal-content .modal-body input:focus {
    outline: none;
}

#modalCorporateRequest .modal-dialog .modal-content .modal-body span,
#modalCorporateError .modal-dialog .modal-content .modal-body span {
    margin-bottom: 58px;
    display: flex;
    justify-content: center;
    color: #ecedf0;
    font-family: 'Gilroy', sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

@media (min-width: 576px) {
    #modalCheckout .modal-dialog {
        min-width: 628px;
    }
}