    body {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 15px;
  color: #222;
}

        .offer-wrap {
            
            width: 800px;
            min-height: 800px;
            margin: 0 auto;
            font-family: Arial, sans-serif;
            
            z-index: 999;
            
            
            
  
  
  
  padding: 20px;
  
    max-width: 800px;
  
  padding: 30px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  
  
        }
        
        #sps-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

.sps-spinner-container {
  text-align: center;
  color: white;
  font-family: "Inter", "Segoe UI", sans-serif;
}

.sps-spinner {
  width: 48px;
  height: 48px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-top: 5px solid #ffffff;
  border-radius: 50%;
  animation: sps-spin 1s linear infinite;
  margin: 0 auto 12px;
}

@keyframes sps-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


        
        h3 {
  font-family: 'Georgia', serif;         /* Adds classic serif flair */
  font-style: italic;                    /* Italic as requested */
  font-size: 1.2rem;                     /* Slightly smaller than default */
  color: #130D60;                        /* RLTRsync brand color */
  margin-bottom: 12px;
  padding-left: 12px;                    /* Space from accent bar */
  letter-spacing: 0.5px;
}

        
 
.dual-input {
  display: flex;
  gap: 5px;
  align-items: flex-end;
}

.dual-input > div {
  flex: 1 1 auto;
}

.percent-wrapper {
  flex: 0 0 25%;
  max-width: 25%;
}

.offer-meta-text {
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.offer-meta-text.green {
  color: #28a745;
}

.offer-meta-text.red {
  color: #c00;
}
        
        
        .form-content {
              display: flex;
              width: 80%;
              min-height: 600px;
              margin: auto;
  align-items: center; /* vertical centering */
  justify-content: center; /* optional: horizontal centering */
  height: 80%;
        }

        .offer-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 20px;
        }

        .realtor-info {
            display: flex;
            gap: 15px;
            align-items: center;
        }

        .realtor-info img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
        }

        .realtor-text {
            line-height: 1.4;
        }

        .company-logo {
            width: 80px;
            height: auto;
        }

        .property-address {
            text-align: center;
            font-size: 20px;
            font-weight: bold;
            margin-bottom: 30px;
        }
        
            .identity-select {
        display: flex;
        justify-content: center;
        gap: 30px;
        margin-top: 10px;
    }

    .identity-option {
        width: 300px;
        height: 300px;
        padding: 20px;
        border: 2px solid #ccc;
        border-radius: 10px;
        text-align: center;
        cursor: pointer;
        transition: 0.3s;
        background-color: #f9f9f9;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
    }

    .identity-option img {
        width: 100px;
        height: auto;
        filter: grayscale(100%);
        transition: 0.3s;
    }

    .identity-option.active {
        border-color: #130D60;
        background-color: #eef0ff;
    }

    .identity-option.active img {
        filter: none;
    }
    
    
    .identity-option:hover img {
        filter: none;
}
    .identity-label {
        margin-top: 10px;
        font-weight: bold;
        font-size: 14px;
    }

    
    .offer-container {
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 100px;
  
  min-height: 100vh; /* or desired height */
  background-size: cover;
  background-position: center;
  width: 100vw;
  transition: background-image 1s ease-in-out;
 display: flex;
  align-items: center; /* vertical centering */
  justify-content: center; /* optional: horizontal centering */
  position: relative;
}



.offer-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* optional dark overlay */
  z-index: 1;
}

.offer-container .content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  padding: 2rem;
}

.form-content form {
    width: 100% !important;
}


    .styled-form input,
.styled-form select {
  width: 100%;
  padding: 14px 16px;
  font-size: 20px !important;
  margin-bottom: 18px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 15px;
  background-color: #fff;
  transition: all 0.25s ease;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.04);
}

.offer-wrap h4 {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    color: #222;
    display: block;
}
.styled-form input:focus,
.styled-form select:focus {
  border-color: #130D60;
  background-color: #f8faff;
  box-shadow: 0 0 0 3px rgba(19, 13, 96, 0.1);
  outline: none;
}

  .styled-form label {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: #222;
  display: block;
}
   .checkbox-group {
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-option input[type="checkbox"] {
    transform: scale(1.2);
    accent-color: #130D60;
    width: auto !important;
    margin-bottom: 0px;
}

  .custom-dropzone {
    border: 2px dashed #ccc;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    background: #f9f9f9;
    cursor: pointer;
    transition: 0.3s;
}

.custom-dropzone:hover {
    background: #f0f0ff;
    border-color: #130D60;
}

.custom-dropzone .dz-message {
    font-family: Arial, sans-serif;
    color: #333;
}

.custom-dropzone .icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.custom-dropzone .text {
    font-size: 16px;
    font-weight: 600;
}

.custom-dropzone .text span {
    font-weight: normal;
    font-size: 14px;
    color: #666;
}

.custom-dropzone .subtext {
    font-size: 12px;
    margin-top: 8px;
    color: #999;
}
    
    
    .uploaded-file-preview {
  margin-top: 15px;
  background: #f9f9f9;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

#uploaded-files-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 10px;
}

#uploaded-files-list li {
  margin-bottom: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#uploaded-files-list button {
  background: none;
  border: none;
  color: #c00;
  cursor: pointer;
  font-size: 13px;
}


    .form-buttons {
        text-align: center;
        margin-top: 20px;
    }
.form-buttons button {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.form-buttons button:first-child {
  background: #e1e1e1;
  color: #333;
}

.form-buttons button:last-child {
  background: #130D60;
  color: #fff;
}

.form-buttons button:last-child:hover {
  background: #0e094f;
  transform: translateY(-1px);
}
    
    .uploaded-file-preview {
  margin-top: 15px;
  padding: 12px 16px;
  background: #f2f2f2;
  border: 1px solid #ddd;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #333;
}

.uploaded-file-preview .file-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

#remove-proof-btn {
  background: none;
  border: none;
  color: #c00;
  font-weight: bold;
  cursor: pointer;
}


@media (max-width: 768px) {
  .offer-wrap {
    width: 90%;
    padding: 20px;
    min-height: auto;
  }

  .form-content {
    width: 100%;
    flex-direction: column;
    padding: 0 10px;
  }

  


  .offer-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .realtor-info {
    flex-direction: column;
    align-items: center;
  }

  .company-logo {
    margin-top: 15px;
    width: 100px;
  }

  .identity-select {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .identity-option {
    width: 100%;
    max-width: 300px;
    height: auto;
    padding: 20px;
  }
  
  

   .form-content {

              min-height: 0px;
   }
              
              
  .styled-form input,
  .styled-form select {
    font-size: 16px !important;
    padding: 12px 14px;
  }

  .form-buttons button {
    width: 100%;
    max-width: 300px;
    margin-bottom: 10px;
  }

  .uploaded-file-preview,
  .custom-dropzone {
    padding: 20px;
  }
  
  h2 {
      font-size: 1.2rem;
  }
}

    
    
    