/* RESET */
.liberty-form-wrapper * {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* MAIN WRAPPER */
.liberty-form-wrapper {
    max-width: 900px;
    margin: 40px auto;
    border: 1px solid #dcdcdc;
    background: #fff;
}

/* HEADER */
.liberty-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 25px;
}

.liberty-logo {
    max-width: 150px;
}

.liberty-header-right {
    text-align: right;
    font-size: 14px;
    line-height: 1.5;
}

/* PROGRESS */
.liberty-progress-wrap {
    padding: 0 25px 20px;
}

.liberty-progress-bar {
    background: #eaeaea;
    border-radius: 15px;
    height: 25px;
    position: relative;
}

.liberty-progress-fill {
    display: block;
    height: 100%;
    width: 20%;
    background: #1e73be;
    border-radius: 15px;
}

.liberty-progress-text {
    text-align: center;
    margin-top: 6px;
    font-size: 14px;
}

/* CONTENT */
.liberty-content {
    padding: 10px 40px 30px;
    font-size: 15px;
    line-height: 1.6;
    color: #000;
}

.liberty-content p {
    margin-bottom: 15px;
}

/* CHECKLIST */
.liberty-checklist {
    list-style: none;
    padding-left: 0;
    margin: 15px 0 20px;
}

.liberty-checklist li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
}

.liberty-checklist li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #1faa00;
    font-weight: bold;
}

/* NOTE */
.liberty-note {
    font-size: 14px;
}

/* FOOTER */
.liberty-footer {
    background: linear-gradient(to right, #1e73be, #0d4f8b);
    padding: 15px 20px;
    text-align: right;
}

.liberty-btn-next {
    background: #fff;
    color: #1e73be;
    border: none;
    padding: 8px 22px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
}

.liberty-btn-next:hover {
    background: #f2f2f2;
}


.liberty-step {
  display: none;
}

.liberty-step.active {
  display: block;
}

.liberty-footer {
  position: sticky;
  bottom: 0;
  background: linear-gradient(to right, #1e73be, #0d4f8b);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  z-index: 9999;
}


.liberty-footer button {
  pointer-events: auto;
}


/*step-3*/
.lf-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

label {
    font-weight: 600;
    display: block;
    margin: 15px 0 5px;
}

label span {
    color: red;
}

input, select {
    width: 100%;
    padding: 10px;
    background: #e2e6ea;
    border: none;
    border-radius: 2px;
}

.lf-radio {
    display: flex;
    gap: 20px;
    margin: 10px 0;
}

.lf-checkbox {
    display: block;
    margin-top: 15px;
}

.small-note {
    font-size: 13px;
    color: #444;
}

/*step-5 css*/
/* -------------------------------
   STEP 5 – LICENSE SECTION ONLY
--------------------------------*/

/* info box spacing */
.lf-info-box {
    background: #f2f4f6;
    padding: 12px 15px;
    margin: 20px 0;
    font-size: 14px;
}

.lf-info-box.green {
    background: #e6f4ea;
    color: #0a7a35;
}

/* license list */
.lf-license-list {
    margin-bottom: 20px;
}

/* add license button */
.lf-add-license-btn {
    background: none;
    border: none;
    color: #1e73be;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
}

/* license form wrapper */
.lf-license-form {
    border: 1px solid #dcdcdc;
    padding: 20px;
    margin-bottom: 120px; /* footer overlap fix */
    background: #fff;
}

/* fix radio layout */
.lf-radio {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.lf-radio label {
    background: #e2e6ea;
    padding: 8px 16px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 500;
}

.lf-radio input {
    margin-right: 6px;
}

/* checkbox grid */
.lf-checkboxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 10px;
}

/* save / cancel alignment */
.lf-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 25px;
}

.lf-form-actions button {
    padding: 8px 20px;
    font-size: 14px;
    cursor: pointer;
}

.lf-save-license {
    background: #1e73be;
    color: #fff;
    border: none;
    border-radius: 3px;
}

.lf-cancel-license {
    background: transparent;
    border: none;
    color: #1e73be;
}


.lf-step-title {
    font-size: 20px;
    font-weight: 600;
    margin: 20px 0 10px;
}

.lf-divider {
    border: none;
    border-top: 1px solid #ccc;
    margin-bottom: 20px;
}

.lf-question {
    font-weight: 600;
    margin: 25px 0 10px;
}

.lf-question span {
    color: red;
}

.lf-radio {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.lf-radio-btn {
    background: #e6e6e6;
    padding: 10px 22px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

.lf-radio-btn input {
    margin-right: 6px;
}

.lf-extra-box {
    display: none;
    margin-bottom: 15px;
}

.lf-extra-box textarea,
.lf-extra-box input[type="date"] {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
}

.lf-bullet-list {
    margin: 10px 0 15px 20px;
    font-size: 14px;
}

.liberty-footer {
    background: linear-gradient(90deg, #0b5fa5, #0e3f6e);
    padding: 15px;
    display: flex;
    justify-content: space-between;
}

.confirm-section {
  margin-bottom: 25px;
}

.confirm-header {
  background:#1f4e79;
  color:#fff;
  padding:8px 12px;
  font-weight:600;
}

.confirm-table {
  width:100%;
  border-collapse:collapse;
  font-size:14px;
}

.confirm-table td {
  border:1px solid #000;
  padding:6px 8px;
  vertical-align:top;
}

.confirm-table td:first-child {
  width:35%;
  font-weight:600;
}

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

.lf-sign-wrapper {
  border: 2px solid #ccc;
  margin-top: 10px;
}

#lfSignature {
  width: 100%;
  height: 200px;
  cursor: crosshair;
  background: #fff;
}

.lf-sign-actions {
  margin-top: 10px;
}

.lf-clear-sign {
  background: #eee;
  padding: 6px 14px;
  cursor: pointer;
}

.license-overview-card {
    background: #eef2f7;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.license-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #d7dee7;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.license-title {
    color: #2f80ed;
    margin: 0;
}

.license-actions span {
    margin-left: 10px;
    cursor: pointer;
    font-size: 16px;
}

.license-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.license-grid label {
    font-weight: 600;
    margin-right: 5px;
}

.dot-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.dot-modal.active {
    display: flex !important;
}

.dot-modal-box.dot-full-layout {
    background: #f8f9fb;
    width: 900px;
    max-width: 95%;
    border-radius: 8px;
    padding: 40px 30px;
}

/* HEADING */
.dot-progress-heading {
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 8px;
}

.dot-percent {
    color: #00a000;
    font-weight: 700;
}

/* LINK */
.dot-view-link {
    display: block;
    text-align: center;
    color: #0073aa;
    font-weight: 600;
    text-decoration: underline;
    margin-bottom: 20px;
    cursor: pointer;
}

/* REQUIREMENT BOX */
.dot-requirements {
    display: none;
    background: #e5e7ea;
    padding: 20px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
    position: relative;
}

.dot-close-btn {
    float: right;
    margin-top: 15px;
    padding: 8px 18px;
    border: 1px solid #0073aa;
    background: #fff;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
}

/* HISTORY TITLE */
.dot-history-title {
    background: #8c99a8;
    color: #fff;
    padding: 10px;
    text-align: center;
    font-weight: 600;
    border-radius: 4px 4px 0 0;
}

/* TABLE */
.dot-history-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.dot-history-table th {
    background: #d5d8dc;
    padding: 10px;
    text-align: left;
    font-weight: 600;
}

.dot-history-table td {
    padding: 10px;
    border-top: 1px solid #eee;
}

.dot-red {
    color: red;
    font-weight: 600;
}

/* ADD BUTTON */
.dot-add-wrapper {
    text-align: right;
    margin-top: 15px;
}

.dot-add-btn {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}
