/* Resubmit mode: hide fees and payment */
.scholars-resubmit-mode .summary-fees,
.scholars-resubmit-mode #step3-fee-summary,
.scholars-resubmit-mode .scholars-payment-section {
    display: none !important;
}

.membership-plan-readonly {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 24px;
}
.membership-plan-readonly .readonly-field-label {
    margin: 0 0 8px;
    font-size: 13px;
    color: #64748b;
}
.membership-plan-readonly .readonly-field-value {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}
.scholars-readonly-input,
input[readonly].scholars-readonly-input {
    background: #f1f5f9 !important;
    color: #475569 !important;
    cursor: not-allowed;
}

/* Scholars Registration Form - Modern UI */
body.rtl .scholars-registration-wrapper,
body.rtl .reg-form-main-header,
body.rtl .reg-form-step-header,
body.rtl .step-label,
body.rtl .form-field label,
body.rtl .fee-card h3
{
    font-family: 'cairo';
}
.scholars-registration-wrapper{
    font-family:'Inter' ;
}
.scholars-error {
    background: #fef2f2;
    border-left: 4px solid #dc2626;
    padding: 12px;
    margin-bottom: 20px;
    color: #b91c1c;
}
input:invalid, select:invalid {
    border-color: #dc2626;
}
.reg-form-main-header{
    text-align: center;
    font-size: 38px;
    color:#031F23;
    font-family: 'Manrope';
    font-weight: 500;
    margin-bottom: 12px;
}
.reg-form-sub-header{
    text-align: center;
    color: #354041;
    max-width: 600px;
    margin: auto;
    margin-bottom: 70px;
    font-size: 18px;
}
.reg-form-step-header{
    font-size: 18px;
    color:#031F23;
    font-family: 'Manrope';
    font-weight: 600;
    margin-bottom: 6px;
}
.reg-form-step-sub-header{
    color: #354041;
    font-size: 16px;
    margin-bottom: 30px;
}
.scholars-registration-wrapper {
    max-width: 680px;
    margin: auto;
}
.registration-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a2b3e;
}
.registration-subtitle {
    color: #5a6874;
    margin-bottom: 40px;
}
.steps-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    /* border-bottom: 1px solid #e2e8f0; */
    padding-bottom: 10px;
    position: relative;
}
.steps-indicator::before{
    content: "";
    position: absolute;
    left: 30px;
    right: 30px;
    z-index: -1;
    height: 1px;
    background-color: #D9D9D9;
    top: 12px;
}
.step-item {
    /* flex: 1; */
    text-align: center;
    position: relative;
    /* cursor: pointer; */
}
.step-number {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    border-radius: 50%;
    background: #fff;
    color: #72797A;
    margin-right: 8px;
    border: 1px solid #D9D9D9;
}
.step-item.active .step-number {
    background: #109BB0;
    color: white;
}
.step-label {
    font-weight: 500;
    display: block;
    font-family: 'Manrope';
    color: #72797A;
    margin-top: 10px;
    font-weight: 500;
}
.step-item.active .step-label{
    color:#109BB0
}
.form-step {
    display: none;
    animation: fadeIn 0.3s ease;
}
.form-step.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px);}
    to { opacity: 1; transform: translateY(0);}
}
.form-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.reg-form {
    background: #fff;
    border: 1px solid #D9D9D9;
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 70px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .1);
}
.membership-plans .membership-plans-container{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 38px;
}

.membership-plans .membership-plans-container .plan-card {
    flex: 1;
    padding: 24px 10px;
    background: white;
    border-radius: 8px;
    border: 1px solid #D9D9D9;
    cursor: pointer;
    transition: all 0.2s;
    margin: 8px;
    display: block;
    text-align: center;
    position: relative;
}
.plan-card.selected {
    border-color: #109BB0!important;
    background: rgba(16 ,155, 176 , .08)!important;
}
.plan-card.selected *{
    color: #109BB0!important;
}
.plan-card input {
    position: absolute;
    top: 9px;
    right: 9px;
}
.plan-info strong {
    display: block;
    font-size: 16px;
    color: #354041;
    font-family: 'Manrope';
    font-weight: 600;
    padding-bottom: 10px;
}
.plan-info span {
    color: #72797A;
    font-weight: 600;
    font-size: 14px;
    font-family: 'Manrope';
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}
.form-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 10px;
    color: #354041;
    font-family: 'Manrope';
    font-size: 16px;
}
.form-field input, .form-field select {
    width: 100%!important;
    padding:16px 8px!important;
    border: 1px solid #D9D9D9!important;
    border-radius: 8px!important;
    font-size: 16px;
    color: #000;
}
.step-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
}
.mb-15{
    margin-bottom: 15px;
}
.step-buttons button.next-step , .step-buttons #submit-registration {
    background: #F4F4F4;
    color: #72797A;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    border: 1px solid #E6E9E9;
    width: 100%;
    margin: 2px;
}
.step-buttons2 button.next-step , .step-buttons #submit-registration{
    width: auto!important;
    margin-left: 10px;
    background-color: #0D7C8D!important;
    color: #fff!important;
}
.step-buttons2{
    justify-content: flex-end!important;
}
.step-buttons button.prev-step{
    border: 1px solid #D9D9D9;
    color: #354041;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.entry-title{
    color: #109BB0;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}
.save-credentials-btn {
    margin-top: 15px;
    font-weight: 600px;
    width: 100%!important;
    background-color: #f0f4f8!important;
    color: #0D7C8D!important;
    border: 1px solid #cbd5e0!important;
    padding: 12px 10px!important;
    font-size: 16px!important;
    border-radius: 50px!important;
    border-color: #0D7C8D!important;
    background: rgba(16 ,155, 176 , .12)!important;
}
.save-credentials-btn:hover {
    background-color: #e2e8f0!important;
}
.credentials-list {
    margin: 20px 0;
}
.credential-card {
    background: #f8fafc;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.credential-summary {
    flex: 1;
}
.credential-actions button {
    margin-left: 10px;
    background: none!important;
    border: none;
    color: #2c7da0!important;
    cursor: pointer;
}
.credential-actions button:hover {
    text-decoration: underline;
}
.cancel-editor{
    background: none!important;
    border: none!important;
    color: #e53e3e!important;
    cursor: pointer!important;
}
.add-more-line{
    display: block;
    position: relative;
    text-align: center;
    z-index: 1;
    margin-top: 30px;
    margin-bottom: 25px;
}
.add-more-line::before{
    content: "";
    position: absolute;
    left: 0px;
    right: 0px;
    z-index: -1;
    height: 1px;
    background-color: #D9D9D9;
    top: 12px;
}
.add-more-line span{
    background-color: #fff;
    padding: 10px 15px;
    text-transform: uppercase;
}
#add-more-credential {
    background: #FAFAFA;
    border-radius: 8px;
    border: 1px dashed #D9D9D9;
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px 6px;
    color: #2d3748;
    color: #72797A;
    font-weight: 500;
}
.step-buttons button:hover {
    background: #109BB0;
    color: #fff;
}
.academic-editor{
    background: #FAFAFA;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 2px solid #109BB0;
}
.remove-entry{
    border-color: red!important;
    color: red!important;
}
.remove-entry:hover{
    background-color: red!important;
}
.academic-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}
.documents-section{
    border-radius: 8px;
    border: 1px solid #D9D9D9;
    padding: 16px;
    margin-bottom: 24px;
}
.documents-section-title{
    display: flex;
    align-items: center;
    justify-content: space-between;
     margin-bottom: 20px;
}
.documents-section-title span{
    padding: 6px 15px;
    border-radius: 30px;
    color: #FF4840;
    background-color: #FFE7E6;
    font-size: 12px;
    font-weight: 600;
}
.file-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 0 12px;
    background: white;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    flex-wrap: wrap;
}
.file-uploaded{
    line-height: 23px;
}
.file-row input{
    direction: rtl;
}
.file-row input::file-selector-button , .file-row input::-webkit-file-upload-button {
    background: #F4F4F4;
    border: 0;
    border-left: 1px solid #D9D9D9;
    color: #031F23;
    padding: 15px 18px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: 0.3s;
}

.file-row input::file-selector-button:hover {
    background: #D9D9D9;
}
.file-row label {
    width: 180px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
}
.file-row label strong{
    line-height: 25px;
    color: #354041;
    font-size: 16px;
    font-weight: 600;
    display: block;
}
.file-row label svg{
    margin-right: 6px;
    margin-top: -2px;
}
.upload-progress {
    background: #e6f7ff;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: right;
}
.summary-section {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
}
.fee-card {
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #D9D9D9;
    position: relative;
}
.fee-card h3{
    color: #031F23;
    font-family: 'Manrope';
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}
.fee-card span{
    font-size: 14px;
    font-weight: 500;
    color: #354041;
    display: block;
}
.fee-card strong {
    font-size: 14px;
    font-weight: bold;
    color: #031F23;
    padding-left: 20px;
}
.fee-card small{
    font-size: 12px;
    font-weight: 500;
    color: #72797A;
    display: block;
}
.dd-flex{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.terms-checkbox {
    display: block;
    margin-top: 20px;
    color: #72797A;
    font-size: 14px;
    font-weight: 600;
    line-height: 30px;
    /* max-width: 410px; */
}
.terms-checkbox a{
    color: #031F23;
}
/* Step 4 Summary Styling */
/* .summary-sections {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
} */
 .info-sec-title{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 20px;
 }
 .info-sec-title h3{
    font-size: 16px;
    color: #031F23;
    font-family: 'Manrope';
    font-weight: 600;
    margin: 0;
 }
  .info-sec-title svg{
    margin-right: 10px;
  }
 .info-sec-title span{
    display: block;
    color: #72797A;
    font-size: 13px;
 }
.summary-sectionn {
    margin-bottom: 25px;
    padding: 16px;
    border: 1px solid #D9D9D9;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.info-section-content{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.info-section-content p{
    padding: 5px;
    width: 33.3%;
}
.info-section-content span{
    display: block;
    color: #72797A;
    font-size: 13px;
}
.info-section-content strong{
    font-size: 16px;
    color: #031F23;
    font-family: 'Manrope';
    font-weight: 600;
    word-break: break-all;
}
.section-header h3 {
    font-size: 12px;
    font-weight: 600;
    margin: 0;
    color: #72797A;
    text-transform: uppercase;
}
.summary-edit-link{
    background-color: #FAFAFA;
    border: 1px solid #D9D9D9;
    color: #031F23;
    font-weight: 500;
    font-size: 16px;
    padding:6px 24px;
    border-radius: 8px;
}
.summary-certificate-row{
    margin-bottom: 25px;
    padding: 16px;
    border: 1px solid #D9D9D9;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.summary-certificate-row svg{
    margin-right: 10px;
}
.summary-certificate-row p{
    font-size: 16px;
    color: #031F23;
    font-family: 'Manrope';
    font-weight: 600;
    margin: 0;
}
.summary-certificate-row span{
    display: block;
    color: #72797A;
    font-size: 13px;
}
.documents-summary-section{
    list-style: none;
    padding: 0;
    margin: 0;
}
.documents-summary-section li{
    margin-bottom: 12px;
    padding: 16px;
    border: 1px solid #D9D9D9;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.documents-summary-section li h3{
    line-height: 25px;
    color: #354041;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}
.documents-summary-section li span{
    display: block;
    color: #72797A;
    font-size: 13px;
    word-break: break-all;
}
.mt-40{
    margin-top: 40px;
}
.mb-20{
margin-bottom: 20px;
}
.documents-summary-section li svg{
    margin-right: 10px;
}
.edit-link {
    color: #2c7da0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}
.edit-link:hover {
    text-decoration: underline;
}
.section-content {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.5;
}
.section-content h4 {
    font-size: 15px;
    font-weight: 600;
    margin: 12px 0 6px 0;
    color: #2d3748;
}
 .scholars-payment-section { margin: 20px 0; padding: 15px; border: 1px solid #ddd; background: #f9f9f9; }
        .scholars-payment-option { display: block; margin: 5px 0; }
        .payment-details { margin-top: 10px; padding: 10px; background: #fff; border: 1px solid #ccc; }
        .payment-details input { width: 100%; margin-bottom: 10px; }
.scholars-payment-section {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 12px;
}
.scholars-payment-section h3 {
    margin-top: 0;
    color: #109bb0;
    font-size: 18px;
}
.scholars-payment-option {
    display: block;
    margin: 8px 0;
    cursor: pointer;
}
.scholars-payment-option input {
    margin-right: 8px;
}
.scholars-payment-details {
    margin-top: 15px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}
.payment-details label {
    display: block;
    font-weight: 500;
    margin: 10px 0 5px;
}
.payment-details input {
    width: 100%;
    padding: 8px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
}
/* .section-content ul {
    margin: 0 0 10px 20px;
    padding: 0;
} */
/* .section-content li {
    margin-bottom: 4px;
} */

/* Login form style */
.scholars-login-form {
    max-width: 400px;
    margin: 40px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}
.scholars-login-form input[type="text"],
.scholars-login-form input[type="password"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
}
.scholars-login-form input[type="submit"] {
    background: #2c7da0;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}
.scholars-notice{
    text-align: center;
    padding: 70px 0;
}
/* MEDIA QUERY */
@media (max-width: 991px) {
    .info-section-content{
        flex-wrap: wrap;
    }
    .info-section-content p{
        width: 50%;
    }
}

@media (max-width: 767px) {

    .info-section-content{
        display: block;
    }
    .info-section-content p{
        width: 100%;
        margin: 0;
    }
    .reg-form {
        background: transparent;
        border: none;
        padding: 0px;
        box-shadow: none;
    }
    
    .summary-sectionn , .documents-section{
        background-color: #fff;
    }
    .step-label {
        transform: rotate(90deg);
        margin-top: 50px;
    }
    .membership-plans .membership-plans-container .plan-card{
        width: calc((100% - 32px) / 2 );
        flex:none
    }
    .membership-plans .membership-plans-container {
        flex-wrap: wrap;
    }
    .personal-details , .membership-plans , .ac-cer{
        background-color: #fff;
        padding: 15px;
        border-radius: 8px;
        margin-bottom: 20px;
    }
    .form-row{
        display: block;
    }
    .form-field{
        margin-bottom: 20px;
    }
    .reg-form-main-header {
        font-size: 25px;
    }
    .reg-form-sub-header{
        font-size: 16px;
    }
    .file-row input {
        margin-top: 20px;
        border-top: 1px solid #e2e8f0;
        direction: ltr;
        margin-left: -12px;
		width:100%
    }
    .file-row {
        padding-top: 15px;
    }
}