* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    color: #514f4f;
    background-color: #f8fafc;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.logo-container {
    position: relative;
    text-align: center;
}

.logo {
    width: 200px;
}

/* Title Header */
.page-title {
    font-size: 22px;
    font-weight: 500;
    color: #3182ce;
    text-align: center;
    margin-bottom: 10px;
}
input[readonly] {
  cursor: default; 
}
input[readonly]:focus {
  outline: none;
  box-shadow: none;
  border-color: inherit;
  cursor: default; 
}
/* Progress */
.progress-bar {
    background: #e2e8f0;
    height: 6px;
    border-radius: 3px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress {
    background: #3182ce;
    height: 100%;
    width: 0;
    transition: width 0.3s ease;
}

.section {
    display: none;
    margin-bottom: 20px;
}

.section.active {
    display: block;
}

.section h2 {
    font-weight: 500;
    font-size: 14px;
    color: #1e242e;
    margin-bottom: 10px;
    border-left: 4px solid #3182ce;
    padding-left: 10px;
}


.form-group {
    margin-bottom: 15px;
}
#investment-experience{
    display: none;
}
label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #4a4d57;
}

h3 {
    color: #3182ce;
}

input[type="text"],
input[type="number"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    color: #000;
    font-size: 12px;
    margin-top: 3px;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border: 1px solid #3182ce;
}
textarea {
    height: 60px;
    resize: vertical;
    font-size: 12px;
}
input[type="file"]{
    font-size: 12px;
}
input[type="checkbox"] {
    transform: scale(1.1);
}

.personal_info {
    display: none;
}
.checkbox-group {
    margin: 3px 0;
}
.checkbox-item {
    display: flex;
    align-items: center; 
    gap: 5px;
    margin-bottom: 5px;
}

.checkbox-item label {
    font-weight: normal;
    color: #434d5e;
}

.risk-tolerance-section label {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
.risk-tolerance-section input[type="radio"]{
    margin-right: 5px;
}
.risk-tolerance-section p {
    color: #4a4d57;
    font-size: 12px;
    font-weight: 500;
}
.risk-tolerance-section span {
    color: #434d5e;
    font-weight: normal;
}

/* Multi List */
.multi-list {
  display: flex;
  flex-wrap: wrap;
  margin-top: 12px;
  gap: 10px; 
}

.multi-list p {
  background-color: #f5f9fd;
  font-size: 12px;
  color: #3182ce;
  border: 1px solid #3182ce;
  border-radius: 5px;
  padding: 5px 10px;
  margin: 0;
  display: inline-block;
  width: fit-content;
}
.remove {
    padding-left: 8px;
    font-weight: bold;
    cursor: pointer;
}

.funds{
    margin-top: 5px;

}
.funds-documentation {
    margin: 10px 0;
    font-size: 12px;
}

/* Editor */
.editor {
    height: 400px;
}
.amount-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.plain-label {
    font-weight: normal;
    color: #514f4f;
}

.fixed-label {
    width: 350px;
}

.year-selection {
    display: flex;
    align-items: center;
    gap: 10px;
}

.year-selection select {
    width: 40%;
}

.year-header {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.label-space {
    width: 150px;
}

.year-label {
    font-size: 12px;
    flex: 1;
}

.two-column {
  display: flex;
  gap: 10px;
}
.column-item {
    flex: 1;
}
.declarations {
    background: #e8f4fc;
    padding: 15px 25px;
    border-radius: 5px;
    margin: 20px 0;
}
li {
    font-size: 12px;
    padding: 2px;

}
.signature-section {
    border-top: 1px solid #ddd;
    padding-top: 20px;
    margin-top: 20px;
}

.risk-questions {
    font-size: 12px;
    margin-bottom: 3px;
}

/* required */
.required::after {
  content: " *";
  color: rgb(248, 91, 91);
}

/* Navigation */
.navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.nav-button {
    padding: 8px 15px;
    border: none;
    border-radius: 3px;
    background: #3182ce;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
}
.navigation.single-right {
    justify-content: flex-end;
}
.nav-button:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
}

.nav-button:hover:not(:disabled) {
    background: #2b6cb0;
}

.risk-parameters div {
    font-size: 12px;
    margin-bottom: 5px;
    display: flex;

}
.risk-parameters p {
    min-width: 180px;
    font-weight: 500;
}
.risk-parameters span {
    font-size: 12px;
    font-weight: normal;
}
#risk-final-label {
    font-size: 12px;
    margin-top: 5px;
}
#risk_final_note {
    font-family: 'Poppins', sans-serif;
}

@media (max-width: 600px) {
  .year-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 10px;
  }

  .year-header .label-space {
    display: none;
  }

  .year-label {
    text-align: left;
    width: 100%;
  }
}