/* Rishi Foundation Payment Gateway Styles */

/* Message styles */
.rf-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
}

.rf-message-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.rf-message-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Loading state */
input[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.rf-payment-form .main {
    display: flex; 
    padding: 5% 8%; 
    width: 100%; 
    box-sizing: border-box;
    flex-direction: column;
    background: #F4F9FF;    
    font-family: 'Poppins' !important;
}

.rf-payment-form .main .banner {
    display: flex; 
    width: 100%;
}

.rf-payment-form .main .banner img {
    width: 100%;
}

.rf-payment-form .main .form {
    display: flex; 
    flex-direction: row; 
    padding: 3% 0%; 
    box-sizing: border-box;    
    gap: 60px;     
    padding-bottom: 40px;
}

.rf-payment-form .main .form .left {
    display: flex; 
    flex-direction: column; 
    flex-basis: 45%; 
    padding: 0%; 
    color: #fff;    
    padding-top: 0;
}

.rf-payment-form .main .form .left .box h3 {
    font-size: 20px; 
    font-style: normal; 
    font-weight: 600; 
    line-height: 27px; 
    margin: 0;
    color: #000;
    padding-top: 10px;
}

.rf-payment-form .main .form .left .box {
    display: flex; 
    flex-direction: column; 
    padding: 20px 0px; 
    border-bottom: 1px outset; 
    gap: 10px;    
    padding-bottom: 10px;
}

.rf-payment-form .main .form .left .box p {
    font-size: 15px; 
    font-style: normal; 
    font-weight: 400; 
    line-height: 24px; 
    margin: 0; 
    color: #000; 
}

.rf-payment-form .main .form .left .box ul {
    padding-left: 25px; 
    display: flex; 
    flex-direction: column; 
    gap: 5px; 
    font-size: 16px;
}

.rf-payment-form .main .form .left .box:nth-child(4) {
    border-bottom: unset;
}

.rf-payment-form .main .form .right {
    display: flex; 
    flex-direction: column; 
    flex-basis: 55%; 
    box-sizing: border-box;
}

.rf-payment-form .main .form .right form .box {
    display: flex; 
    flex-direction: column; 
    padding: 20px 0px; 
    box-sizing: border-box; 
    gap: 20px;
}

.rf-payment-form .main .form .right form .box h2 {
    margin: 0;
}

.rf-payment-form .main .form .right form .box .amount-list {
    display: flex; 
    gap: 25px; 
    box-sizing: border-box; 
    align-items: center;    
    padding: 5px 0px;
}

.rf-payment-form .main .form .right form .box .amount-list .amount {
    display: flex; 
    gap: 8px; 
    box-sizing: border-box;
    justify-content: center;
}

.rf-payment-form .main .form .right form .box .amount-list .amount input {
    margin: 0; 
    font-size: 22px; 
    font-style: normal; 
    font-weight: 600; 
    line-height: 12px;
}

.rf-payment-form .main .form .right form .box .amount-list .amount label {
    font-size: 22px; 
    font-style: normal; 
    font-weight: 600; 
    line-height: 12px;
    padding: 20px 35%;
}

.rf-payment-form .main .form .right form .box .amount-list .amount.hide,
.rf-payment-form .main .form .right form .box .other-custom.hide {
    display: none;
}

.rf-payment-form .main .form .right form .box .amount-list .amount.show,
.rf-payment-form .main .form .right form .box .other-custom.show {
    display: flex;
}

.rf-payment-form .main .form .right form .box .other-custom {
    transition: 0.3s all ease-in-out;
}

.rf-payment-form .main .form .right form .box .other-custom input {
    background: #FFF; 
    box-shadow: 2px 4px 18px 0px rgba(0, 0, 0, 0.12); 
    width: 100%; 
    margin-top: 5px; 
    color: #565656; 
    font-family: Poppins; 
    font-size: 16px; 
    font-style: normal; 
    font-weight: 400; 
    line-height: 12px; 
    padding: 15px 25px; 
    display: flex; 
    border-radius: 5px; 
    border: 1px solid #69727D; 
    outline: none;
}

.rf-payment-form .main .form .right form .personal .on-line {
    display: flex; 
    gap: 20px; 
    padding: 10px 0px; 
    width: 100%; 
    box-sizing: border-box;
}

.rf-payment-form .main .form .right form .personal {
    display: flex; 
    flex-direction: column; 
    gap: 5px; 
}

.rf-payment-form .main .form .right form .personal .on-line input {
    width: 100%; 
    border: 1px solid #E9E9E9; 
    font-size: 15px; 
    font-style: normal; 
    font-weight: 400; 
    line-height: 12px; 
    color: #000; 
    padding: 20px 20px;
    outline: none;
    border-radius: 5px; 
    border: 1px solid #69727D;
    color: #565656;
}

.rf-payment-form .main .form .right form .submit {
    display: flex; 
    flex-direction: row; 
    gap: 30px; 
    align-items: center;    
    justify-content: center;
}

.rf-payment-form .main .form .right form .submit input {
    border-radius: 3px; 
    background: #5e81ac;
    border: none; 
    color: #fff; 
    font-size: 17px; 
    font-style: normal; 
    font-weight: 700; 
    line-height: 12px; 
    padding: 20px 40px;
    cursor: pointer;
}

.rf-payment-form .main .form .right form .submit label {
    color: #000; 
    font-size: 24px; 
    font-style: normal; 
    font-weight: 700; 
    line-height: 25px;
}

.rf-payment-form .main .form .right select {
    width: 50%;
}

.rf-payment-form .main .bottom {
    display: flex; 
    gap: 50px; 
    background: #69727D; 
    padding: 4%; 
    color: #fff; 
    align-items: center; 
    box-sizing: border-box;
}

.rf-payment-form .main .bottom p {
    font-size: 17px; 
    font-style: normal; 
    font-weight: 400; 
    line-height: 27px; 
    margin: 0; 
}

.rf-payment-form .main .bottom h3 {
    margin: 0; 
    font-size: 20px; 
    font-style: normal; 
    font-weight: 700; 
    line-height: 27px;
}

.rf-payment-form .main .bottom div {
    display: flex; 
    width: 30%; 
    gap: 15px; 
    flex-direction: column; 
    padding-right: 30px; 
    position: relative; 
    justify-content: flex-start; 
    border-right: 1px outset;
}

.rf-payment-form .main .bottom div:nth-child(3) {
    border-right: unset;
}

.rf-payment-form .main .form .left .box h2 {
    font-size: 35px; 
    font-style: normal; 
    font-weight: 300; 
    line-height: 30px; 
    margin: 0; 
    color: #000; 
    padding: 10px 0px;
}
 
.rf-payment-form .main .form .right .amount-box,
.rf-payment-form .main .form .right .personal-box {
    background: #fff; 
    padding: 4%; 
    box-sizing: border-box;
    box-shadow: 2px 4px 18px 0px rgba(0, 0, 0, 0.12);
}

.rf-payment-form .main .form .right .amount-box .sub {
    font-size: 40px; 
    font-style: normal; 
    font-weight: 600; 
    line-height: 35px; 
    color: #69727D; 
    margin: 0; 
    padding-bottom: 20px;
    padding-bottom: 5px;
}
 
.fs-18 {
    font-size: 18px !important;
} 

.pt-10 {
    padding-top: 10px;
}

.pt-0 {
    padding-top: 0 !important;
}

.rf-payment-form .main .form .right form .box .amount-list .amount input {
    opacity: 0;
    height: 0;
    width: 0;
}

.rf-payment-form .main .form .amount-box p {
    color: #69727D; 
    font-family: Poppins; 
    font-size: 16px; 
    font-style: normal; 
    font-weight: 300; 
    line-height: 22px; 
    max-width: 100%;
}

.rf-payment-form .main .form .right form .amount-box .box #innerhead {
    margin: 0; 
    color: #69727D; 
    font-size: 20px; 
    font-style: normal; 
    font-weight: 600; 
    line-height: 18px; 
}

.rf-payment-form .main .form .right form .box .amount-list .amount {
    border-radius: 4px;
    background: #fff; 
    gap: 0; 
    color: #000; 
    border: 1px solid #69727D;
    cursor: pointer; 
    box-shadow: 2px 4px 10px 0px rgba(0, 0, 0, 0.20);    
    width: 32%;
    transition: 0.3s all ease-in-out;
}

.rf-payment-form .main .form .right form .box .amount-list .amount.active {
    background: #5e81ac;
    color: #fff;
}

.rf-payment-form .main .form .right form {
    display: flex; 
    flex-direction: column; 
    gap: 40px;
}

.rf-payment-form .main .form .right .personal-box .sub {
    color: #69727D; 
    font-family: Poppins; 
    font-size: 20px; 
    font-style: normal; 
    font-weight: 600; 
    line-height: 25px;
    padding-bottom: 15px;    
    margin: 0;
}

.rf-payment-form .main .form .right form .personal .on-line input.w-100 {
    width: 100% !important;
}

.rf-payment-form .main .form .right form .personal .label {
    color: #565656; 
    font-size: 16px; 
    font-style: normal; 
    font-weight: 400; 
    line-height: 24px;
    padding: 5px 0px 30px 0px; 
    border-bottom: 1px solid #69727D;
}

.rf-payment-form .main .form .right form .dec p {
    color: #69727D; 
    text-align: center; 
    font-family: Poppins; 
    font-size: 16px; 
    font-style: normal; 
    font-weight: 600; 
    line-height: 25px; 
    max-width: 500px;
}

.rf-payment-form .main .form .right form .dec {
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 25px 0px;
}

.rf-payment-form .main .bottom {
    background: #FFF; 
    box-shadow: 2px 4px 18px 0px rgba(0, 0, 0, 0.12); 
    color: #000; 
    align-items: flex-start;    
    padding: 3%;
}

.rf-payment-form .main .form .right .amount-box .sub {
    font-size: 30px;
    padding-bottom: 8px;
}

.rf-payment-form .main .form .right .amount-box {
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
}

.box-container {
    padding-top: calc(20px + 4%);
}

.rf-payment-form .main .form .right form .personal .form-group {
    display: flex; 
    flex-direction: column; 
    gap: 5px;
    width: 100%;
}

.rf-payment-form .main .form .right form .personal .on-line .form-group {
    width: 50%;
}



/* Responsive Design */
@media only screen and (max-width: 1200px) and (min-width: 821px) {
    .rf-payment-form .main .form .left {
        max-width: 40%;
    }   
}

@media screen and (max-width: 820px) {
    .rf-payment-form .main .form {
        flex-direction: column;
        gap: 0;
    }
    
    .rf-payment-form .main .bottom {
        flex-direction: column;
        gap: 0;
        padding: 30px;
    }
    
    .rf-payment-form .main .bottom div {
        width: 100%;
        border-right: unset;
        gap: 10px;
        padding-bottom: 25px;
    }
    
    .rf-payment-form .main .form .left {
        padding: 5%;
        max-width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .rf-payment-form .main .form .right form .box .amount-list,
    .rf-payment-form .main .form .right form .submit {
        flex-direction: row; 
        align-items: baseline;
        gap: 15px;
    }
    
    .rf-payment-form .main .form .right form .box {
        padding: 0%;
    }
    
    .rf-payment-form .main .form .right form .box .other-custom input {
        width: 100%;
    }
    
    .rf-payment-form .main .form .right form .personal .on-line {
        flex-direction: column;
    }
    
    .rf-payment-form .main .form .right form .personal .on-line input {
        width: 100%;
    }
    
    .rf-payment-form .main .form .left {
        padding: 0%;
    }
    
    .rf-payment-form .main .form .right .amount-box, 
    .rf-payment-form .main .form .right .personal-box {
        padding: 25px;
    }
    
    .rf-payment-form .main .form .right form .box .amount-list .amount label {
        font-size: 18px; 
        padding: 25px 18%; 
    }
    
    .rf-payment-form .main .form .right form .dec {
        padding-top: 0;        
        padding-bottom: 10px;
    }
    
    .rf-payment-form .main .form .right form .submit {
        flex-direction: column-reverse; 
        justify-content: center; 
        align-items: center;
    }
    
    .rf-payment-form .main .form .right select {
        width: 100%;
    }
    
    .rf-payment-form .main .form .right form .personal .on-line .form-group {
        width: 100%;
    }
} 