/**
 * Account Settings Page Styles
 *
 * @package UltimaAdMarket
 * @since 1.0.0
 */

/* ===== UTILITY CLASSES ===== */
.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

/* ===== GENERAL ===== */
body {
  font-family: Poppins, sans-serif !important;
  background-color: #f5f7fb;
}

.settings-container {
  max-width: 1700px;
  margin: 0 auto;
  padding: 30px 20px;
}

/* ===== HEADER ===== */
.settings-header h1 {
  font-size: 32px;
  font-weight: 580;
  color: #22252a;
  margin-bottom: 8px;
}

.settings-header p {
  color: #7f8c8d;
  font-size: 15px;
}

/* ===== LAYOUT ===== */
.settings-wrapper {
  display: flex;
  margin-top: 26px;
  gap: 24px;
}

/* ===== SIDEBAR / LEFT MENU ===== */
.settings-sidebar {
  width: 260px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 18px 0;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.sidebar-title {
  font-size: 15px;
  font-weight: 600;
  padding: 0 20px 14px;
  color: #111827;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 6px;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-item {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  font-size: 14px;
  padding: 10px 22px;
  color: #4b5563;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.menu-item:hover {
  background-color: #f3f4ff;
}

.menu-item.active {
  background-color: #0055ff;
  color: #fff;
  font-weight: 600;
}

/* ===== MAIN CONTENT AREA ===== */
.settings-main {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 30px 32px 40px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.section-heading {
  font-size: 26px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 6px;
}

.section-subtitle {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 24px;
}

/* ===== FORM STYLES ===== */
.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: #374151;
}

.form-group input {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid #9ca3af !important;
  font-size: 14px;
  background-color: #f9fafb;
  outline: none;
  transition: all 0.2s ease;
}

.form-group input:focus {
  background-color: #fff;
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.full-width {
  grid-column: 1 / -1;
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: #0055ff;
  color: #fff;
  padding: 10px 26px;
  border-radius: 8px;
  border: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-primary:hover {
  background: #0041c7;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* ===== BILLING / PAYOUT SECTION ===== */
.payout-label {
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 8px;
}

.payout-tabs {
  display: inline-flex;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-bottom: none;
}

.payout-tab {
  padding: 10px 24px;
  font-size: 13px;
  border: none;
  background-color: #eef4ff;
  color: #1f2937;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}

.payout-tab:hover {
  background-color: #e0e7ff;
}

.payout-tab.active {
  background-color: #0055ff;
  color: #fff;
}

.billing-box {
  border-radius: 12px;
  border: 1px solid #2563eb;
  padding: 24px 22px 20px;
  margin-top: -1px;
  display: none;
}

/* ===== ALERT / TOAST ===== */
#bottom-alert {
  display: none;
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  font-size: 15px;
  z-index: 9999;
}

#bottom-alert.visible {
  display: block;
}

#bottom-alert.alert-error {
  background-color: #ffdddd;
  color: #a94442;
}

#bottom-alert.alert-success {
  background-color: rgb(44, 124, 44);
  color: #fff;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .settings-wrapper {
    flex-direction: column;
  }

  .settings-sidebar {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .form-grid-3,
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ===== VISIBILITY STATES ===== */
#billing-section {
  display: none;
}

#billing-section.visible {
  display: block;
}

#reset-section {
  display: none;
}

#reset-section.visible {
  display: block;
}

#bank-form {
  display: block;
}

#bank-form.hidden {
  display: none;
}

#paypal-form {
  display: none;
}

#paypal-form.visible {
  display: block;
}

#billing-box {
  display: none;
}

#billing-box.visible {
  display: block;
}


