/* Modern styles for the submenu tabs */
.subsubsub {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 16px;
  list-style: none;
  border-bottom: 2px solid #e5e7eb;
  background-color: #ffffff;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 15px;
  font-weight: 500;
}

.subsubsub li {
  margin: 0;
}

.subsubsub a {
  display: inline-block;
  padding: 8px 14px;
  text-decoration: none;
  border-radius: 8px;
  color: #374151;
  background-color: #f3f4f6;
  transition: all 0.3s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.subsubsub a:hover {
  background-color: #e0f2fe;
  color: #0c4a6e;
  box-shadow: 0 2px 5px rgba(0,0,0,0.06);
}

.subsubsub a.current {
  background-color: #0ea5e9;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}


/* General form table styling */
.form-table {
  width: 100%;
  border-spacing: 0 18px;
  background-color: #ffffff;
  border: none;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 15px;
}

.form-table th {
  text-align: left;
  vertical-align: top;
  padding: 10px 20px;
  color: #1f2937;
  font-weight: 600;
  width: 250px;
}

.form-table td {
  padding: 10px 20px;
  background-color: #f9fafb;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

/* Styling for select inputs */
.form-table select {
  width: 100%;
  padding: 8px 12px;
  font-size: 15px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background-color: #ffffff;
  transition: border-color 0.2s;
}

.form-table select:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 1px #0ea5e9;
}

/* Styling for textarea inputs */
.form-table textarea {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 10px;
  font-size: 14px;
  background-color: #ffffff;
  transition: border-color 0.2s;
}

.form-table textarea:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 1px #0ea5e9;
}

/* Styling for text inputs */
.form-table input[type="text"] {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 14px;
  background-color: #ffffff;
  width: 100%;
  transition: border-color 0.2s;
}

.form-table input[type="text"]:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 1px #0ea5e9;
}

/* Styling for checkboxes */
.form-table input[type="checkbox"] {
  transform: scale(1.2);
  margin-right: 8px;
  accent-color: #0ea5e9;
}

/* Help text and field descriptions */
.form-table .description {
  color: #6b7280;
  font-size: 13px;
  margin-top: 4px;
}


/* Submit section container */
p.submit {
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}

/* Primary action button */
.woocommerce-save-button {
  background-color: #0ea5e9;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 5px rgba(14, 165, 233, 0.2);
}

.woocommerce-save-button:hover {
  background-color: #0284c7;
  box-shadow: 0 4px 8px rgba(14, 165, 233, 0.25);
}

/* Disabled state for the button */
.woocommerce-save-button:disabled {
  background-color: #cbd5e1;
  color: #ffffff;
  cursor: not-allowed;
  box-shadow: none;
}
