.main-container {
    padding: 2rem;
    margin: 2rem 0;
}
.header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}
.header h1 {
    color: #333;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.header p {
    color: #666;
    font-size: 18.89px;
     text-align: left;
}
.virtue-section {
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
}
.virtue-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}
.statement-container {
    margin-bottom: 2rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.statement-text {
    font-size: 1rem;
    color: #444;
    margin-bottom: 1rem;
    font-weight: 500;
}
.slider-wrapper {
    position: relative;
    margin: 1rem 0;
}
.custom-slider { -webkit-appearance: none; width: 100%; height: 8px; border-radius: 5px; background: linear-gradient( to right, #E3F0F9 0%, #70B5F4 50%, #1968B0 100% ); outline: none; opacity: 0.8; transition: opacity 0.2s; }
.custom-slider:hover {
    opacity: 1;
}
.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}
.custom-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}
.custom-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    border: none;
}
/* Labels under slider */
.tooltip-container {
  display: flex;
  width: 100%;
  gap: 10px; /* optional spacing */
}

.custom-tooltip {
  flex: 1;
  display: flex;                /* enable flex */
  justify-content: center;      /* center horizontally */
  align-items: center;          /* center vertically */
  text-align: center;
  padding: 50px;                /* more padding */
  border-radius: 6px;
  transition: background 0.3s, color 0.3s;
  word-wrap: break-word;
  white-space: normal;
}

/* active states */
.custom-tooltip.active-left {
  background: #E3F0F9;
}
.custom-tooltip.active-center {
  background: #70B5F4;

}
.custom-tooltip.active-right {
  background: #1968B0;
}

/* For tablets and smaller screens */
@media (max-width: 768px) {
  .custom-tooltip {
    font-size: 14px;
    padding: 8px;
  }
}

/* For very small screens */
@media (max-width: 480px) {
  .tooltip-container {
    flex-direction: column; /* stack tooltips */
  }
  .custom-tooltip {
    font-size: 13px;
    padding: 6px;
    margin-bottom: 6px;
  }
}
.score-display {
    text-align: center;
    margin: 0.5rem 0;
    font-size: 1rem;
    font-weight: bold;
    color: #666;
}
.range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #888;
}
.overall-score {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 200px;
}
.overall-score h5 {
    margin-bottom: 0.5rem;
    color: #333;
}
.score-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
}
.progress-bar {
    height: 6px;
    background: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 0.5rem;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #1968b0);
    border-radius: 3px;
    transition: width 0.3s ease;
}
@media (max-width: 768px) {
    .overall-score {
        position: relative;
        top: 0;
        right: 0;
        margin-bottom: 2rem;
    }
    .main-container {
        padding: 1rem;
    }
    .custom-tooltip {
        font-size: 11px;
        max-width: 200px;
    }
}
/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    padding: 20px;
    border-radius: 8px;
    gap:5px;
}
.pagination-btn {
    background-color: #3aa0e6;
    border: 1px solid transparent;
    border-radius: 3px;
    color: rgb(255, 255, 255);
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    padding: 20px 30px;
    width:112px;
}
.pagination-btn:hover:not(:disabled) {
    background: #3aa0e6;
}
.pagination-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}
.pagination-info {
    font-size: 16px;
    margin: calc(8px) 0px;
    line-height: 16px;
    color: rgb(51, 51, 51);
    width: 100%;
    text-align: center;
}
.page-content {
    min-height: 400px;
}
.hidden {
    display: none;
}



.radio-group {
    margin-top: 15px;
}

.radio-group label {
    display: block;
    margin: 10px 0;
    cursor: pointer;
}

.page-section {
    display: block;
    text-align: left;
}

.page-section.hidden {
    display: none;
}


.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    height:48px;
}

.radio-group {
    margin-top: 10px;
}

.radio-group label {
    display: block;
    margin: 8px 0;
    font-weight: normal;
    cursor: pointer;
}

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

.slider-container { position: relative; width: 100%; }
.thumb-value {
  position: absolute;
  top: 0px;
  left:7px;
  transform: translateX(-50%);
  background: white;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display:flex;
  justify-content:center;
  align-items:center;
  font-size:12px;
  box-shadow:0 2px 6px rgba(0,0,0,0.3);
  pointer-events:none;
  transition:left 0.05s linear;
}

.stepper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin-bottom: 20px;
}

.step {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #cfd8dc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cfd8dc;
  font-size: 14px;
  position: relative;
}

.step.active,
.step.done {
  border-color: #3aa0e6;
  color: #3aa0e6;
}

.step.done::after {
  content: '';
  position: absolute;
  right: -52px;
  width: 51px;
  height: 10px;
  background: #3aa0e6;
}

.step::after {
  content: '';
  position: absolute;
  right: -52px;
  width: 51px;
  height: 10px;
  background: #e0e0e0;
}

.step:last-child::after {
  display: none;
}

/* buttons */
.pagination-btn {
  background: #3aa0e6;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
}


