.elementor-2721 .elementor-element.elementor-element-3d6abac{--display:flex;--padding-top:50px;--padding-bottom:50px;--padding-left:0px;--padding-right:0px;}.elementor-2721 .elementor-element.elementor-element-3d6abac:not(.elementor-motion-effects-element-type-background), .elementor-2721 .elementor-element.elementor-element-3d6abac > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#F4F4F4;}.elementor-widget .tippy-tooltip .tippy-content{text-align:center;}@media(max-width:767px){.elementor-2721 .elementor-element.elementor-element-3d6abac{--padding-top:10px;--padding-bottom:10px;--padding-left:10px;--padding-right:10px;}}/* Start custom CSS for shortcode, class: .elementor-element-678a88f */@media (max-width: 768px) {
  .cf7-table-head {
    display: none !important;
  }

  .wpcf7 form {
    padding: 16px !important;
    box-sizing: border-box;
  }

  .cf7-table-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 15px;
    margin: 0 12px 20px 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }

  .cf7-table-row > div {
    width: 100%;
  }

  /* ✅ Highlight SI/No. */
  .cf7-table-row > div:first-child {
    font-weight: bold;
    background: #eef5ff;
    padding: 8px 12px;
    border-radius: 6px;
    color: #003366;
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.05);
  }

  .cf7-table-row input,
  .cf7-table-row select,
  .cf7-table-row textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    box-sizing: border-box;
  }

  .cf7-table-row label {
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
  }
}





/* ===== Mobile-Only Card Style Table for Contact Form 7 ===== */
@media screen and (max-width: 767px) {
  .cf7-table {
    border: none;
    padding: 0;
    
  }

  .cf7-table-head {
    display: none; /* Hide desktop table headings */
  }

  .cf7-table-row {
    display: flex;
    flex-direction: column;
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 15px;
    padding: 12px;
  }

  .cf7-table-row > div {
    position: relative;
    margin-bottom: 10px;
    font-size: 14px;
  }

  .cf7-table-row > div::before {
    content: "";
    font-weight: 600;
    font-size: 13px;
    display: block;
    margin-bottom: 4px;
    color: #444;
  }

  /* Target specific column labels using nth-child */
  .cf7-table-row > div:nth-child(1)::before { content: "SI"; }
  .cf7-table-row > div:nth-child(2)::before { content: "Name"; }
  .cf7-table-row > div:nth-child(3)::before { content: "Contact"; }
  .cf7-table-row > div:nth-child(4)::before { content: "Email"; }
  .cf7-table-row > div:nth-child(5)::before { content: "Designation"; }
  .cf7-table-row > div:nth-child(6)::before { content: "Age"; }
  .cf7-table-row > div:nth-child(7)::before { content: "Gender"; }

  /* Optional: last item spacing fix */
  .cf7-table-row > div:last-child {
    margin-bottom: 0;
  }
}





/* ===== Reset Wrapper Padding and Box-Sizing ===== */


.wpcf7 form {
  max-width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}

/* ===== Section Title ===== */
.cf7-section-title {
  font-size: 20px;
  font-weight: 700;
  margin: 30px 0 10px;
  text-align: left;
}

/* ===== Notes Styling ===== */
.cf7-note {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

/* ===== Form Layout ===== */
.organisation-form-modern,
.source-form-modern {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.form-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 15px;
}

.form-group {
  flex: 1 1 48%;
  min-width: 240px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea,
.form-group .wpcf7-form-control-wrap {
  font-size: 14px;
}

textarea {
  resize: vertical;
}

/* ===== Member Table Styling ===== */
.cf7-table {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-bottom: 20px;
  
}

.cf7-table-head,
.cf7-table-row {
  display: grid;
  grid-template-columns: 40px repeat(6, minmax(100px, 1fr));
  gap: 10px;
  padding: 10px;
  border-bottom: 1px solid #eee;
  align-items: center;
  min-width: 700px;
}

.cf7-table-head {
  background: #f9f9f9;
  font-weight: bold;
}

.cf7-table-row div input,
.cf7-table-row div select {
  width: 100%;
}

/* ===== File Upload + Rules ===== */
.cf7-file-upload {
  margin: 20px 0;
}

.cf7-rules {
  font-size: 13px;
  margin: 10px 0;
  color: #333;
}

.cf7-rules p {
  margin: 5px 0;
}

/* ===== Submit + Checkbox ===== */
.source-form-modern .checkbox {
  font-size: 14px;
  margin-top: 10px;
}

.submit-btn {
  background-color: #2563eb;
  color: #fff;
  font-size: 16px;
  padding: 10px 25px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 15px;
  width: fit-content;
}

/* ===== Responsive Fixes ===== */
@media screen and (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 12px;
  }

  .cf7-section-title {
    font-size: 18px;
  }

  .cf7-table-head,
  .cf7-table-row {
    font-size: 13px;
    padding: 8px;
  }
}




textarea {
    height: 160px;
  width: 100% !important;
  max-width: 100% !important;
  padding: 12px 16px !important;
  border: 1px solid #ccc !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  font-family: 'Segoe UI', Tahoma, sans-serif !important;
  background-color: #fff !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.3s ease !important;
  resize: vertical !important;
}

textarea:focus {
  border-color: #0d6efd !important; /* Bootstrap primary color */
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.2) !important;
  outline: none !important;
}






.cf7-section-title {
  font-size: 22px;
  font-weight: bold;
  margin: 30px 0 15px;
  text-align: center;
  text-transform: uppercase;
}

.cf7-note {
  font-size: 14px;
  text-align: center;
  color: #888;
  margin-bottom: 20px;
}

.cf7-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 15px 20px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 0;
}

.cf7-grid textarea {
  min-height: 80px;
}

.cf7-grid input,
.cf7-grid textarea,
.cf7-table-row input,
.cf7-table-row select {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.cf7-table {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-x: auto;
}

.cf7-table-head,
.cf7-table-row {
  display: grid;
  grid-template-columns: 40px 1fr 1fr 1fr 1fr 60px 1fr;
  gap: 10px;
  align-items: center;
  
}

.cf7-table-head {
  font-weight: bold;
  background: #f2f2f2;
  padding: 10px;
  border-bottom: 1px solid #ccc;
}

.cf7-table-row {
  padding: 10px 10px;
  border-bottom: 1px dashed #ddd;
}

@media screen and (max-width: 768px) {
  .cf7-grid {
    grid-template-columns: 1fr;
    
  }

  .cf7-table-head,
  .cf7-table-row {
    grid-template-columns: repeat(2, 1fr);
            padding: 10px;
  }
  
  
  .form-group input  {
    width: 100% !important;
    font-size: 14px;
}

}


.cf7-rules {
  font-size: 14px;
  color: #d9534f;
  background: #fff3f3;
  padding: 15px;
  border: 1px solid #f5c6cb;
  border-radius: 6px;
  margin: 0 auto 20px;
  max-width: 1000px;
  line-height: 1.5;
}
.cf7-rules p {
  margin: 5px 0;
}

/* File Upload Field Styling */
.cf7-file-upload {
  max-width: 600px;
  margin: 0 auto 30px;
  text-align: left;
}

.file-upload-field {
  display: block;
  padding: 12px;
  font-size: 16px;
  border: 2px dashed #ccc;
  border-radius: 8px;
  width: 100%;
  cursor: pointer;
  background-color: #fafafa;
  transition: all 0.3s ease;
}

.file-upload-field:hover {
  border-color: #0073aa;
  background-color: #f0f8ff;
}

.file-upload-field:focus {
  border-color: #005b99;
  outline: none;
}


.organisation-form-modern {
  max-width: 960px;
  margin: 0 auto;
  padding: 30px;
  font-family: "Segoe UI", sans-serif;
  background: #fff;
}

.organisation-form-modern .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 24px;
}

.organisation-form-modern .form-group {
  display: flex;
  flex-direction: column;
}

.organisation-form-modern .form-group label {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  font-size: 15px;
}

.organisation-form-modern .form-group input,
.organisation-form-modern .form-group select,
.organisation-form-modern .form-group textarea {
  padding: 12px 16px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #f9f9f9;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.organisation-form-modern .form-group input:focus,
.organisation-form-modern .form-group select:focus,
.organisation-form-modern .form-group textarea:focus {
  border-color: #0056d2;
  box-shadow: 0 0 0 3px rgba(0, 86, 210, 0.1);
  background-color: #fff;
  outline: none;
}

@media (max-width: 768px) {
  .organisation-form-modern .form-row {
    grid-template-columns: 1fr;
  }
}

.source-form-modern {
  max-width: 800px;
  margin: 0 auto;
  font-family: "Segoe UI", sans-serif;
  padding: 20px 0;
}

.source-form-modern .form-group {
  margin-bottom: 22px;
}

.source-form-modern label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 16px;
  color: #333;
}

.source-form-modern input[type="radio"] {
  margin-right: 8px;
  transform: scale(1.1);
  accent-color: #0056d2;
}

.source-form-modern .form-group label input[type="radio"] {
  margin-right: 10px;
}

.source-form-modern textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #f9f9f9;
  resize: vertical;
  min-height: 100px;
}

.source-form-modern .checkbox {
  font-size: 15px;
}

.source-form-modern input[type="checkbox"] {
  transform: scale(1.2);
  margin-right: 10px;
  accent-color: #0056d2;
}

.source-form-modern .submit-btn {
  padding: 12px 30px;
  font-size: 16px;
  border: none;
  background-color: #0056d2;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.source-form-modern .submit-btn:hover {
  background-color: #003e9f;
}/* End custom CSS */