.dft-custom-table {
  border: 1px solid #003764;
  border-radius: 16px;
  overflow: hidden;
  font-family: 'Arial', sans-serif;
}

.dft-custom-table .table-header {
  background-color: #003764;
  color: white;
  padding: 12px 64px 10px 24px;
  font-weight: 700;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0;
  border-bottom: 1px solid #003764;
}

.dft-custom-table .table-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 64px 10px 24px;
  border-bottom: 1px solid #003764;
  column-gap: 25px;
}

.dft-custom-table .table-row:last-child {
  border-bottom: none;
}

.dft-custom-table .table-row:nth-child(odd) {
  background-color: #fff;
}

.dft-custom-table .table-row:nth-child(even) {
  background-color: #EDF1F3;
}

.dft-custom-table .table-title {
  flex: 1;
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0;
  color: #003764;
}

.dft-custom-table .table-download {
  white-space: nowrap;
  line-height: 8px;
}

.dft-custom-table .table-download a {
  text-decoration: none;
}

.table-download > a.cdcn-email {
  position: relative;
  right: 36px;
}

.table-download > a.cdcn-phone {
  position: relative;
  right: 50px;
}

.dft-custom-table .table-download .download-text {
  color: #003764;
  margin-left: 3px;
  font-weight: 700;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0;
  text-decoration: underline;
}

.dft-custom-table .table-download a:hover .download-text {
  text-decoration: none;
}

.dft-custom-table .download-icon {
  font-size: 16px;
  vertical-align: middle;
  line-height: 16px;
}

@media screen and (max-width: 1024px) and (min-width: 768px) {
  .dft-custom-table .table-header,
  .dft-custom-table .table-row {
    padding: 12px 24px;
  }
}

@media screen and (max-width: 767px) {
  .dft-custom-table .table-header,
  .dft-custom-table .table-row {
    padding: 12px 16px;
  }
  .dft-custom-table .table-download .download-text{
    display: none;
  }
}

/*  Download Forms */
.form-download-block {
  display: flex;
  flex-direction: column;
  row-gap: 24px;
}

.form-download-block .download-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* Align download icon to the top */
  gap: 12px;
  padding: 16px;
  border: 2px solid #D9D8D6;
  border-radius: 16px;
  text-decoration: none;
  background: #fff;
  transition: box-shadow 0.2s ease;
  color: inherit;
}

.form-download-block .download-card:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-download-block .card-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.form-download-block svg {
  flex: 0 0 24px;
}

.form-download-block .card-text .title {
  color: #003764;
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0px;
}

.form-download-block .card-text .meta {
  color: #666;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0px;
}

@media screen and (max-width: 767px) {
    .form-download-block {
        row-gap: 16px;
    }
}



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

.rdc-popup-box {
  background: #fff;
  padding: 40px;
  /*max-width: 600px;*/
  width: 65vw;
  position: relative;
  border-radius: 24px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  height: auto;
}

.rdc-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #003764;
}

.rdc-popup-content {
  font-size: 16px;
  line-height: 20;
  color: #003764;
}

/* Responsive Video */
.rdc-video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 18px;
}

.rdc-video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media only screen and (max-width: 1024px) {
    .rdc-popup-box  {
        width: 75vw;
    }
}

@media only screen and (max-width: 767px) {
    .rdc-popup-box  {
        border-radius: 20px;
        width: 95vw;
        padding: 35px 16px 35px 16px;
    }
    .rdc-popup-close{
        top: 7px;
        right: 15px;
        font-size: 25px;
    }
}


.form-choices-download-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-choices-download-item {
  display: flex;
}

.form-choices-download-link {
  display: flex;
  align-items: flex-start; 
  gap: 16px; 
  text-decoration: none;
  color: #003764;
}

.form-choices-download-icon {
  display: flex;
  line-height: 1; 
  margin-top: 2px;
}

.form-choices-download-text {
  text-decoration: underline;
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
}

.form-choices-download-text:hover {
  text-decoration: none;
}


/* name */
.form-choices-download-list.cdcn-type-name {
  flex-direction: row;
  justify-content: center;
  gap: 40px; /* Updated */
  flex-wrap: wrap; /* added new */
}
 
.cdcn-type-name .form-choices-download-icon { display: none; }

.cdcn-type-name a, .cdcn-type-name .form-choices-download-text {
  text-decoration: none !important;
  font-family: "Roboto", Sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: 0px;
  align-items: center; /* added new */
}

.cdcn-type-name .form-choices-download-item {
  display: flex;
  border: 2px solid #D9D8D6;
  border-radius: 16px;
  padding: 40px 45px; /* Updated */
  text-align: center;
  transition: border-color 0.3s ease;
  flex: 0 1 339px; /* added new */
  justify-content: center; /* added new */
}

.cdcn-type-name .form-choices-download-item:hover {
  border-color: #009ADE;
}

@media screen and (max-width: 767px) {
  .cdcn-type-name .form-choices-download-item {
      padding: 40px 17px;
  }
  .form-choices-download-list.cdcn-type-name{
    gap: 16px;
  }
}