/**
 * Profile Page Styles
 * Modern, polished styling for the Memberium profile forms
 * Matches the Lucrative Landscaping design system
 * Created: Dec 2025
 */

/* ============================================================================
   PROFILE PAGE CONTAINER
   ============================================================================ */

.page-id-1967 #main-content {
  background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
  min-height: 80vh;
}

.page-id-1967 .et_pb_section:not(#main-header):not(.et_pb_section_0):not(.et_pb_section_1) {
  padding-top: 40px;
  padding-bottom: 40px;
}

/* Page title */
.page-id-1967 h1 {
  font-size: 32px;
  font-weight: 700;
  color: #007140;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 40px;
  text-align: center;
}

/* ============================================================================
   PROFILE SECTIONS - Card containers for each form
   ============================================================================ */

/* All content rows (skip header row) */
.page-id-1967 .et_pb_row:not(.et_pb_row_0):not(.et_pb_row_1) {
  max-width: 560px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 28px 32px !important;
  margin-bottom: 24px !important;
  border: 1px solid #e8e8e8;
}

/* First row (title only) - no card style */
.page-id-1967 .et_pb_row_1 {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 32px !important;
}

/* Section headers - the bold text labels */
.page-id-1967 .et_pb_text_inner p strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #007140;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  padding-bottom: 0;
}

/* Current value display (name/email) */
.page-id-1967 .et_pb_code_inner {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  line-height: 1.8;
}

/* Name update form labels */
.page-id-1967 .ll-name-update-form label,
.page-id-1967 form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
  margin-top: 12px;
}

.page-id-1967 .ll-name-update-form label:first-of-type,
.page-id-1967 form label:first-of-type {
  margin-top: 0;
}

/* ============================================================================
   FORM STYLING - All form elements get consistent styling
   ============================================================================ */

/* Form containers */
.page-id-1967 form {
  display: block;
  margin-top: 8px;
}

/* Input fields */
.page-id-1967 input[type="text"],
.page-id-1967 input[type="email"],
.page-id-1967 input[type="password"] {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.2s ease;
  box-sizing: border-box;
  margin-bottom: 12px;
}

.page-id-1967 input[type="text"]:hover,
.page-id-1967 input[type="email"]:hover,
.page-id-1967 input[type="password"]:hover {
  border-color: #c0c0c0;
}

.page-id-1967 input[type="text"]:focus,
.page-id-1967 input[type="email"]:focus,
.page-id-1967 input[type="password"]:focus {
  outline: none;
  border-color: #FF9900;
  box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.15);
}

/* Hide awkward line breaks */
.page-id-1967 .et_pb_code_inner br {
  display: block;
  content: "";
  margin-top: 4px;
}

/* ============================================================================
   BUTTONS - Primary action styling
   ============================================================================ */

.page-id-1967 input[type="submit"] {
  display: inline-block;
  width: 100%;
  padding: 14px 24px;
  margin-top: 8px;
  background: linear-gradient(135deg, #007140 0%, #4CAF50 100%);
  color: white !important;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 113, 64, 0.2);
  text-transform: none;
  letter-spacing: 0.02em;
}

.page-id-1967 input[type="submit"]:hover {
  background: linear-gradient(135deg, #005a34 0%, #007140 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 113, 64, 0.25);
}

.page-id-1967 input[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 113, 64, 0.2);
}

/* ============================================================================
   LOGOUT LINK - Secondary action styling
   ============================================================================ */

.page-id-1967 .memb_logout_link,
.page-id-1967 a[href*="logout"] {
  display: inline-block;
  padding: 12px 24px;
  background: transparent;
  color: #666 !important;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  text-align: center;
  transition: all 0.2s ease;
  margin-top: 8px;
}

.page-id-1967 .memb_logout_link:hover,
.page-id-1967 a[href*="logout"]:hover {
  background: #f5f5f5;
  border-color: #ccc;
  color: #333 !important;
}

/* ============================================================================
   SUCCESS/ERROR MESSAGES
   ============================================================================ */

.page-id-1967 .memb_message,
.page-id-1967 .memb_error,
.page-id-1967 .memb_success {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  margin: 12px 0;
}

.page-id-1967 .memb_success {
  background: #e8f5e9;
  border: 1px solid #c8e6c9;
  color: #2e7d32;
}

.page-id-1967 .memb_error {
  background: #ffebee;
  border: 1px solid #ffcdd2;
  color: #c62828;
}

/* ============================================================================
   RESPONSIVE - Mobile optimization
   ============================================================================ */

@media (max-width: 768px) {
  .page-id-1967 h1 {
    font-size: 26px;
    margin-bottom: 28px;
  }

  .page-id-1967 .et_pb_row:not(.et_pb_row_0):not(.et_pb_row_1) {
    padding: 24px 20px !important;
    margin-bottom: 16px !important;
    border-radius: 10px;
  }

  .page-id-1967 input[type="text"],
  .page-id-1967 input[type="email"],
  .page-id-1967 input[type="password"] {
    padding: 12px 14px;
    font-size: 16px; /* Prevent zoom on iOS */
  }

  .page-id-1967 input[type="submit"] {
    padding: 14px 20px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .page-id-1967 h1 {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .page-id-1967 .et_pb_row:not(.et_pb_row_0):not(.et_pb_row_1) {
    padding: 20px 16px !important;
    border-radius: 8px;
    margin-left: 12px !important;
    margin-right: 12px !important;
  }

  .page-id-1967 .et_pb_text_inner p strong {
    font-size: 10px;
  }

  .page-id-1967 input[type="submit"] {
    padding: 14px 16px;
  }

  .page-id-1967 .memb_logout_link,
  .page-id-1967 a[href*="logout"] {
    width: 100%;
    display: block;
    text-align: center;
  }
}
