.moseo-general-header {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.05);
  margin-bottom: 24px;
}

.moseo-general-header h1 {
  font: 500 32px/1 var(--moseo-font-family);
  color: #1e1e1e;
}

.moseo-general-header .description {
  font: 500 16px/1 var(--moseo-font-family);
  color: #757575;
}

.moseo-general-header-content {
  padding: 16px 16px;
}

.moseo-general-header .moseo_nav-tab-wrapper {
  display: flex;
  gap: 24px;
  padding: 0 12px 0 12px !important;
  border-top: 1px solid #e5e7eb;
  margin: 0 8px !important;
}

.moseo-general-header .nav-tab {
  position: relative;
  float: none;
  background: transparent;
  border: none;
  padding: 14px 0;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: #757575;
  text-decoration: none;
  letter-spacing: var(--moseo-letter-spacing);
}

.moseo-general-header .nav-tab:focus {
  box-shadow: none;
}

.moseo-general-header .nav-tab:after {
  content: "";
  position: absolute;
  left: -5px;
  bottom: 1px;
  height: 2px;
  width: 110%;
  transition: background 0.2s ease;
}

.moseo-general-header .nav-tab:hover {
  color: #1f2937;
}
.moseo-general-header .nav-tab-active {
  transform: scale(1.05);
  color: #1e1e1e;
}

.moseo-general-header .nav-tab-active:after {
  background: #2563eb;
}

.moseo-general-content {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-top: 20px;
}

.moseo-general-main {
  flex: 1 1 auto;
  min-width: 0;
}

.moseo-general-sidebar {
  width: 35%;
}

/* ----------premium features styling---------- */

.moseo-htaccess-editor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.moseo-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.moseo-unlock-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.moseo-htaccess-done,
.moseo-htaccess-unlock {
  margin: 0;
}

.moseo-htaccess-done .button,
.moseo-header-actions .button {
  margin: 0;
}

.moseo-password-modal {
  position: relative;
  text-align: left;
  max-width: 420px;
  border-radius: 12px;
  gap: 0;
}

.moseo-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: none;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: #6b7280;
}

.moseo-password-modal h2 {
  font-size: 20px;
  margin-bottom: 2px;
  line-height: 0;
  letter-spacing: 0.5px;
  text-align: left;
  width: 100%;
}

.moseo-password-modal p {
  width: 100%;
  font-size: 14px;
  color: #6b7280;
  text-align: left;
  border-bottom: 1px solid #AEAEAE;
  padding-bottom: 6px;
}

.moseo-password-modal form {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
}

.moseo-password-input {
  width: 100%;
  margin-bottom: 0;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
}

.moseo-password-modal .button {
  align-self: flex-end;
  border-radius: 8px;
  background: #0052cc;
  margin-top: 1rem;
}

label.moseo-password-label {
  margin: 4px;
}

.moseo-password-error {
  display: none;
  color: #d93025;
  font-size: 13px;
  margin-bottom: 12px;
}

.moseo-general-card textarea,
.moseo-htaccess-editor textarea {
  padding: 16px 24px;
  border-radius: 8px;
  width: 100%;
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}
.moseo-general-card {
  background: white;
  padding: 16px 24px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.moseo-unlock-timer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e9f7ef;
  border: 1px solid #b7e3c7;
  color: #1a7f49;
  font-weight: 600;
  margin: 12px 0;
}

.moseo-unlock-timer .dashicons {
  font-size: 16px;
}

.moseo-unlock-value {
  min-width: 48px;
  display: inline-block;
}

.moseo-general-main .moseo_wrapper {
  margin: 0;
}

.moseo-general-main .moseo_section {
  margin-top: 20px;
}

.moseo-general-main .moseo_input_Wrapper {
  width: 100%;
}

.moseo-general-main .moseo_box {
  width: 100%;
  margin: 0;
  min-height: 5rem;
}

.moseo-general-main .moseo_button {
  margin-left: 0;
}

.moseo-general-main .moseo-webmaster-main-div {
  padding-block: 0;
}

.moseo-general-main .moseo-tool-inputs {
  margin-top: 20px;
}

.description-error {
  color: #b32d2e;
}

.moseo-general-settings {
  width: 100%;
  margin-top: 1rem;
}

.moseo_note-box {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #f0f0f0;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-family: var(--moseo-font-family);
  border: 1px solid #e0e0e0;
}

.moseo_note-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.moseo_note-icon svg {
  width: 16px;
  height: 16px;
}

.moseo_note-label {
  font-weight: bold;
  color: #171821;
  font-size: 14px;
  flex-shrink: 0;
}

.moseo_note-text {
  color: var(--moseo-secondary-color);
  font-size: 14px;
  line-height: 1.5;
  flex: 1;
}
button#moseo-open-htaccess-modal {
  border: none;
  color: #0052cc;
  background: transparent;
  outline: none;
}
button#moseo-open-htaccess-modal:hover {
  border: none;
}
input#moseo_htaccess_save_btn {
  border-radius: 8px;
}
