.crypto-donations-admin {
  font-family: "Arial", sans-serif;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.crypto-title {
  font-size: 24px;
  text-align: center;
  color: #333;
  margin-bottom: 20px;
}

.crypto-form {
  max-width: 800px;
  margin: 0 auto;
}

.crypto-section {
  margin-bottom: 30px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  background: #f9f9f9;
  max-width: 800px;
  /* Ensure consistent width for all sections */
  margin-left: auto;
  margin-right: auto;
}

.crypto-heading {
  font-size: 18px;
  margin-bottom: 10px;
  color: #444;
  border-bottom: 2px solid #007bff;
  padding-bottom: 5px;
}

.crypto-input-group {
  margin-bottom: 15px;
}

.crypto-input-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #555;
}

.crypto-input-group input,
.crypto-input-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

.crypto-input-group textarea {
  height: 100px;
}

.crypto-input-group input:focus,
.crypto-input-group textarea:focus {
  border-color: #007bff;
  outline: none;
}

.crypto-submit-button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s;
}

.crypto-submit-button:hover {
  background-color: #0056b3;
}

/* Shortcode Instructions Section */
.crypto-shortcode-instructions {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}

.crypto-shortcode-code {
  background: #f1f1f1;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  color: #333;
  display: block;
  word-wrap: break-word;
  overflow-x: auto;
}

.crypto-shortcode-note {
  font-size: 13px;
  color: #777;
  margin-top: 10px;
}

/* Tabs Navigation */
.crypto-tabs {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  border-bottom: 2px solid #ddd;
}

.crypto-tabs li {
  padding: 10px 20px;
  cursor: pointer;
  border: 1px solid #ddd;
  border-bottom: none;
  margin-right: 5px;
  background: #f9f9f9;
}

.crypto-tabs li.active {
  background: #ffffff;
  font-weight: bold;
  border-bottom: 2px solid #ffffff;
}

.crypto-tab-content {
  display: none;
}

.crypto-tab-content.active {
  display: block;
}

/* General Styling for the Form */
.crypto-donations-admin {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.crypto-heading {
  font-size: 18px;
  margin-bottom: 10px;
  color: #0073aa;
  border-bottom: 2px solid #0073aa;
  padding-bottom: 5px;
}

.crypto-input-group {
  margin-bottom: 15px;
}

.crypto-input-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.crypto-input-group input,
.crypto-input-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccd0d4;
  border-radius: 4px;
  box-sizing: border-box;
}

.crypto-submit-button {
  background-color: #0073aa;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
}

.crypto-submit-button:hover {
  background-color: #005177;
}

/* Tabs Navigation */
.crypto-tabs {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  border-bottom: 2px solid #ddd;
}

.crypto-tabs li {
  padding: 10px 20px;
  cursor: pointer;
  border: 1px solid #ddd;
  border-bottom: none;
  margin-right: 5px;
  background: #f9f9f9;
}

.crypto-tabs li.active {
  background: #ffffff;
  font-weight: bold;
  border-bottom: 2px solid #ffffff;
}

.crypto-tab-content {
  display: none;
}

.crypto-tab-content.active {
  display: block;
}

/* General Styling for the Form */
.crypto-donations-admin {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.crypto-heading {
  font-size: 18px;
  margin-bottom: 10px;
  color: #0073aa;
  border-bottom: 2px solid #0073aa;
  padding-bottom: 5px;
}

.crypto-input-group {
  margin-bottom: 15px;
}

.crypto-input-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.crypto-input-group input,
.crypto-input-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccd0d4;
  border-radius: 4px;
  box-sizing: border-box;
}

.crypto-submit-button {
  background-color: #0073aa;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
}

.crypto-submit-button:hover {
  background-color: #005177;
}

/* Success Message Styling */
.crypto-success-message {
  display: flex;
  align-items: center;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  padding: 10px 15px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 14px;
  position: relative;
  /* To allow animations */
}

.crypto-success-message i {
  margin-right: 10px;
  font-size: 18px;
  /* Slightly larger icon */
}

.crypto-success-message p {
  margin: 0;
  font-weight: bold;
}

.crypto-success-message.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

/* Error Styles */
.crypto-address-error {
  color: #e74c3c;
  /* Red color for errors */
  font-size: 13px;
  margin-top: 5px;
  display: flex;
  align-items: center;
}

.crypto-address-error i {
  margin-right: 5px;
}

.crypto-address-input.invalid {
  border-color: #e74c3c;
  background: #fcebea;
}

#donate-qrcode {
  text-align: center;
  margin-top: 20px;
}

#donate-qrcode-box {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 128px;
}

#donate-qrcode-box canvas {
  margin: 0 auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#crypto-shortcode-field {
  background: #f9f9f9;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 5px;
  font-family: monospace;
  font-size: 14px;
}

#copy-shortcode-icon {
  color: #007bff;
  font-size: 18px;
  transition: color 0.3s ease;
}

#copy-shortcode-icon:hover {
  color: #0056b3;
}
