@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
:root {
  --green-light: rgb(181, 252, 214);
}
*{
    font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
}
.full-height {
  height: 100vh;
}
table{
  td,th{
    font-size: 14px;
    padding-block: 1rem !important;
  }
  th{
    font-weight: 600;
  }
  tr{
    td:first-child, th:first-child{
        padding-left: 1.5rem !important;
    }
  }
}
.main {
  .leftbar .bottom,
  .rightbar {
    padding: 1em;
  }
  .leftbar {
    width: 100%;
    max-width: 300px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    gap: 1em;
    .top {
      border-bottom: 1px solid #ebe6e6;
      img {
        max-height: 80px;
        display: block;
        margin: 0 auto;
      }
    }

    .menu {
      flex: 1;
      overflow-y: auto;
    }
  }
  .rightbar {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1em;

    .content {
      padding: 1em;
      border: 1px solid #ddd;
      background-color: #fff;
      display: flex;
      flex-direction: column;
      max-height: calc(100vh - 40px);
      gap: 1em;
      .top {
        display: flex;
        justify-content: space-between;
        align-items: center;

        + div {
          /* background-color: red; */
          flex: 1;
          max-height: calc(100% - 50px);
        }
      }
    }
  }
}

.template-form {
  display: flex;
  align-items: stretch;
  height: 100%;
  overflow-x: hidden;
  gap: 1em;
  .ceritificate-sidebar {
    overflow-y: scroll;
    max-height: 98%; 
    padding-right:15px;
    .form-check {
      label {
        display: block;
        cursor: pointer;
      }
      border: 1px solid #ddd;
      padding: 0.5em 0.5em 0.5em 2em;

      &:has(input:checked),
      &:hover {
        background: var(--green-light);
      }
    }
    .form-label{
        font-weight: 600;
        font-size: 13px;
        color: #454545;
        margin-bottom: 3px;
    }
    h5{
        margin-top: 25px;
        font-weight: 600;
    }
  }

  .ceritificate-main {
    flex: 1;
    .certificate-card {
      height: 5.8646in;
      padding: 0;
      width: 8.2999in;
      border-radius: 4px;
      background-color: #fff;
      box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.1),
        0 1px 3px 0 rgba(0, 0, 0, 0.06);
      .certificate-wrapper {
        height: 8.26in;
        -webkit-transform: scale(0.71);
        transform: scale(0.71);
        -webkit-transform-origin: top left;
        transform-origin: top left;
        width: 12in;
      }
    }
    iframe {
      border: 0;
      height: 100%;
      width: 100%;
    }
  }
}

#notifier {
    position: fixed;
    top: 20px;
    right: -300px;
    background-color: #4caf50;
    color: white;
    padding: 12px 20px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: all 0.3s ease-in-out;
}

#notifier.slide-in {
    right: 0px;
}

#notifier.slide-out {
    right: -300px;
}
