
.payment-contant_container{
    margin-top: 40px;
}
.payment-form{
    display: grid;
    gap: 40px;
}

.payment-button{
    border-radius: 3px;
    background: var(--white);
    display: flex;
    width: 100%;
    padding: 14px 55px;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    font-size: 20px;
    border: none;
    white-space: nowrap;
    cursor: pointer;
    transition: 0.3s;
}
.payment-button:hover,
.payment-button.active{
    background: var(--main-yellow);
}
.payment_form-rowfour{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.payment-tab_container.payment_form-rowfour{
    gap: 12px;
}
.payment_form-rowthree{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
input, 
.payment_form-select{
    width: 100%;
    padding: 16px;
    border-radius: 3px;
    border: 1px solid var(--line-color);
    background: var(--white);
}
.item-full {
    grid-column: 1 / -1; 
    margin-top: 40px;
}

.payment_form-label{
    color: var(--text-color);
    font-size: 12px;
    font-weight: 400;
}
.select2-container .select2-selection--single {
    height: 100%;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    padding: 16px;
}
.payment-contant{
    display: none;
    opacity: 0;
    transition: linear 0.3s;
    animation: fadeOut 0.63s ease-out;
}
.payment-contant.show{
    display: block;
    opacity: 1;
    animation: fadeIn 0.3s ease-in;
}
/*input[type='checkbox'] {*/
/*    appearance: none;*/
/*    -webkit-appearance: none;*/
/*    -moz-appearance: none;*/
/*    width: 20px;*/
/*    height: 20px;*/
/*    outline: none;*/
/*    cursor: pointer;*/
/*}*/

/*input[type='checkbox']:checked{*/
/*    background: url('../img/ico/material-symbols_check-small.svg') center;*/
/*}*/
input[type='checkbox'] {

    appearance: none;

    -webkit-appearance: none;

    -moz-appearance: none;

    width: 20px;

    height: 20px;

    outline: none;

    cursor: pointer;

    position: relative;

}



input[type='checkbox']::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: url('../img/ico/material-symbols_check-small.svg') center;

    opacity: 0;

    pointer-events: none;

}


input[type='checkbox']:checked::before {
    opacity: 1;

}
.accept {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 140px;
}
.accept .main-button{
    width: 100%;
    margin-top: auto;
}
#accept {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 24px;
    align-items: center;
}
.accept-checkbox__title {
    font-size: 16px;
}


/* payment page css */
.tab-content__details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.details-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.details-row__left h3 {
    font-weight: 700;
}
.copy {
    display: flex;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s ease;
}
.copy:hover {
    color: #589BC6;
    
} 
.copy svg path {
    transition: 0.6s;
}
.copy:hover svg path {
    fill: #589BC6;
}

.copy .copy-text {
    margin: 0 0 0 8px;
    cursor: pointer;
}
.copied-text.golden-text {
    color: #FCCA01;
}
.copied-text {
     font-family: 'Mulish', sans-serif; 
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 50%;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    top: 0;
}
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--main-yellow);
}
input.error {
    border-color:#D41C1C;
}
input.validated {
    border-color: #05BB6F;;
}

@media screen and (max-width: 1200px) {
    /* .details-row__right {
        display: none;
    } */
    .tab-content__details {
        gap: 24px;
    }
    .accept-checkbox__title {
        font-size: 14px;
    }
    input, 
    .payment_form-select {
        padding: 12px;
        font-size: 14px;
    }
}
@media screen and (max-width: 992px) {
    .payment-button {
        padding: 14px 20px;
    }
}

@media screen and (max-width: 576px) {
    .tab-content__details {
        gap: 24px;
    }
	.payment-contant-swift.show {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 24px !important;
	}
	.details-row {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
	}
	.copy {
		padding: 0;
	}
    .payment-button {
        padding: 8px;
        font-size: 12px;
    }
    .payment_form-rowfour {
        grid-template-columns: repeat(2, 1fr);
    }
    .payment_form-rowthree {
        grid-template-columns: 1fr;
    }
    .form-rows.accept {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .accept-checkbox__title {
        font-size: 12px;
    }
    #accept {
        grid-template-columns: 30px 1fr;
        gap: 16px;
    }
    input, 
    .payment_form-select,
    .select2-results__option--selectable {
        font-size: 12px;
    }
    .select2-container .select2-selection--single .select2-selection__rendered{
        padding: 8px 12px;
        font-size: 12px;
    }
}



/* POPUP */
.payment-popup{
    padding: 120px 33px 33px 33px;
    width: 570px;
    border-radius: 3px;
    background: var(--white);
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.25);
    overflow-y: scroll;
    max-height: 90vh;
    scrollbar-width: thin;
}

.payment-popup::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-thumb {
    background: #a5a4a4; 
}
  
.popup-container .tab-content__details {
    gap: 16px;
}
.popup-container .payment-button{
    padding: 8px;
    font-size: 12px;
    border: 1px solid var(--grey, #E2E2E2);
}
.popup-container .payment_form-rowfour {
    grid-template-columns: repeat(2, 1fr);
}
.popup-container .payment_form-rowfour.payment-sum{
    grid-template-columns: repeat(4, 1fr);
}
.popup-container .form-rows.accept {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}
.popup-container .accept-checkbox__title {
    font-size: 12px;
}
.popup-container #accept {
    grid-template-columns: 30px 1fr;
    gap: 16px;
}
.popup-container input, 
.popup-container .payment_form-select,
.popup-container .select2-results__option--selectable {
    font-size: 12px;
}
.popup-container .select2-container .select2-selection--single .select2-selection__rendered{
    padding: 8px 12px;
    font-size: 12px;
}
.popup-container .payment-form{
    gap: 24px;
}

.popup-blue_label{
    background-color: var(--main-blue);
    border-radius: 0 0 3px 3px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    max-height: 100px;
    max-width: 80%;
}
.popup-blue_label h2{
    color: var(--white);
    width: 90%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.close-button{
    position: absolute;
    top: 14px;
    right: 14px;
    background-color: transparent;
    border: none;
    color: var(--text-color);
}

.popup-container .item-full {
    margin-top: 0px;
}
.payment-popup .project-info__progress {
    margin-bottom: 24px;
}

.popup.payment-popup h3{
    font-size: 20px;
}
.popup.payment-popup .copy-text{
    font-size: 14px;
}

.popup.payment-popup .main-button{
    margin: 0 auto;
}

@media screen and (max-height: 900px) {
    .popup.payment-popup.open {
        transform: translate(-50%, 102vh);
    }
}

@media screen and (max-width: 576px) {

    .payment-popup{
        padding: 93px 16px 16px 16px;;
        max-width: 570px;
        border-radius: 3px;
        width: 100vw;
    }
    .payment-popup  .payment_form-rowthree {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .payment-popup .project-info__progress .progress-bar{
        display: none;
    }
    .popup.payment-popup.open{
        transition-duration: 1s;
        height: 90vh;
        box-sizing: border-box;
    }
    .close-button {
        right: 6px;
    }
}


  