/* =====================Verify Certificate Templates ==================== */

/* Certificate verify modal — loading spinner */
.mcsld-cert-verify-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 160px;
  padding: 24px 16px;
  box-sizing: border-box;
}

.mcsld-cert-verify-loading-spinner {
  display: block;
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 115, 170, 0.2);
  border-top-color: #0073aa;
  border-radius: 50%;
  animation: mcsld-cert-verify-spin 0.75s linear infinite;
}

.mcsld-cert-verify-loading-text {
  font-size: 15px;
  line-height: 1.4;
  color: #50575e;
}

@keyframes mcsld-cert-verify-spin {
  to {
    transform: rotate(360deg);
  }
}

.main-wrap{
    display: flex;
    justify-content: center;
}

.certificate-table-wrap{
  align-self: start;
    
}

.certificate-table {
  margin-bottom: 20px !important;
  border-collapse: collapse;
  width: 100%;
  /* max-width: 600px; */
}

.certificate-table td {
  padding: 10px;
  border: 1px solid #ddd;
}

.certificate-table .label {
  font-weight: bold;
  width: 40%;
  background-color: #f9f9f9;
}

.download-btn {
  display: inline-block;
  padding: 10px 16px;
  background-color: #0073aa;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

.download-btn:hover {
  background-color: #005f8d;
}

.mcsld-cert-valid-title{
  margin-top: 40px !important;
  margin-bottom: 12px !important;
  font-size: 27px !important;
}

.mcsld-cert-verified-image {
  /* border: 1px solid black; */
  filter: drop-shadow(5px 5px 5px gray);
  max-width: 100%;
}

.mcsld-cert-valid-preview-thumb {
  position: relative;
  max-width: 100%;
}

.mcsld-cert-preview-unavailable {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
}

.mcsld-cert-preview-unavailable .mcsld-cert-verified-image--blur {
  display: block;
  max-width: 100%;
  filter: blur(10px);
  opacity: 0.85;
}

.mcsld-cert-preview-unavailable-text {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 16px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: #1d2327;
  background: rgba(255, 255, 255, 0.55);
  box-sizing: border-box;
  pointer-events: none;
}

.mcsld-cert-verify-modal-content{
    position: relative;
}

.mcsld-cert-verify-close{
    position: absolute;
    right: 0;
    background-color: #5c5c5c;
    border-radius: 3px;
    color: #fff;
    font-weight: 600;
    padding: 0px 6px;
    cursor: pointer;
}

.mcsld-cert-verify-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    margin-bottom: 30px;
    /* background: linear-gradient(135deg, #b4b0ff, #9d99ea); */
    background-color: #f5f5f5;
    border-radius: 7px;

    /* box-shadow: 0 8px 24px rgba(0,0,0,0.08); */
    flex-wrap: wrap;
}

.mcsld-cert-verify-box label {
    font-size: 18px;
    font-weight: 600;
    color: #1d2555;
    margin: 0;
    white-space: nowrap;
}

.mcsld-result-valid-inner{
  background-color: #f5f5f5;
  padding: 25px;
  border-radius: 7px;
}

.mcsld-cert-verify-code {
    flex: 1;
    /* min-width: 260px; */

    height: 52px;
    padding: 0 18px;

    border: none;
    border-radius: 12px;

    font-size: 16px;
    color: #222;

    background: #fff;

    box-shadow: inset 0 2px 6px rgba(0,0,0,0.06);

    transition: all 0.3s ease;
}

.mcsld-cert-verify-code:focus {
    outline: none;
    box-shadow:
        0 0 0 4px rgba(255,255,255,0.35),
        0 4px 12px rgba(0,0,0,0.08);
}

.mcsld-cert-verify-btn {
    height: 52px;
    padding: 0 26px;

    border: none;
    border-radius: 12px;

    background: #1f5fae;
    color: #fff;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    transition: all 0.3s ease;
}

.mcsld-cert-verify-btn:hover {
    background: #174b8a;
    transform: translateY(-1px);
}

.mcsld-cert-verify-btn:active {
    transform: translateY(0);
}

/* Mobile */
@media (max-width: 768px) {
    .mcsld-cert-verify-box {
        flex-direction: column;
        align-items: stretch;
    }

    .mcsld-cert-verify-btn {
        width: 100%;
    }

    .mcsld-cert-verify-code {
        width: 100%;
    }

    .mcsld-cert-verified-image{
      max-width: 100%;
    }
}

/* =====================Social Shares ==================== */

.mcsld-cert-valid-actions{
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin: 40px 0px;
}

.mscld-download-certificate-btn-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mcsld-cert-valid-social-label-wrap{
  display: flex;
  justify-content: center;
  align-items: center;
}

.mcsld-cert-valid-social-label{
  margin: 0 !important;
  padding: 0 !important;
}

:root {
    --shr-chatgpt: #000;
    --shr-perplexity: #20808d;
    --shr-linkedin: #0077b5;
    --shr-whatsapp: #1BD741;
    --shr-twitter: #000;
    --shr-gmail: #dedede;
    --shr-facebook: #475a96;
  }
  
  /* Main Wrapper */
  .social-share-box {
    /* margin-top: 40px; */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }
  
  /* Hiding the Count - Only Total Count needs to be shown */
  .social-share-box .sft-social .shr-cnt {
    display: none;
  }
  
  /* Total Count Container CSS */
  .overall-sc-shr-cnt-box {
    margin-right: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 18px;
    line-height: 1.5;
  }
  
  .overall-sc-shr-cnt-box .share_label {
    font-size: 12px;
  }
  
  /* Button Container Common CSS */
  .sc-shr-img-name-box {
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    line-height: 1;
    color: white;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .sc-shr-img-name-box img {
    margin: 0px !important;
    width: 25px !important;
    height: 25px !important;
  }
  
  /* Setting Background for Each Button */
  #chatgpt-img-name-icon {
    background-color: var(--shr-chatgpt);
  }
  
  #perplexity-img-name-icon {
    background-color: var(--shr-perplexity);
  }
  
  #linkedin-img-name-icon {
    background-color: var(--shr-linkedin);
  }
  
  #whatsapp-img-name-icon {
    background-color: var(--shr-whatsapp);
  }
  
  #twitterX-img-name-icon {
    background-color: var(--shr-twitter);
  }
  
  #gmail-img-name-icon, #copy-img-name-icon {
    background-color: var(--shr-gmail);
  }

  #copy-sc-shr-box {
    position: relative;
  }

  .mcsld-copy-tooltip {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 10px;
    font-size: 12px;
    line-height: 1.2;
    color: #fff;
    background: #333;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 10;
  }

  .mcsld-copy-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: #333;
  }
  
  #facebook-img-name-icon {
    background-color: var(--shr-facebook);
  }
  
  /* Media Queries for Smaller Devices */ 
  @media screen and (max-width: 690px) {
    .sc-shr-img-name-box .sc-icon-name {
      display: none;
    }
  
    #overall-sc-shr-box {
      display: none;
    }
  
    .sc-shr-img-name-box {
      padding: 8px;
    }
  }

.mcsld-vt1-people {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 25px;
  width: 100%;
}

.mcsld-vt1-people-recipient {
  flex: 0 0 auto;
}

.mcsld-vt1-people-instructors {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
  flex: 0 1 auto;
  margin-left: auto;
  min-width: 0;
  max-width: 70%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.mcsld-vt1-people-instructors:hover {
  scrollbar-width: thin;
  scrollbar-color: #888 #f0f0f0;
}

.mcsld-vt1-people-instructors::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.mcsld-vt1-people-instructors:hover::-webkit-scrollbar {
  width: 0;
  height: 8px;
}

.mcsld-vt1-people-instructors:hover::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 4px;
}

.mcsld-vt1-people-instructors:hover::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.mcsld-vt1-people-instructors .mcsld-vt2-person {
  flex-shrink: 0;
}

.mcsld-cert-download-btn{
  border: none !important;
  background: #2f7df6 !important;
  color: #fff !important;
  padding: 15px 20px !important;
  border-radius: 6px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: 0.3s !important;
}

  /* ================== template 02 - vertical ====================  */

  .mcsld-vt2-wrap {
    background: #f5f5f5;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

.mcsld-vt2-result-valid-inner {
    max-width: 1150px;
    margin: auto;
    background: #fff;
    padding: 24px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}

/* TOPBAR */

.mcsld-vt2-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.mcsld-vt2-cert-id {
    color: #2f7df6;
    font-weight: 700;
    font-size: 20px;
}

.mcsld-vt2-socials {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #111;
    font-weight: 600;
}

.mcsld-vt2-linkedin-btn {
    border: none;
    background: #0a66c2;
    color: #fff;
    padding: 10px 18px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
}

/* MAIN CONTENT */

.mcsld-vt2-content {
    display: flex;
    gap: 40px;
}

/* LEFT */

.mcsld-vt2-left {
    flex: 1;
}

.mcsld-vt2-certificate-box {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.mcsld-vt2-certificate-box img {
    width: 100%;
    display: block;
}

.mcsld-vt2-people {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-top: 25px;
    width: 100%;
}

.mcsld-vt2-people-recipient {
    flex: 0 0 auto;
}

.mcsld-vt2-people-instructors {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    flex: 0 0 auto;
    margin-left: auto;
    max-height: 155px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.mcsld-vt2-people-instructors:hover {
    scrollbar-width: thin;
    scrollbar-color: #888 #f0f0f0;
}

.mcsld-vt2-people-instructors::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.mcsld-vt2-people-instructors:hover::-webkit-scrollbar {
    width: 8px;
    height: 0;
}

.mcsld-vt2-people-instructors:hover::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.mcsld-vt2-people-instructors:hover::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.mcsld-vt2-people-instructors .mcsld-vt2-person {
    flex-shrink: 0;
}

.mcsld-vt2-person {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mcsld-vt2-person img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.mcsld-vt2-person span {
    display: block;
    color: #2f7df6;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 3px;
}

.mcsld-vt2-person p {
    margin: 0;
    color: #444;
}

/* RIGHT */

.mcsld-vt2-right {
    width: 400px;
}

.mcsld-vt2-title {
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 22px;
    color: #333;
}

.mcsld-vt2-desc {
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
}

.mcsld-vt2-dates {
    margin-bottom: 30px;
}

.mcsld-vt2-date-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    gap: 20px;
}

.mcsld-vt2-date-row span {
    color: #888;
}

.mcsld-vt2-date-row strong {
    color: #555;
}

/* COURSE CARD */

.mcsld-vt2-course-card {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 25px;
    background: #fff;
}

.mcsld-vt2-course-card h3 {
    color: #2f7df6;
    font-size: 18px;
    margin: 18px;
}

.mcsld-vt2-course-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.mcsld-vt2-course-bottom {
    padding: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.mcsld-vt2-course-bottom h4 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.mcsld-vt2-course-bottom a {
    color: #2f7df6;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

/* BUTTON */

.mcsld-vt2-download-btn {
    width: 100%;
    border: none;
    background: #2f7df6;
    color: #fff;
    padding: 16px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.mcsld-vt2-download-btn:hover {
    background: #1f67d6;
}

/* RESPONSIVE */

@media (max-width: 980px) {

    .mcsld-vt2-content {
        flex-direction: column;
    }

    .mcsld-vt2-right {
        width: 100%;
    }

    .mcsld-vt2-title {
        font-size: 34px;
    }
}

@media (max-width: 600px) {

    .mcsld-vt2-result-valid-inner {
        padding: 18px;
    }

    .mcsld-vt2-title {
        font-size: 28px;
    }

    .mcsld-vt2-date-row {
        flex-direction: column;
        gap: 5px;
    }

    .mcsld-vt2-course-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .mcsld-vt2-people {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .mcsld-vt2-people-instructors {
        align-items: flex-start;
        margin-left: 0;
        max-height: 132px;
        width: 100%;
    }

    .mcsld-vt1-people {
        flex-direction: column;
        align-items: flex-start;
    }

    .mcsld-vt1-people-instructors {
        max-width: 100%;
        justify-content: flex-start;
        width: 100%;
    }
}

@media (max-width: 500px) {
  .mcsld-cert-valid-preview-copy {
    margin: 20px;
  }

  .mcsld-cert-verified-image {
    max-width: 89%;
    margin: 20px;
  }

  .certificate-table td {
    padding: 2px;
  }

  .mcsld-vt1-people{
    margin: 17px;
    max-width: 90%;
  }

  .mcsld-cert-valid-actions {
    flex-direction: column;
    gap: 25px;
  }
}
