.membership-register-container {
	position: relative;
	padding-top: 60px;
	padding-bottom: 60px;
	background-color: #F7F7F7;
}
.donation-container {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}
.reg-form-step {
    display: none;
}
.paymentMode {
	display: none;
}
.reg-form-step.active {
    display: block;
	justify-items: center !important;
}
p.registration-desc {
    font-family: 'Lora';
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    background: #fff;
    padding: 20px 40px;
    border-radius: 8px;
    border-left: 5px solid #8B0000;
	margin-bottom: 30px;
}
.reg-form-step h2 {
    text-align: center;
    font-family: 'Lora';
    font-weight: 700;
    font-size: 40px;
    margin-bottom: 40px;
}

/* Membership Options */
.membership-options {
	display: flex;
	flex-wrap: wrap;
	gap: 40px 0;
	place-content: center;
	width: 100%;
    margin-right: -20px;
/*     margin-left: -20px; */
}

.membership-options > * {
    flex: 0 0 auto;
    width: 25%;
    padding-right: 20px;
    padding-left: 20px;
}

.membership-card {
	border-top: 8px solid #8B0000;
	border-radius: 8px;
	padding: 20px;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s ease;
	background: #fff;
	height: 100%;
	box-shadow: 0px 4px 16px 0px #0000001F;
	display: flex;
    flex-direction: column;
}

.membership-card:hover {
    border-color: #8B0000;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(139,0,0,0.1);
}

.membership-card.selected {
    border-color: #8B0000;
    background: #fff5f5;
}
.membership-card h3 {
    color: #2B2B2B;
    margin-bottom: 15px;
    font-size: 22px !important;
    font-family: 'Lora';
    font-weight: 700;
    min-height: 44px;
}
.membership-card .price {
    color: #8B0000;
    font-size: 28px;
    font-weight: bold;
    margin: 10px 0;
    font-family: 'Manrope';
    font-weight: 700;
	line-height: 20px;
}
.membership-card .price .period {
    font-size: 20px;
    color: #2B2B2B;
    font-family: 'Manrope';
    font-weight: 500;
}
.membership-card .description {
    font-size: 14px;
    color: #4A5565 !important;
    font-family: 'Manrope';
    font-weight: 500;
    line-height: 1.6;
/*     min-height: 120px; */
	min-height: 80px;
    margin-bottom: 15px;
}

.membership-card .btn-register {
    background: #FFF;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Manrope';
    font-weight: 600;
    color: #9B1B1B;
    border: 1px solid #9B1B1B;
    transition: background 0.3s;
}
.membership-card .btn-register:hover {
    background: #9B1B1B;
	color: #FFF;
}
.membership-name {
    display: flex;
    flex-direction: column;
    gap: 0px;
    height: 100%;
}
textarea#additional_note {
    height: 110px;
}
.paymentMode.bank-transfer-action h3 {
    font-size: 24px;
    font-family: 'Manrope';
    font-weight: 600;
}
/* Form Elements */
.form-step-wrap input[type="text"] {
    font-size: 14px;
	border-radius: 6px;
}
.form-step-wrap #registration-form-step2 {
    margin-top: 40px;
}
.form-step-wrap #registration-form-step3 {
    margin-top: 40px;
}
.selected-plan {
    color: #9B1B1B;
    font-weight: 400;
    font-family: 'Manrope';
    font-size: 16px;
    margin-bottom: 5px;
    text-align: center;
}
.small-input input[type=text]:first-child {
 width: 50%;
}
 
.small-input .field-wrapper:first-child{
 width: 60%;
}
 
.small-input .field-wrapper:first-child input[type=text] {
 width: 100%;
}
 
.form-row .field-wrapper input[type=text] {
 width: 100%;
}
.form-step-wrap {
	border: 2px solid #9B1B1B33;
	padding: 40px;
	background: #FFF;
	min-width: 800px;
	margin: 0 auto;
	border-radius: 12px;
}
.form-step-wrap h2 {
    font-weight: 700;
    font-size: 22px;
    line-height: 100%;
    font-family: 'Lora';
    text-align: center;
	color: #2B2B2B;
	margin-bottom: 15px;
}
.form-row {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 20px 20px;
/* 	margin-bottom: 20px; */
	margin-top: 20px;
}
.form-row-full {
    margin-top: 20px;
}
.form-row-full.mb-3 {
    margin-bottom: 0px !important;
}
.form-row .field-wrapper {
 width: 100%;
}

/*  .form-row-small {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 15px;
    margin-bottom: 15px;
}  
 */
.form-row-full textarea {
    height: 110px !important;
	border-radius: 6px;
	font-size: 14px;
}
#registration-form-step3 p {
    font-size: 14px;
	color: #4A5565;
}
.form-row input[type="text"],
.form-row input[type="date"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="password"],
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 12px;
	color: #4a5565;
    border: 1px solid #E6E7F5 !important;
    border-radius: 6px;
    font-size: 14px !important;
    transition: border-color 0.3s;
    box-sizing: border-box;
    background: #fff;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
/*     border-color: #8B0000; */
}
/* .form-step-wrap p {
    text-align: center;
    padding-right: 60px;
    padding-left: 60px;
	color: #4A5565;
} */

.form-row textarea {
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}

/* Password Strength */
.password-strength {
	margin: 10px 0 20px;
	max-width: 50%;
	margin-left: auto;
}

.strength-bar {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin-bottom: 5px;
    position: relative;
    overflow: hidden;
}
.strength-text {
    font-size: 12px;
    color: #4A5565 !important;
}
.strength-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: #ff4444;
    transition: width 0.3s, background 0.3s;
}

.strength-bar.weak::after {
    width: 33%;
    background: #ff4444;
}

.strength-bar.medium::after {
    width: 66%;
    background: #ffaa00;
}

.strength-bar.strong::after {
    width: 100%;
    background: #00aa00;
}

/* Radio Groups */
.radio-group {
    margin: 15px 0;
	font-size: 14px;
	color: #4A5565;
}

.radio-group label {
    margin-right: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.radio-group input[type="radio"] {
    margin-right: 5px;
    width: auto;
}

/* File Upload */
.file-upload {
    margin: 15px 0px 20px 0px;
}

.file-upload label {
    display: block;
    margin-bottom: 10px;
    font-weight: 400;
    font-size: 14px;
    color: #4A5565;
}
.upload-area {
    border: 2px dashed #ddd;
    border-radius: 4px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    
}

.upload-area:hover {
/*     border-color: #fafafa; */
    background: #fafafa;
}

.upload-area.has-file {
/*     border-color: #00aa00;
    background: #f0fff0; */
}

.upload-area input[type="file"] {
    display: none;
}

.upload-area p {
    margin: 0;
    color: #666;
	font-size: 14px;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-back,
.btn-continue,
.btn-home {
    flex: 1;
    padding: 12px 30px;
    border: 2px solid #8B0000;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.btn-back {
    background: white;
    color: #8B0000;
}

.btn-back:hover {
    background: #f5f5f5;
	color: #9B1B1B;
}
.btn-home {
	border-radius:8px;
}
.btn-continue,
.btn-home {
    background: #8B0000;
    color: white;
    border-color: #8B0000;
}

.btn-continue:hover,
.btn-home:hover {
    background: #a00000;
}

.btn-continue:disabled {
    background: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
}

/* Payment Section */
p.payment-note {
    font-family: 'Manrope';
    font-size: 16px;
    font-weight: 600;
    padding-right: 90px;
    padding-left: 90px;
}
.payment-details {
	color: #9B1B1B;
    border-radius: 4px;
	text-align: center;
}

#payment-content {
    margin: 20px 0;
	text-align: center !important;
}

#payment-content h3 {
    color: #2B2B2B;
    margin-bottom: 20px;
    font-family: Manrope;
    font-size: 16px;
    font-weight: 600;
}
.paymentMode.g-pay-action h3 {
    margin-top: 40px !important;
    margin-bottom: 40px !important;
}

.reg-form-step .qr-placeholder {
    text-align: center !important;
    margin: 0px; 
    width: auto;
    height: auto;
    background: none;
    display: block;
}
.reg-form-step .qr-placeholder p{
	font-size: 16px;
    font-family: 'Manrope';	
}

.qr-code-box {
    width: 200px;
    height: 200px;
    background: #F3F4F6;
    margin: 20px auto;
    display: flex;
	align-items: center !important;
    justify-content: center;
    border-radius: 4px;
	font-size: 16px;
    font-family: 'Manrope';
}
.qr-code-box h5{ 
	font-family: Manrope;
	font-size: 60px;
	font-weight: 400;
}
.bank-details {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px 20px;
    text-align: left;
}

.bank-details .col-row:first-child {
    grid-column: 1 / 3;
}
.bank-details .col-row p {
    margin-bottom: 5px;
	font-size: 14px;
	font-family: Manrope;
}
.bank-details .col-row h6{
	font-size: 16px;
	font-family: Manrope;
	font-weight: 500;
}
.address-box {
    background: #F9FAFB;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
    border-radius: 4px;
}
.address-box p {
    margin: 5px 0;
    color: #333;
}

.payment-form {
    background: #fff;
    padding: 20px;
    border: 2px solid #E6E7F5;
    border-radius: 12px;
    margin: 20px 0;
}

.payment-form input,
.payment-form textarea {
    margin-bottom: 15px;
}

.note {
    background: #9B1B1B0D;
    padding: 15px;
    border-left: 4px solid #9B1B1B;
    border-radius: 4px;
    margin: 20px 0;
	font-size: 14px;
	text-align: left;
    color: #0A0A0A !important;
}

/* Success Step */
.success-icon {
    width: 80px;
    height: 80px;
    background: #8B0000;
    color: white;
    font-size: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: scaleIn 0.5s ease-out;
}
p .success-msg {
    text-align: center;
	font-size: 16px !important;
	font-family: Manrope;
}
.reg-form-step.confirmation {
    align-items: center !important;
    text-align: center;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.registration-summary {
    background: #F9FAFB;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}
.registration-summary .registration-row {
    display: flex;
    flex-direction: column;
	margin-top: 30px;
}

.registration-summary .reg-col {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #E5E5E5;
}
.registration-success h5 {
    font-size: 16px;
    font-family: 'Manrope';
    font-weight: 400;
    color: #0A0A0A;
}
.registration-summary .reg-col p {
    font-size: 16px;
    font-family: 'Manrope';
}

/* Validation Errors */
.error {
    border-color: #ff4444 !important;
    background: #fff5f5;
}

.error-message {
    color: #ff4444;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* Loading State */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #8B0000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* Responsive Design */
@media(max-width: 1024px){
	.membership-options > * {
		flex: 0 0 auto;
		width: 33.33%;
		padding-right: 20px;
		padding-left: 20px;
	}
}
@media(max-width:980px){
	.form-step-wrap {
		border: 2px solid #9B1B1B33;
		padding: 40px;
		background: #FFF;
		min-width: 600px;
		margin: 0 auto;
		border-radius: 12px;
	}
}
@media(max-width:767px){
	p.registration-desc {
		padding: 20px 10px;
	}
	.form-step-wrap {
		border: 2px solid #9B1B1B33;
		padding: 40px;
		background: #FFF;
		min-width: 500px;
		margin: 0 auto;
		border-radius: 12px;
	}
}
@media (max-width: 768px) {
    .membership-form-container {
        padding: 10px;
    }
    
    .form-step {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .membership-options {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .membership-card h3 {
        min-height: auto;
    }
    
    .membership-card .description {
        min-height: auto;
    }
	.membership-options > * {
		flex: 0 0 auto;
		width: 50%;
		padding-right: 20px;
		padding-left: 20px;
	}
	.reg-form-step h2{
		font-size: 30px;
		line-height: 40px;
	}
	p.registration-desc {
		font-size: 18px;  
	}
}

@media (max-width: 480px) {
    .form-step {
        padding: 15px;
    }
    
    .membership-card {
        padding: 15px;
    }
    
    .btn-back,
    .btn-continue,
    .btn-home {
        padding: 10px 20px;
        font-size: 14px;
    }.membership-options > * {
		flex: 0 0 auto;
		width: 100%;
		padding-right: 20px;
		padding-left: 20px;
	}	
	.form-step-wrap {
		border: 2px solid #9B1B1B33;
		padding: 40px;
		background: #FFF;
		min-width: auto;
		margin: 0 auto;
		border-radius: 12px;
	}	
}