body {
    background-color: #F0EBEB;
}
.faria-ai-assessment {
  width: 100%;
/*   max-width: 1200px; */
  margin: 0 auto;
  padding: 0 24px;
}

/* Tabs */
.faria-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
/* 	    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.10); */
}

.faria-tabs button {
flex: 1;
    padding: 26px 20px;
    border-radius: 8px 8px 0 0;
    border: 1px solid #e6dff0;
    background: #f6f1f8;
    cursor: pointer;
    font-weight: 400;
    font-size: 18px;
    color: #37023c;
}

.faria-tabs button.active {
  background: #fff;
  border-bottom: none;
/*   color: #6a1b9a; */
}

/* Instruction */
.faria-instructions {
background: #EAE4EA;
    border: 1px solid #37023C;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    color: #37023C;
    font-size: 24px;
    font-weight: 300;
}
.faria-instructions p{
	    margin: 4px 0 0;
    font-size: 16px;
    color: #37023C;
}
.faria-instructions strong{
	    display: flex;
    gap: 5px;
}

/* Question */
.faria-question {
  background: #fff;
  border: 1px solid #ece3f2;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
}
.faria-question p{
	color: #37023C;
}

/* Options */
.faria-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.faria-options label {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid #d9cde5;
    border-radius: 999px;
    cursor: pointer;
    background: #faf7fc;
    font-size: 16px;
    color: #391E38;
    font-weight: 500;
}

/* .faria-options label:nth-child(2){
	color: #552859;
}
.faria-options label:nth-child(3){
	color: #F78B43;
}
.faria-options label:nth-child(4){
	color: #E837AC;
} */

.faria-options input[type="radio"] {
  accent-color: #6a1b9a;
	    width: 20px;
    height: 20px;
}

.submit-btn {
    padding: 10px 18px;
    background: #6a1b9a;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}
.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
#status {
    font-size: 14px;
}
.assessment-footer {
  margin-top: 32px;
  display: flex;
  justify-content: end;
	gap:10px;
}

.btn-back {
  padding: 12px 22px;
  border-radius: 10px;
  border: none;
  background: #d6b36a;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
    flex-direction: row-reverse;
	background: #fff !important;
    border: 1px solid #37023C !important;
    color: #37023c !important;
}
.btn-back:after{
	transform: scaleX(-1);
    margin-right: 12px !important;
    margin-left: 0 !important;
}

.btn-next {
  padding: 12px 22px;
  border-radius: 10px;
  border: none;
  background: #5c7f73;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
	    display: inherit !important;
}

/* FORM */
.assessment-form {
  background: #fff;
  padding: 32px;
  border-radius: 20px;
  border: 1px solid #ece3f2;
}

.assessment-form h2 {
  margin-bottom: 24px;
}

.assessment-form label {
  display: block;
    margin-bottom: 6px;
    font-weight: 400;
    font-size: 1rem;
    color: #37023C;
	
}
.form-section{
	display:flex;
	gap:20px;
}
.form-section div{
	    flex: 1 1 0;
}
.optionradio label{
	display:flex;
	    gap: 10px;
    align-items: center;
}
.optionradio label input{
	margin: 0;
    width: 18px;
    height: 18px;
}

.assessment-form input,
.assessment-form textarea,
.assessment-form select {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 999px;
      border: 1px solid #d5c4c4;
    background: #f0ebeb;
    font-size: 1rem;
}

.assessment-form textarea {
  border-radius: 16px;
  height: 120px;
}

.result-table {
  position: relative;
}

.result-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
}

.result-header,
.component-row {
  display: grid;
  grid-template-columns: 1.2fr 2fr 1fr 2fr;
  column-gap: 16px;
}

.result-title {
  font-size: 28px;
  font-weight: 600;
  margin: 40px 0 20px;
  color: #3b0a45;
}

.result-table {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #3b0a45;
}

.result-header,
.result-row {
  display: grid;
  grid-template-columns: 220px 1.5fr 220px 2fr;
}

.result-header {
  background: #3b0a45;
  color: #fff;
  font-weight: 600;
}

.result-header div,
.result-row div {
  padding: 16px;
  border-right: 1px solid #3b0a45;
}

.result-row {
  background: #fff;
  border-top: 1px solid #ddd;
}

.result-row:nth-child(even) {
  background: #f3f0f4;
}

.component-cell {
  font-weight: 600;
  color: #3b0a45;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: #ede7f6;
  font-size: 14px;
}

.faria-question.has-error {
  border-color: #ffb3b3;
}

.error-text {
  font-size: 14px;
}
.question-text span {
  color: red;
}
/* === GROUP WRAPPER === */
.component-group {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid #5b2b6b;
}

/* === LEFT COMPONENT === */
.component-cell {
  background: #f4f1f5;
  padding: 24px 16px;
  text-align: center;
  border-right: 1px solid #5b2b6b;
}

.component-icon {
  width: 48px;
  margin-bottom: 12px;
}

.component-title {
  font-weight: 700;
  color: #4b145d;
	font-size: 18px;
}

/* === RIGHT SIDE ROWS === */
.component-content {
  display: flex;
  flex-direction: column;
}

.component-row {
  display: grid;
/*   grid-template-columns: 2fr 1fr 2fr; */
	grid-template-columns: 1.5fr 220px 2fr;
  border-bottom: 1px solid #ddd;
}

.component-row:nth-child(odd) {
  background: #f1edf3;
}

.component-row:nth-child(even) {
  background: #ffffff;
}

.topic-cell,
.assessment-cell,
.guidance-cell {
  padding: 16px;
	font-size: 16px;
    line-height: normal;
}
.faria-hero-banner{
	scroll-margin-top: 150px;
}
.faria-tabs {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	padding-top: 4%;
	background: #F0EBEB;
	border-bottom: 1px solid #eee;
}

.faria-tabs button {
	cursor: pointer;
}

.faria-tabs button.completed {
	opacity: 0.7;
}
html {
    scroll-behavior: smooth;
}

/* :root {
	--sticky-header-height: 120px;
}

.faria-tabs {
	scroll-margin-top: var(--sticky-header-height);
} */

.block-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.result-title {
  margin: 0 0 30px 0;
}

/* === STICKY RESULT HEADER === */
.header-content {
  position: sticky;
  top: 0; /* nempel ke atas viewport */
  z-index: 999;
  background: #F0EBEB; /* SAMAKAN dengan background page */
  padding-top: 10%;
}

/* opsional: kasih garis pemisah biar jelas */
.header-content::after {
  content: '';
  display: block;
  height: 1px;
}

.component-row {
  align-items: center;
}

.assessment-cell {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid #d9cde5;
  border-radius: 999px;
  cursor: pointer;
  background: #faf7fc;
  font-size: 16px;
  color: #37023C;
  font-weight: 500;
  justify-content: center;
  width: fit-content;
  margin: 0 auto;
}

/* .component-row .developing {
  color: #F78B43 !important;
}

.component-row .established {
  color: #E837AC !important;
}

.component-row .exemplary {
  color: #B79C44 !important;
} */

#state-wrapper {
  transition: all 0.25s ease;
}
