/* CSS of fluentforms */
.fluentform  .ff-el-progress .ff-el-progress-bar span {
    margin-left: 20px;
    margin-right: 15px;
}

.fluentform .ff-el-progress-bar {
    text-align: center !important;
}
.fluentform .ff-el-progress-status {
    display: none;
}

.ff-el-progress-bar {
    display: table !important;
}

.entry-content {
    word-break: normal !important;
}

label em {
    margin-right: 2px;
}

.fluentform .ff-el-progress-bar span {
    margin-top: 1.6px;
}

.fluentform .ff-el-progress-bar span {
    padding: 0px 3px 0px 12px;
}


div.ff-el-input--label.asterisk-right label {
    font-weight: 700;
    font-size: 18px !important;
}

p.first_page_title {
    font-size: 17px;
}

.ff-el-form-check.ff-el-form-check- span {
    margin-left: 12px;
    font-size: 17px;
}

.ff-el-form-check-label input[type=checkbox],
.fluentform_wrapper_12.ffs_custom_wrap .ff-el-group input[type=radio] {
    height: 25px !important;
    width: 25px !important;
}

input[type="radio"]:checked::before {
    background-color: transparent !important;
}

@media only screen and (max-width: 768px) {

    .fluentform .ff-el-progress-bar span {
        margin-top: 1.6px;
    }
}

/*---loader ---*/
body {
    margin: 0;
    font-family: Arial, sans-serif;
}


@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#content {
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* Hide content while the loader is visible */
body.loading #content {
    opacity: 0;
}

/*Show hide section*/
p.custom_message {
    font-size: 17px;
}

p#message1 {
    margin: 5px 0px 0px 1px;
}

.toggle-button {
    color: #1d70b8;
    font-size: 17px;
    text-decoration: underline;
    cursor: pointer;
    padding: 2px 5px;
    display: inline-block;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.toggle-button.clicked {
    background-color: #fd0;
}

.toggle-button:hover {
    color: black;
}

.arrow {
    color: blue;
    font-weight: bold;
}

.custom_message {
    display: none;
    padding: 10px;
    margin-left: 20px;
    border-left: 2px solid gray;
}

.ff_t_c p {
    margin-left: 12px !important;
}

/* CSS from my plugin */
.name-change-summary {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    max-width: 900px;
    margin: 30px auto;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    background-color: #ffffff;
}

.name-change-summary h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.summary-section {
    margin-bottom: 32px;
}

.name-item {
    display: flex;
    margin-bottom: 12px;
    align-items: baseline;
}

.name-label {
    font-weight: 500;
    color: #555555;
    flex: 0 0 220px;
    font-size: 1rem;
}

.name-value {
    font-size: 1.05rem;
    color: #1a1a1a;
    font-weight: 600;
}

.new-info-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2e6cb0;
    margin-bottom: 16px;
    padding-top: 8px;
}

.na-value {
    color: #888888;
    font-style: italic;
}

@media (max-width: 600px) {

    .name-change-summary h2 {
        font-size: 1.2rem !important;
    }

    .name-item {
        flex-direction: column;
        align-items: flex-start;
        font-size: 14px;
    }

    .name-label {
        margin-bottom: 4px;
        width: 100%;
        display: block;
        font-size: 14px;
    }
    

    .name-value {
        width: 100%;
        display: block;
    }

    .name-change-summary {
        padding: 10px;
    }

    .step-nav.ff_step_nav_last .ff-float-right.ff-btn.ff-btn-next.ff-btn-secondary {
        padding: 10px !important;
    }
    .step-nav.ff_step_nav_last .ff-btn.ff-btn-prev.ff-btn-secondary {
        padding: 10px !important;
    }
}

/* Fluent Form Styles */
.fluentform-step.active h5 span {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 24px;
}

.fluentform-step.active .ff-custom_html p {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 24px;
}

.dynamic_deed_poll_order_confirmation-heading {
    font-size: 1.3rem !important;
    font-weight: bold;
    margin-bottom: 1rem;
  }
  
  .dynamic_deed_poll_order_confirmation-subheading {
    font-size: 1.3rem !important;
    margin-top: 0.5rem;
  }
  
  .dynamic_deed_poll_order_confirmation-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin: 30px 0;
  }
  
  .dynamic_deed_poll_order_confirmation-block {
    flex: 1 1 300px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 5px 10px;
    background-color: #f9f9f9;
  }
  
  .dynamic_deed_poll_order_confirmation-title {
    font-size: 1.1rem !important;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 15px;
  }
  
  .dynamic_deed_poll_order_confirmation-text {
    font-size: 1rem !important;
    margin: 0;
    line-height: 1.6;
  }
  
  .dynamic_deed_poll_order_confirmation-summary {
    margin-top: 20px;
    line-height: 1.5;
  }
  
  .dynamic_deed_poll_order_confirmation-total {
    font-size: 1rem !important;
    font-weight: bold;
    text-align: right;
  }
  
  /* Tablet: max-width 900px */
  @media (max-width: 900px) {
    .dynamic_deed_poll_order_confirmation-wrapper {
      gap: 24px;
    }
  
    .dynamic_deed_poll_order_confirmation-block {
      flex: 1 1 100%;
      padding: 14px;
    }
  
    .dynamic_deed_poll_order_confirmation-heading,
    .dynamic_deed_poll_order_confirmation-subheading {
      font-size: 1.2rem !important;
    }
  
    .dynamic_deed_poll_order_confirmation-title {
      font-size: 1rem !important;
    }
  
    .dynamic_deed_poll_order_confirmation-text,
    .dynamic_deed_poll_order_confirmation-total {
      font-size: 0.95rem !important;
    }
  }
  
  /* Mobile: max-width 600px */
  @media (max-width: 600px) {
    .dynamic_deed_poll_order_confirmation-wrapper {
      flex-direction: column;
      gap: 16px;
    }
  
    .dynamic_deed_poll_order_confirmation-block {
      padding: 12px;
    }
  
    .dynamic_deed_poll_order_confirmation-heading,
    .dynamic_deed_poll_order_confirmation-subheading {
      font-size: 1.1rem !important;
    }
  
    .dynamic_deed_poll_order_confirmation-title {
      font-size: 0.95rem !important;
    }
  
    .dynamic_deed_poll_order_confirmation-text,
    .dynamic_deed_poll_order_confirmation-total {
      font-size: 0.9rem !important;
    }
  
    .dynamic_deed_poll_order_confirmation-summary {
      line-height: 2;
    }
    .ff-btn-prev .ff-btn-next {
        padding: 10px !important;
    }
  }
  
  