.oea-tabs {
  margin-top: 20px;
}

.oea-tab-nav {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  border-bottom: 2px solid #ddd;
  display: flex;
}

.oea-tab-nav li {
  margin: 0;
}

.oea-tab-link {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: #0073aa;
  font-weight: 600;
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-bottom: none;
  margin-bottom: -2px;
  transition: all 0.3s;
}

.oea-tab-link:hover {
  background: #fff;
  color: #005177;
}

.oea-tab-link.active {
  background: #fff;
  color: #000;
  border-top: 2px solid #0073aa;
}

.oea-tab-content {
  background: #fff;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.oea-tab-pane h2 {
  margin-top: 0;
  font-size: 22px;
}

#submit {
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
  background: #0073aa;
  border-color: #006799;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
}

#submit:hover {
  background: #006799;
}

#submit.oea-saving {
  background: #ccc;
  border-color: #bbb;
  color: #333;
  cursor: not-allowed;
}

#submit.oea-saved {
  background: #46b450 !important;
  border-color: #3d9f47 !important;
  color: #fff !important;
}

.oea-spin {
  animation: spin 1s linear infinite;
  margin-right: 8px;
  font-size: 18px;
  width: 18px;
  height: 18px;
  display: inline-block;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

#submit .dashicons {
  font-family: "Dashicons";
  font-size: 18px;
  width: 18px;
  height: 18px;
  line-height: 1;
  margin-right: 8px;
  vertical-align: middle;
}

.oea-toggle-switch input[type="checkbox"] {
  display: none;
}

.oea-toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.oea-toggle-switch label {
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 24px;
  background-color: #ccc;
  border-radius: 34px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.oea-toggle-switch label:after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s;
}

.oea-toggle-switch input[type="checkbox"]:checked + label {
  background-color: #0073aa;
}

.oea-toggle-switch input[type="checkbox"]:checked + label:after {
  transform: translateX(26px);
}

.wrap .form-table td .oea-toggle-switch {
  margin-top: 6px;
}

.form-table th {
  font-weight: 600;
  padding: 15px 10px 15px 0;
}

.form-table td {
  padding: 15px 0;
}
