/* General body styling */
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #555555;
}



/* Header styling */
#header {
    display: block;
    margin: 0 auto;
    height: 86px;
    background: url("/form/upload/eng/images/blue-bar-bg.jpg") repeat-x top left;
}

/* Main content container */
#content {
    background: #FFFFFF;
    margin: 0 auto;
    overflow: hidden;
    width: 984px;
}

/* Form title section */
.formfill {
    margin: 0 auto;
    padding: 25px 0 0 29px;
    float: left;
    width: 100%;
    box-sizing: border-box;
}

.formfill h1 {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 19px;
    color: #000066;
    font-weight: bold;
}

.formfill p {
    font-size: 13px;
}

.redtext {
    color: #fe3434;
}

.righttxt {
    text-align: right;
    font-size: 13px;
}

/* Form details section */
.formdetail h2 {
    padding: 15px;
    color: #002975;
    background: #d9f5fd;
    font-size: 15px;
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    box-sizing: border-box;
    float: left;
    margin: 0;
}

.formupload {
    padding: 25px 0 25px 15px;
    background: #fff;
    width: 100%;
    display: inline-block;
    box-sizing: border-box;
}
.formupload1 {
    padding: 25px 0 25px 15px;
    background: #fff;
    width: 100%;
    display: inline-block;
    box-sizing: border-box;
}

/* Label field styling */
.labelField {
    float: left;
    width: 18%;
    padding-right: 2%;
    font-size: 13px;
    line-height: 30px;
}

/* General form field styling */
.form-field {
    margin-bottom: 28px;
    display: flex;
}

/* Custom dropdown styling */
.custom-dropdown {
    position: relative;
    width: 100%;
    max-width: 300px;
}

.dropdown-toggle {
 display: flex;
    align-items: center;
    padding: 22px 8px;
    cursor: pointer;
    background-color: #fff;
    border: solid 1px #c5c5c5;
    border-radius: 9px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: normal;
    height: 20px;
    position: relative;
    width: 100%;
    justify-content: space-between;
}

.dropdown-toggle .arrow {
    display: inline-block;
}

.dropdown-toggle.open .arrow {
    transform: rotate(-180deg);
}

.dropdown-options {
    display: none;
    position: absolute;
    z-index: 999;
    font-size: 14px;
    width: 100%;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 4px 4px;
    background-color: #fff;
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-options li {
    padding: 10px;
    cursor: pointer;
    border-bottom: dotted 1px #c5c5c5;
}

.dropdown-options li:hover {
    background-color: #f0f0f0;
}

/* .arrow {
    background: url(/form/upload/eng/images/select-icons.png) 0 -116px no-repeat;
    display: block;
    height: 30px;
    outline: none;
    position: absolute;
    right: 0;
    top: 0;
    width: 23px;
} */

/* Form type styling */
.formtype {
    float: left;
    width: 18%;
    padding-right: 2%;
    font-size: 13px;
}

/* Main content section */
.maincontent {
    margin: 0 auto;
    padding: 25px 29px;
    float: left;
    width: 100%;
    box-sizing: border-box;
}
.alertMsg {
    position: absolute;
    padding: 5px;
    white-space: nowrap;
    background: #fff9d2;
    border: 1px solid #c5c5c5;
    font-size: 12px;
    color: #000;
    z-index: 999;
    line-height: 14px;
    display: none;
    top: -28px;
    right: 0%;
}
.alertMsg img {
    position: absolute;
    top: 24px;
    left: 50%;
    margin-left: -8px;
}
.medium.inputBox.alpha {
    width: 170px;
    padding: 8px;
    font-size: 14px;
}
.alertMsg.name {
    color: red;
    font-size: 12px;
    display: none; /* Hidden by default */
}

.disclaimer {
    font-size: 11px !important;
    color: #666;
}
/* Name fields styling */
.name-fields {
    display: flex;
    gap: 10px; /* Space between Surname and Given Name fields */
}

.name-field {
    flex: 1; /* Each field takes equal width */
}

input#surname {
   width: 100%;
    padding: 19px 10px;
    border: 1px solid #c5c5c5;
    border-radius: 4px;
    font-size: 14px;
    height: 15px;
}
input#givenName, input#phoneNumber {
   width: 100%;
    padding: 19px 10px;
    border: 1px solid #c5c5c5;
    border-radius: 4px;
    font-size: 14px;
    height: 15px;
}


/* Phone field styling */
.phone-field {
    display: flex;
}

.phone-field select {
    flex: 1; /* Country code dropdown takes less width */
    padding: 8px;
    border: 1px solid #c5c5c5;
    border-radius: 4px;
    font-size: 14px;
}

input#countryCode {
    flex: 2; /* Phone number input takes more width */
    padding: 7px 10px;
    width: 110px;
    height: 15px;
    border: 1px solid #c5c5c5;
    border-radius: 4px;
    font-size: 14px;
}
    .section {
        margin-bottom: 20px;
    }

    .form-header {
        background: #d9f5fd;
        padding: 10px;
        font-weight: bold;
        color: #002b5e;
        font-size: 18px;
    }

    .supportDocumentsArea {
        background: #fff;
        width: 100%;
        display: inline-block;
        box-sizing: border-box;
        padding: 25px 0 25px 15px;
    }

    .bg {
        padding: 5px 10px;
        font-size: 13px;
        margin: 0px;
        text-align: left;
        line-height: 18px;
        background-color: #f7f7f7;
    }

    .fileUpload {
        float: left;
        width: 100%;
    }

    .singleRow {
        float: left;
        margin-bottom: 26px;
        width: 100%;
    }

    .labelField {
        float: left;
        width: 18%;
        padding-right: 2%;
        font-size: 13px;
        font-family: Arial, Helvetica, sans-serif;
    }

    .inputField {
        float: left;
        position: relative;
        width: 80%;
    }

    .alertMsg {
        position: absolute;
        padding: 5px;
        white-space: nowrap;
        background: #fff9d2;
        border: 1px solid #c5c5c5;
        font-size: 12px;
        color: #000;
        z-index: 999;
        line-height: 14px;
        display: none;
        top: -28px;
    }

    .fileSize {
        margin-left: 10px;
    }

    .Note {
        float: left;
        width: 100%;
    }

    .numLst {
        padding: 0 0px 10px 5px;
        margin: 0 0 0 25px;
        list-style: decimal;
        line-height: 17px;
    }

    .disclaimer {
        font-size: 11px !important;
        color: #666;
    }

    .BtnWrapper {
        padding: 20px 0 0;
        float: none;
        margin: 2% auto;
    }

    .blueBtn1 {
      background: #d1d5dc;
    width: 35%;
    padding: 10px 20px;
    color: #111827;
    font-size: 14px;
    display: block;
    text-align: center;
    cursor: pointer;
    text-transform: uppercase;
    margin: 0 auto;
    border-radius: 11px;
    text-decoration: none;
    }



  .card {
      background: #fff;
      border: 1px solid #e0e0e0;
      border-radius: 12px;
      padding: 24px 28px;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
      
      width: 100%;
    }

    .card h3 {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 20px;
      color: #1d1d1f;
    }

    
   

    .form-group {
      position: relative;
      flex: 1;
      min-width: 240px;
    }

    .form-group label {
      position: absolute;
      top: -8px;
      left: 12px;
      padding: 0 6px;
      background-color: #fff;
      font-size: 12px;
      color: #666;
      font-weight: 500;
      z-index: 1;
    }

    .form-group select {
      width: 100%;
      padding: 16px 12px 12px;
      font-size: 14px;
      border: 1px solid #dcdfe3;
      border-radius: 12px;
      background-color: #fff;
      color: #1d1d1f;
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 12px center;
      background-size: 16px 16px;
    }

    .form-group select:focus {
      border-color: #000;
      outline: none;
    }


    * {
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

.card1 {
  background: #fff;
  border: 1px solid #e0e3e7;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #1f1f1f;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

/* Floating Label Group */
.form-group.floating {
  position: relative;
}

.form-group.floating label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: white;
  color: #6c757d;
  padding: 0 4px;
  font-size: 14px;
  transition: 0.2s ease;
  pointer-events: none;
}

.form-group.floating input,
.form-group.floating select {
  width: 100%;
  padding: 14px 12px 6px;
  font-size: 14px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  background: #fafafa;
}

.form-group.floating input:focus,
.form-group.floating select:focus {
  outline: none;
  border-color: #000;
}

.form-group.floating input:focus + label,
.form-group.floating input:not(:placeholder-shown) + label,
.form-group.floating select:focus + label,
.form-group.floating select:valid + label {
  top: -8px;
  left: 8px;
  font-size: 12px;
  color: #000;
}

/* Phone input */
.phone-field {
  display: flex;
  align-items: center;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
  background: #fafafa;
}

.phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 10px;
  background: #fafafa;
  border-right: 1px solid #dee2e6;
  font-size: 14px;
  color: #333;
  gap: 6px;
}

.phone-field input {
  border: none;
  padding: 12px;
  font-size: 14px;
  width: 100%;
  background: transparent;
  outline: none;
}

/* Email field */
.email-field {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  background: #fafafa;
}

.email-field .icon-email {
  position: absolute;
  left: 12px;
  width: 16px;
  opacity: 0.6;
}

.email-field input {
  padding: 12px 12px 12px 36px;
  font-size: 14px;
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.issue-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  margin: 5% auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.title {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 20px;
}

textarea {
  resize: vertical;
  height: 100px;
}
input.issuesdet,
textarea {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
  color: #111827;
  width: 100%;
  box-sizing: border-box;
}

input.issuesdet::placeholder,
textarea::placeholder {
  color: #6b7280;
  font-size: 14px;
}
.form-issues {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

@media (max-width: 640px) {
  .form-issues {
    grid-template-columns: 1fr;
  }
}

.form-group.full {
    margin: 2% auto;
}

.upload-section {
  max-width: 1000px;
  margin: 0 auto;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.upload-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #111827;
}

.instructions {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 24px;
}

.upload-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.upload-box {
  border: 2px dashed #d1d5db;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  background-color: #f9fafb;
  transition: border-color 0.3s;
}

.icon {
  font-size: 32px;
  background: #e0f2fe;
  color: #2563eb;
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.upload-text {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
  color: #111827;
}

.upload-subtext {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 16px;
}

.upload-button {
  display: inline-block;
  background-color: #2563eb;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.upload-button input[type="file"] {
  display: none;
}

/* 🔁 Responsive Grid Tweaks */
@media (max-width: 768px) {
  .upload-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .upload-grid {
    grid-template-columns: 1fr;
  }
}
 .validation-message {
            background-color: #e3f2fd;
            border: 1px solid #bbdefb;
            border-radius: 6px;
            padding: 16px 20px;
            font-size: 14px;
            line-height: 1.5;
            color: #1976d2;
        }

 .validation-message .required-text {
            color: #d32f2f;
            font-weight: 600;
        }

        .validation-message .mandatory-text {
            color: #424242;
        }

    