.cert-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.cert-item {
  background-color: #f9f9f9;
  padding: 1.5em;
  margin: 1.5em 0;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

/* .cert-item:hover {
  transform: scale(1.02);
} */

.cert-name {
  font-size: 1.2em;
  color: #333;
  cursor: pointer;
  margin: 0;
  transition: color 0.2s ease;
}

.cert-name:hover {
  color: #3e8ddd;
}

.cert-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1em;
}

.cert-table th,
.cert-table td {
  padding: 0.75em;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.cert-table thead th {
  background-color: #3e8ddd !important;
  color: white;
  font-weight: bold !important;
}

.cert-table td {
  background-color: #fff;
}

.cert-table tr:hover td {
  background-color: #f1f1f1;
}

.cert-table a {
  color: #3e8ddd;
  text-decoration: none;
}

.cert-table a:hover {
  text-decoration: underline;
}

.cert-table td:last-child {
  text-align: right;
}

.cert-certificate-generator {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  font-family: Arial, sans-serif;
}

.cert-controls {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cert-buttons-group, .cert-actions-group {
  background: #f5f5f5;
  padding: 10px;
  border-radius: 8px;
  flex: 1;
}

.cert-buttons-group h3, .cert-actions-group h3 {
  margin-top: 0;
  margin-bottom: 5px;
  font-size: 16px;
  color: #333;
}

.cert-add-btn, .cert-send-btn, .cert-remove-btn {
  display: block;
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  text-align: center;
}

.cert-add-btn {
  background-color: #4CAF50;
  color: white;
}

.cert-add-btn:hover {
  background-color: #45a049;
}

.cert-send-btn {
  background-color: #2196F3;
  color: white;
}

.cert-send-btn:hover {
  background-color: #0b7dda;
}

.cert-send-btn:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

.cert-remove-btn {
  background-color: #f44336;
  color: white;
  margin-top: 15px;
}

.cert-remove-btn:hover {
  background-color: #da190b;
}

.cert-properties-panel {
  background: #f5f5f5;
  padding: 15px;
  border-radius: 8px;
  margin-top: 10px;
}

.cert-properties-panel h3 {
  margin-top: 0;
  margin-bottom: 5px;
  font-size: 16px;
  color: #333;
}

.cert-property-group {
  margin: 5px;

}

.cert-property-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  color: #666;
}

.cert-property-group input, 
.cert-property-group select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.cert-certificate-container {
  flex: 1;
  position: relative;
  border: 1px dashed #ccc;
  min-height: 600px;
}

.cert-certificate {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 600px;
  max-height: 600px;
  background-color: white;
}

.cert-draggable {
  padding: 5px 10px;
  user-select: none;
}

.cert-draggable:hover {
  outline: 2px dashed #4CAF50;
}

.cert-api-response {
  margin-top: 20px;
  padding: 10px;
  background: #f0f0f0;
  border-radius: 4px;
  max-height: 200px;
  overflow: auto;
  font-size: 12px;
}

.cert-api-response pre {
  margin: 0;
  white-space: pre-wrap;
}
