.franchise-form-section
{
  margin: 10px;
  font-family: var(--subtext-font-family);
  font-weight: var(--subtext-font-weight);
  color: var(--greylighttxt);
  font-size: var(--subtext-font-size);
  letter-spacing: var(--subtext-letter-spacing);
  line-height: var(--subtext-line-height);
  font-style: var(--subtext-font-style);
  margin-bottom: 20px;
}
.franchise-form-section .title
{
  font-family: var(--mob-h2-font-family);
  font-weight: var(--mob-h2-font-weight);
  color: var(--black);
  font-size: var(--mob-h2-font-size);
  letter-spacing: var(--mob-h2-letter-spacing);
  line-height: var(--mob-h2-line-height);
  white-space: nowrap;
  font-style: var(--mob-h2-font-style);
}
.franchise-form-section label
{
  font-family: var(--subtext-font-family);
  font-weight: var(--subtext-font-weight);
  color: var(--greylighttxt);
  font-size: var(--subtext-font-size);
  letter-spacing: var(--subtext-letter-spacing);
  line-height: var(--subtext-line-height);
  font-style: var(--subtext-font-style);
  padding-bottom: 10px;
  display: block;
}
.help-block
{
  color: red;
  padding: 5px 0;
}
.franchise-request-form input,
.franchise-request-form textarea,
.franchise-request-form select {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 15px 16px;

  background-color: rgba(245, 247, 248, 1);

  box-sizing: border-box;

  font-family: var(--subtext-font-family);
  font-weight: var(--subtext-font-weight);
  color: var(--greylighttxt);
  font-size: var(--subtext-font-size);
  letter-spacing: var(--subtext-letter-spacing);
  line-height: var(--subtext-line-height);
  font-style: var(--subtext-font-style);
}

.franchise-request-form input:focus,
.franchise-request-form textarea:focus,
.franchise-request-form select:focus {
  border-color: var(--green);
  background-color: transparent;
  outline: none;
}
.franchise-request-form .has-error input,
.franchise-request-form .has-error textarea,
.franchise-request-form .has-error select
{
  background-color: var(--redlight);
  color: var(--mainred);
}
.franchise-request-form .form-upload-label {

  margin-bottom: 5px;
  font-family: var(--paragraph-2-sm-font-family);
  font-weight: var(--paragraph-2-sm-font-weight);
  color: var(--black);
  font-size: var(--paragraph-2-sm-font-size);
  letter-spacing: var(--paragraph-2-sm-letter-spacing);
  line-height: var(--paragraph-2-sm-line-height);
  white-space: nowrap;
  font-style: var(--paragraph-2-sm-font-style);
}

.franchise-request-form .form-upload-desc {
  font-size: 12px;
  color: #666;
  margin-bottom: 10px;
}

.uploaded-files-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.btn-submit {
  background-color: rgba(216, 95, 84, 1);

  padding: 14px;
  border: none;
  border-radius: 8px;
  width: 100%;

  cursor: pointer;
  font-family: var(--paragraph-2-sm-font-family);
  font-weight: var(--paragraph-2-sm-font-weight);
  color: var(--white);
  font-size: var(--paragraph-2-sm-font-size);
  letter-spacing: var(--paragraph-2-sm-letter-spacing);
  line-height: var(--paragraph-2-sm-line-height);
  white-space: nowrap;
  font-style: var(--paragraph-2-sm-font-style);
}

.btn-submit:hover {
  background-color: #9f5a4d;
}

.form-required-note {
  font-size: 12px;
  color: #666;
  margin-top: 10px;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 30, 30, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;

  font-family: var(--subtext-font-family);
  font-weight: var(--subtext-font-weight);
  color: var(--greylighttxt);
  font-size: var(--subtext-font-size);
  letter-spacing: var(--subtext-letter-spacing);
  line-height: var(--subtext-line-height);
  font-style: var(--subtext-font-style);
}

.popup-box {
  background: #fff;
  padding: 30px 20px;
  max-width: 400px;
  width: 90%;
  border-radius: 12px;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: popup-fade-in 0.3s ease-in-out;
}

.popup-content h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #B76E5E;
}

.popup-content p {
  font-size: 16px;
  color: #444;
}

.popup-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 22px;
  color: #888;
  cursor: pointer;
}

@keyframes popup-fade-in {
  from { transform: scale(0.9); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
