.jha-assessment-app {
	max-width: 1280px;
	margin: 24px auto;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
	border: 1px solid #e2e8f0;
	border-radius: 0px;
	background:#fff;
}
.jha-assessment-app {
    display: flex;
    gap: 10px;
    align-items: center;
}
.jha-assessment-app .jha-hero-img img {
    height: 100%;
    object-fit: cover;
    display: block;
}
.jha-assessment-app .jha-hero-img, .jha-assessment-app .jha-card {
    width: 50%;
}
.jha-card {
	background: #fff;
	padding: 30px;
	
}
.jha-card h2 {
    font-size: 36px!important;
    font-weight: 500;
    color: #0a406b;
}

.jha-card h2,
.jha-card h3 {
	margin-top: 0;
	color: #0a406b;
}
.jha-card p {
    color: #777777;
    font-size: 16px;
}
.jha-progress {
	font-size: 13px;
	color: #64748b;
	margin-bottom: 10px;
}

.jha-field {
	margin-bottom: 14px;
}

.jha-field label {
	display: block;
	font-weight: 600;
	color: #0a406b;
    font-size: 16px;
    margin-bottom: 12px;
}



.jha-card .jha-field input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 0;
    font-size: 16px;
    color: #777777;
	outline: none;
}

.jha-select {
	width: 100%;
	padding: 12px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #fff;
}

.jha-options {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.jha-option {
    border: 1px solid #e5e5e5;
    padding: 13px 12px;
    border-radius: 0px;
    display: flex;
    gap: 8px;
    align-items: center;
    width: calc(50% - 10px);
    position: relative;
}
.jha-assessment-app .jha-card.questions_box, .jha-assessment-app .jha-card.submit_question_box, .jha-assessment-app .review_question_box  {
    width: 100%;
}

.jha-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.fill_button, .jha-card.review_question_box .jha-review-list .jha-review-item button.jha-link {
    background: #bb9f64!important;
    color: #fff!important;
    border: none!important;
    border-radius: 0!important;
    padding: 16px 20px!important;
	border: 1px solid #bb9f64!important;
    text-decoration: none!important;
    display: inline-block!important;
    font-size: 16px!important;
    font-weight: 600!important;
    text-transform: uppercase!important;
    letter-spacing: 1px!important;
    margin-top: 20px!important;
}

.fill_button:hover, .fill_button:focus, .jha-card.review_question_box .jha-review-list .jha-review-item button.jha-link:hover, .jha-card.review_question_box .jha-review-list .jha-review-item button.jha-link:focus {
    background: #0a406b!important;
    border: 1px solid #0a406b!important;
    color: #fff!important;
}
.jha-actions {
    justify-content: space-between;
}
.outline_button {
    background: transparent!important;
    color: #bb9f64!important;
    border: none!important;
    border-radius: 0!important;
    padding: 16px 20px!important;
	border: 1px solid #bb9f64!important;
    text-decoration: none!important;
    display: inline-block!important;
    font-size: 16px!important;
    font-weight: 600!important;
    text-transform: uppercase!important;
    letter-spacing: 1px!important;
    margin-top: 20px!important;
}

.outline_button:hover, .outline_button:focus {
    background: #bb9f64!important;
    border: 1px solid #bb9f64!important;
    color: #fff!important;
}

.jha-message {
	margin-top: 12px;
	font-weight: 600;
	color: #047857;
}

.jha-info {
	background: #e8f2ff;
	border: 1px solid #93c5fd;
	border-radius: 8px;
	padding: 12px;
	margin-bottom: 16px;
}

.jha-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.jha-review-item {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	padding: 12px 0;
	border-bottom: 1px solid #e2e8f0;
}

.jha-review-item p {
	margin: 4px 0 0;
}
.jha-card.review_question_box button.jha-link {
    margin: 0!important;
}

.jha-edit-popup-body .jha-options.jha-popup-options label.jha-option {
    width: 100%;
}

.jha-edit-popup-header span.jha-edit-popup-tag {
    color: #fff;
}

.jha-edit-popup-modal  button.jha-edit-popup-close {
    padding: 0;
    width: 30px;
    height: 30px;
    text-align: center;
    font-size: 30px;
    line-height: 20px!important;
    padding-bottom: 10px;
    padding-left: 3px;
}
.jha-link {
	border: none;
	background: transparent;
	color: #e11d48;
	font-weight: 600;
	cursor: pointer;
}

.jha-modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	z-index: 99999;
}

.jha-modal-card {
	background: #fff;
	max-width: 680px;
	width: 100%;
	border-radius: 14px;
	padding: 24px;
	position: relative;
	text-align: center;
}

.jha-modal-close {
	position: absolute;
	right: 14px;
	top: 10px;
	border: none;
	background: transparent;
	font-size: 34px;
	line-height: 1;
	cursor: pointer;
}

.jha-modal-icon {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	margin: 0 auto 12px;
	background: #facc15;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
}

.jha-options label.jha-option input {
    position: absolute;
    opacity: 0;
}

.jha-options label.jha-option input:checked + span:after{

    width: 12px;
    height: 12px;
    content: '';
    position: absolute;
    background: #bb9f64;
    left: 14px;
    top: 15px;
}
.jha-options label.jha-option input:checked + span:before{
	border: 2px solid #bb9f64;
}
.jha-options label.jha-option span:before {
    width: 20px;
    height: 20px;
    border: 2px solid #777777;
    content: '';
    position: absolute;
    left: 10px;
    top: 11px;
}
.jha-option {
    padding-left: 40px;
}
.jha-card.submit_question_box {
    text-align: center;
}
.jha-card.submit_question_box .jha-actions {
    justify-content: center;
    gap: 30px;
}

.jha-card.review_question_box h3 {
    color: #bb9f64;
}
.jha-card.review_question_box h4 {
    color: #0a406b;
}
.jha-card.review_question_box .jha-review-list .jha-review-item {
    padding: 20px;
    border: 1px solid #e5e5e5;
    margin-bottom: 20px;
}
.jha-card.review_question_box .jha-review-list .jha-review-item p {
    margin: 0;
}
.jha-card.review_question_box .jha-review-list .jha-review-item strong {
    color: #0a406b;
    font-size: 17px;
}
/* ─── Edit Answer Popup ──────────────────────────────────── */

.jha-edit-popup-overlay {
	position: fixed;
	inset: 0;
	background: rgba(10, 20, 40, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	z-index: 999999;
	opacity: 0;
	transition: opacity 0.25s ease;
	backdrop-filter: blur(2px);
}

.jha-edit-popup-overlay.jha-edit-popup-visible {
	opacity: 1;
}

.jha-edit-popup-modal {
	background: #fff;
	width: 100%;
	max-width: 640px;
	border-radius: 4px;
	box-shadow: 0 24px 60px rgba(10, 20, 40, 0.22), 0 2px 8px rgba(10, 20, 40, 0.08);
	position: relative;
	display: flex;
	flex-direction: column;
	transform: translateY(24px) scale(0.97);
	transition: transform 0.26s cubic-bezier(0.34, 1.56, 0.64, 1);
	overflow: hidden;
}

.jha-edit-popup-overlay.jha-edit-popup-visible .jha-edit-popup-modal {
	transform: translateY(0) scale(1);
}

/* Header stripe */
.jha-edit-popup-header {
	background: #0a406b;
	padding: 22px 28px 18px;
}

.jha-edit-popup-tag {
	display: inline-block;
	background: rgba(187, 159, 100, 0.3);
	color: #bb9f64;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	padding: 3px 10px;
	border-radius: 2px;
	margin-bottom: 10px;
}

.jha-edit-popup-title {
	margin: 0;
	color: #fff !important;
	font-size: 18px !important;
	font-weight: 600;
	line-height: 1.4;
}

/* Close button */
.jha-edit-popup-close {
	position: absolute;
	top: 14px;
	right: 16px;
	width: 32px;
	height: 32px;
	border: none;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	border-radius: 50%;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.18s;
	z-index: 2;
}

.jha-edit-popup-close:hover {
	background: rgba(255, 255, 255, 0.3);
}

/* Body */
.jha-edit-popup-body {
	padding: 24px 28px 8px;
	max-height: 55vh;
	overflow-y: auto;
}

/* Options inside popup – inherit existing .jha-options / .jha-option styles */
.jha-popup-options {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.jha-popup-options .jha-option {
	width: calc(50% - 6px);
	border: 2px solid #e5e5e5;
	border-radius: 4px;
	padding: 12px 12px 12px 40px;
	cursor: pointer;
	transition: border-color 0.18s, background 0.18s;
	font-size: 15px;
	color: #334155;
}

.jha-popup-options .jha-option:hover {
	border-color: #bb9f64;
	background: #fdf9f3;
}

.jha-popup-options .jha-option input:checked ~ span,
.jha-popup-options .jha-option:has(input:checked) {
	border-color: #bb9f64;
}

.jha-popup-options .jha-option:has(input:checked) {
	border-color: #bb9f64;
	background: #fdf9f3;
}

/* Message */
.jha-edit-popup-message {
	min-height: 20px;
	font-size: 13px;
	font-weight: 600;
	margin-top: 8px;
	padding: 0 2px;
}

/* Footer */
.jha-edit-popup-footer {
	padding: 16px 28px 24px;
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	border-top: 1px solid #f1f5f9;
}

.jha-edit-popup-footer .jha-btn {
	margin-top: 0;
	padding: 12px 28px;
	font-size: 14px;
}

/* Scrollbar inside body */
.jha-edit-popup-body::-webkit-scrollbar { width: 4px; }
.jha-edit-popup-body::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }

@media (max-width: 600px) {
	.jha-edit-popup-modal { border-radius: 4px; }
	.jha-edit-popup-header { padding: 18px 20px 14px; }
	.jha-edit-popup-body { padding: 18px 20px 8px; }
	.jha-edit-popup-footer { padding: 14px 20px 20px; }
	.jha-popup-options .jha-option { width: 100%; }
}
@media only screen and (max-width:767px) { 
.jha-assessment-app {
    flex-wrap: wrap;
}
.jha-assessment-app .jha-hero-img, .jha-assessment-app .jha-card {
    width: 100%;
}
.jha-option {
    width: calc(100% - 10px);
}
.jha-card.submit_question_box .jha-actions {
    gap: 10px 30px;
}
.fill_button, .jha-card.review_question_box .jha-review-list .jha-review-item button.jha-link {
    margin-top: 10px!important;
}
.outline_button {
    margin-top: 10px!important;
}
.jha-card.submit_question_box .jha-actions {
    margin-top: 20px;
}
.jha-card.review_question_box .jha-review-list .jha-review-item {
    flex-wrap: wrap;
}
}

@media only screen and (min-width:768px) and (max-width:991px) { 
.jha-assessment-app {
    flex-wrap: wrap;
}
.jha-assessment-app .jha-hero-img, .jha-assessment-app .jha-card {
    width: 100%;
}
.jha-assessment-app .jha-hero-img img {
    width: 100%;
}
.jha-option {
    width: calc(100% - 0px);
}
.jha-card.review_question_box .jha-review-list .jha-review-item button.jha-link {
    margin: 0!important;
}
}