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

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 20px;
    font-family: 'Poppins', sans-serif;
    background-color: #f8fafc;
}

/* Loader  */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  border: 5px solid #ccc;
  border-top: 5px solid #3182ce;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
 
.container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    /* background: #fbfbfb; */
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0 20px 20px;
}

.header{
    text-align: center;
    font-weight: bold;
    font-size: 24px;
    margin: 2px 0 5px;
    color: #3182ce;
}
.logo-container {
     margin: 20px 0 0;
    padding: 20px 0 0;
    position: relative;
    text-align: center;
}

.back-arrow {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #3182ce;
    font-size: 22px;
}

.logo {
    width: 200px;
}

hr {
    border: 1px solid #3182ce;
    width: 100%;
}
.hr {
    border: none;
    margin: 15px 0 5px;
    border: 2px solid #00558e;
}
.info-container {
    display: block;
}

.download {
    display: flex;
    justify-content: flex-end;
    margin: 12px 0 0;
}

.download-btn {
    background-color: #3182ce;
    color: #fbfbfb;
    padding: 8px;
    border-radius: 3px;
    border: 1px solid #3182ce;
    display: none;
    cursor: pointer;
}

fieldset {
    padding: 15px;
    border: 1px solid #00558e;
    border-radius: 4px;
    margin-bottom: 10px;
}

legend {
    border-radius: 2px;
    color: #514f4f;
    padding: 3px 8px;
}

.response {
    display: flex;
    padding: 6px 0;
}

.question {
    width: 60%;
    font-weight: 500;
    color: #00558e;
}

.answer {
    width: 40%;
    color: #514f4f;
    padding-left: 10px;
}

.form {
    margin: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.submit {
    background-color: #3182ce;
    color: #fbfbfb;
    padding: 4px 8px;
    border: 1px solid #3182ce;
    border-radius: 3px;
    cursor: pointer;
}

select {
    padding: 4px 8px;
}

.risk-values {
    width: 100%;
    display: flex;
    font-weight: bold;
    justify-content: flex-end;
}

.result-only {
    padding: 0px 15px 10px;
}

.date-section {
    margin-top: 15px;
    display: none;
    color: #514f4f;

}
.value {
    font-style: italic;
    padding-left: 10px;
}

#risk-info-box {
  display: none;
}
.risk-info {
    display: flex;
    justify-content: center;
    color: #626060;
    line-height: 1.5;
}
.risk-info-tag {
    font-weight: bold;
    text-align: center;
}
.risk-range {
    display: flex;
    font-weight: bold;
    justify-content: space-around;
    margin-top: 5px;
}
.risk-matrix, .signature-header{
    background-color: #3182ce;
    font-weight: bold;
    text-align: center;
    color: #eae8e8;
    border: none;
    border-radius: 3px;
    padding: 7px;
}
.risk-matrix {
    margin: 20px auto 10px;
}
table {
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
}
th {
    padding: 5px;
}
td{
      border: 1px solid #514f4f;
      text-align: center;
      padding: 8px 12px;
}
/* Entity */
.entity {
      font-size: 18px; 
    }
.note {
    margin: 10px 0;
}
.note a {
    color: #3182ce;
}
.highlight {
    color: red;
}
.low-risk {
    background-color: green;
    color: #f9f4f4;
}
    
.moderate-risk {
    background-color: orange;
    color: #f9f4f4;
}    
    
.high-risk {
    background-color: red;
    color: #f9f4f4;

}

/* Risk Parameters */
.risk-parameters-container {
    display: none;
}
.parameters-header {
    color: #3182ce;
    text-align: center;
    margin-bottom: 10px;
}
.risk-parameters-note {
    margin: 10px auto;
    text-align: center;
    color: #514f4f;
}

.parameters-table th {
    background-color: #3182ce;
    color: #eae8e8;
    width: 400px;
}
.parameters-table th, .parameters-table td{
    border: 1px solid #00558e;
    font-size: 16px;
    padding: 8px;
}
.parameters-table td {
    color: #514f4f;
}

.transaction-risk{
    display: none;
    text-align: center;
    color: #3182ce;
    margin:15px 0 5px;
}

/* Verification Form */
.verification {
    display: none;
}
.signature-header {
    margin-top: 20px;
}

.verification-form {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 0 20px;
    margin-top: 20px;
    color: #514f4f;
}
.field-group {
  display: flex;
  flex-direction: column;
}
.verification-form-group label {
  font-weight: 500;
  display: inline-block;
}
.name-label {
  min-height: 3em; 

}

.input-field, .date-field {
    width: 100%;
    padding: 8px;
    margin: 5px 0 0;
    background-color: #f0f2fc;
    border: none;
    border-bottom: 2px solid #ccc;
}
.input-field{
    margin-bottom: 10px;
}
.signature-box {
    width: 100%;
    height: 100px;
    border: 1px solid #ccc;
    background-color: #f5f5f5;
    margin-bottom: 10px;
}

.signature-label {
    font-weight: bold;
    text-align: center;
}

.date-helper {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

/* Footer */
.footer {
    max-width: 900px;
    margin: auto;
    margin-bottom: 0;
    text-align: center;
    color: #3182ce;
    padding: 20px 25px;
}

/* @media print {
    @page {
        margin: 0;
        margin-top: 10px;
    }
    body {
        margin: 0;
        font-size: 12pt;
        background-color: white;
    }
    .header {
        color: #3182ce !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    .parameters-table th {
        background-color: #3182ce !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    .risk-matrix {
        background-color: #3182ce !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    .low-risk {
        background-color: green !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    .moderate-risk {
        background-color: orange !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    .high-risk {
        background-color: red !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    .signature-header {
        background-color: #3182ce !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    .input-field, .date-field {
        background-color: #f0f2fc !important;
        border-bottom: 2px solid #ccc !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    .signature-box {
        background-color: #f5f5f5 !important;
        border: 1px solid #ccc !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    .footer {
        margin-top: 20px;
    }
    .no-print {
        display: none;
    }
} */