.amsp-login-guard-settings h1 {
  background: linear-gradient(90deg, #f2553f, #f9d94e);
  border-radius: 10px;
  padding: 16px 24px;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  letter-spacing: 0.3px;
}

.amsp-login-guard-settings h2 {
  margin-top: 30px;
  padding-bottom: 8px;
  border-bottom: 3px solid #f9d94e;
  color: #000;
  font-weight: 700;
}

.amsp-login-guard-settings p,
label,
th,
td {
  color: #000;
  font-size: 14px;
}

.amsp-login-guard-settings form.amsp-login-guard-main {
  margin-top: 20px;
  margin-bottom: 25px;
  background: #fff7f5;
  border: 1px solid #f9d94e;
  border-radius: 10px;
  padding: 0px 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.amsp-login-guard-settings input[type="number"],
.amsp-login-guard-settings input[type="text"],
.amsp-login-guard-settings select {
  border-radius: 6px;
  border: 1px solid #ddd;
  padding: 8px 10px;
  width: 100%;
  max-width: 300px;
  background: #fff;
  color: #000;
}

.amsp-login-guard-settings input[type="number"]:focus,
.amsp-login-guard-settings input[type="text"]:focus {
  border-color: #f2553f;
  box-shadow: 0 0 0 2px rgba(242, 85, 63, 0.15);
  outline: none;
}

/* Buttons */
.amsp-login-guard-settings .button-primary,
.amsp-login-guard-settings .button-secondary,
.amsp-login-guard-settings .submit input[type="submit"],
.amsp-login-guard-settings button.button {
  background: linear-gradient(90deg, #f13624, #f9d94e);
  border: none;
  border-radius: 8px;
  padding: 10px 15px !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.amsp-login-guard-settings .button-primary:hover,
.amsp-login-guard-settings .button-secondary:hover,
.amsp-login-guard-settings .submit input[type="submit"]:hover,
.amsp-login-guard-settings button.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  filter: brightness(1.05);
}

.amsp-login-guard-settings .button.delete {
  background: #f2553f !important;
  color: #fff !important;
}

.amsp-login-guard-settings .button.delete:hover {
  background: #d33f2b !important;
}

.amsp-login-guard-settings table.widefat {
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.amsp-login-guard-settings table.widefat thead th {
  background: #f9d94e;
  color: #000;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
}

.amsp-login-guard-settings table.widefat tbody tr:nth-child(even) {
  background: #fffaf2;
}

.amsp-login-guard-settings table.widefat td,
.amsp-login-guard-settings table.widefat th {
  padding: 10px 12px;
  vertical-align: middle;
}

.amsp-login-guard-settings .tablenav-pages a,
.amsp-login-guard-settings .tablenav-pages span {
  padding: 6px 10px;
  border: 1px solid #f2553f;
  border-radius: 5px;
  margin-left: 3px;
  text-decoration: none;
  color: #000;
}

.amsp-login-guard-settings .tablenav-pages .current {
  background: linear-gradient(90deg, #f13624, #f9d94e);
  color: #fff;
  border: none;
}

.amsp-login-guard-settings .notice,
.amsp-login-guard-settings .updated,
.amsp-login-guard-settings .error {
  border-radius: 6px !important;
  padding: 10px 15px !important;
  font-weight: 500;
}

/* Optional card wrapper for settings sections */
.amsp-login-guard-settings .slg-card {
  background: #fff;
  border: 1px solid #f9d94e;
  border-radius: 12px;
  padding: 20px 25px;
  margin-top: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

form.amsp_block_main .button-small {
  border: none;
  border-radius: 8px;
  padding: 10px 20px !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  background: #f2553f !important;
}
