@font-face {
    font-family: 'NUA'; 
    src: url('../fonts/nua.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.epya-tabs-nav { list-style: none; padding: 0; display: flex; margin-bottom: 10px; justify-content: center; }
.epya-tabs-nav li { padding: 5px 15px; cursor: pointer; background: #bfef8c; margin-right: 5px; border-radius: 3px; }
.epya-tabs-nav li.active { background: #8bc34a }
.epya-tab-content { 
  display: none; 
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center; 
}
.epya-tab-content.active { display: grid; }
.epya-material-item { display: inline-block; margin: 5px; text-align: center; }
    

.epya-passwrap {
  display: flex;
  align-items: center;
  align-items: stretch;
}

.epya-eye i.fas.fa-eye {
    color: white;
}

.epya-error {
    background: #ef8c8c;
    padding: 10px 20px;
    border: 1px solid #f00;
    margin-bottom: 30px;
}

.epya-material-tabs {
    max-width: 700px;
    text-align: center;
}

.epya-success{
  background: #8cefd1;
  padding: 10px 20px;
  border: 1px solid #0f0;
  margin-bottom: 30px;
}

label, legend {
    color: white !important;
}
.epya-passwrap input {
  flex: 1;
  padding: 8px;
}
.epya-eye {
  background: #bfef8c;
  border: none;
  cursor: pointer;
  padding: 6px;
  font-size: 16px;
}
.epya-dropzone {
  border: 2px dashed #ddd;
  padding: 20px;
  text-align: center;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.epya-dropzone.dragover {
  background: #f0f8ff;
  border-color: #1e73be;
}
.epya-canvas-wrap {
    width: 70%;
}

.epya-controls {
    width: 30%;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.epya-material-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 8px;
    padding: 6px;
    border-radius: 6px;
    text-align: center;
    width: 100%;
    gap: 20px;
}

.epya-material-item button.epya-delete {
    background: #e74c3c;
    border: none;
    color: #fff;
    cursor: pointer;
    width: 100%;
}
.epya-material-item button.epya-delete:hover {
  background: #c0392b;
}

div#msg_upload {
    padding: 10px 20px;
    text-align: center;
    background: #8d8d8d;
    border: 2px solid #ffffff;
    margin-bottom: 30px;
}

a.epya-btn button {
    width: 100% !important;
}

div#epya-upload-box {
    position: relative;
}

input#epya-file-input{
  position:absolute; 
  opacity:0; 
  width:100%; 
  height:100%; 
  top:0; left:0; 
  cursor:pointer;
}

div#epya-material-list > * {
    width: 100%; 
}

div#epya-material-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: stretch;
    align-items: stretch;
}



@media (min-width: 1024px){
  .epya-login-wrap, .epya-container {
    max-width: 1000px;
  }
  .epya-user-options {
    max-width: 700px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-direction: column;
  }
  .epya-customize-materials {
    max-width: 1000px !important;
  }
}

@media (max-width: 1023px){
  div#epya-material-list {
      display: block;
  }
  .epya-tab-content.active { display: block !important; }
  .epya-canvas-wrap {
      width: 100%;
  }

  .epya-controls {
      width: 100%;
      text-align: left;
  }
  .epya-material-item {
    display: block;
  }

  .epya-user-options {
    max-width: 90%;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-direction: column;
  }
}