
body {
    font-family: Arial, sans-serif;
}



  footer {
      padding: 1em;
      background-color: #FFC9A7;
      font-size: 0.8em;
  }
   main{
       overflow: auto;
       min-height: 30vh;
       background-color: red;
       width: 1000px;
       margin: auto;
       box-shadow: -1000px 0 0 #f7f7f7, 1000px 0 0 #f7f7f7;
       padding-top: 20px;
   }
/*.smart-table tr:not(.selected):hover {
    background: rgba(0, 0, 0, 0.05);
}*/

.smart-table tr.selected {
    background: rgba(0, 0, 0, 0.2);
}
.inputheader{border: 1px solid; text-align: center;  padding: 2px;}

.smart-table-hint {
    font-size: 12px;
    padding: 8px;
    background: lightgrey;
    border-radius: 4px;
    border: 1px solid gray;
    position: relative;
    cursor: pointer;
}

.smart-table-hint:before {
    content: "✖️";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    text-align: right;
    position: absolute;
    background: lightgray;
    right: 4px;
    top: 4px;
}

.smart-table-hint.collapsed {
    width: 100px;
}

.smart-table-hint.collapsed:before {
    content: "Hint";
    display: inline;
    position: static;
    width: auto;
    height: auto;
}

.smart-table-hint.collapsed li{
    display: none;
}

.smart-table-hint li {
    margin: 1px 0 1px 14px;
}
.errors{
    color:red; padding: 10px; border: 1px red solid; background-color: yellow; text-align: center;
}


 .certificate-header {
  margin-bottom: 15px;
}

.certificate-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom:2px solid  ;
  padding-bottom: 20px;
}

.actions-left,
.actions-center,
.actions-right,
.actions-delete {
  display: flex;
  align-items: center;
  gap: 15px;
}

.printbutton {
  padding: 1px 6px;
}

.icon-print {
  background: none;
  border: none;
  cursor: pointer;
}

.icon-print i {
  font-size: 24px;
  color: red;
}
#submit {
  appearance: none;
  border: none;
  padding: 6px 12px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;

  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #ffffff;

  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
  transition: all 0.2s ease;
}
#submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.4);
  cursor: pointer;
}

.btn {
  appearance: none;
  border: none;
  padding: 6px 12px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  color: #ffffff;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.btn-danger {
  background: linear-gradient(135deg, #dc2626, #991b1b);
}
.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1e40af);
}
.btn-success {
  background: linear-gradient(135deg, #16a34a, #166534);
}
.btn-danger {
  background: linear-gradient(135deg, #dc2626, #991b1b);
}
.btn-warning {
  background: linear-gradient(135deg, #f59e0b, #b45309);
}
.btn-info {
  background: linear-gradient(135deg, #7c3aed, #4c1d95);
}
.btn-secondary {
  background: linear-gradient(135deg, #6b7280, #374151);
}

