/**
 * Account Page Styles
 * Mobile-first responsive design
 */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #0a0a0a;
  color: #ffffff;
  min-height: 100vh;
}

.profile-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Sections Container */
.sections-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Top Row: General Info and Membership Side by Side */
.top-row-sections {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.info-section-left,
.info-section-right {
  width: 100%;
}

.info-section-full {
  width: 100%;
}

/* Desktop: 2-column layout for top row */
@media (min-width: 1024px) {
  .top-row-sections {
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
  }

  .info-section-left {
    flex: 1;
    min-width: 0;
  }

  .info-section-right {
    flex: 1;
    min-width: 0;
  }

  .info-section-full {
    width: 100%;
  }
}

/* Tabs */
.tabs-container {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tabs-container::-webkit-scrollbar {
  display: none;
}

.tab-button {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Figtree', sans-serif;
  position: relative;
  bottom: -1px;
  white-space: nowrap;
  min-height: 44px;
  touch-action: manipulation;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tab-button:active {
  color: rgba(255, 255, 255, 0.9);
  opacity: 0.8;
}

.tab-button.active {
  color: #ffffff;
  border-bottom-color: #FFCE22;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Request Type Selector */
.request-type-selector {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 24px;
}

.request-type-btn {
  width: 100%;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Figtree', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  touch-action: manipulation;
}

.request-type-btn:active {
  transform: scale(0.98);
  opacity: 0.9;
}

.request-type-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
}

.request-type-btn.active {
  background: rgba(255, 206, 34, 0.1);
  border-color: rgba(255, 206, 34, 0.3);
  color: #FFCE22;
}

.request-type-btn svg {
  width: 18px;
  height: 18px;
}

/* Desktop: Request type buttons side by side */
@media (min-width: 768px) {
  .request-type-selector {
    flex-direction: row;
    gap: 12px;
  }

  .request-type-btn {
    width: auto;
    flex: 1;
  }
}

/* Profile Header */
.profile-header {
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.profile-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.profile-avatar-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0;
  cursor: pointer;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.profile-avatar-wrapper:hover {
  transform: scale(1.05);
}

.profile-avatar-wrapper:hover .avatar-edit-overlay {
  opacity: 1;
}

.profile-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.profile-avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
}

.avatar-edit-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  border-radius: 50%;
  pointer-events: none; /* Allow clicks to pass through to wrapper */
}

.avatar-edit-overlay i {
  width: 32px;
  height: 32px;
  color: #ffffff;
}

.profile-name {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #ffffff;
}

.profile-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* Desktop: Avatar and info in same row, but centered */
@media (min-width: 768px) {
  .profile-header {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: left;
    gap: 24px;
  }

  .profile-info {
    align-items: flex-start;
  }
}

/* Info Section */
.info-section {
  margin-top: 40px;
}

.info-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(10px);
}

.box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.box-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: #ffffff;
}

.box-title i {
  width: 20px;
  height: 20px;
}

.edit-icon {
  width: 20px;
  height: 20px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
  pointer-events: auto;
  position: relative;
  z-index: 10;
}

.edit-icon:hover {
  color: #ffffff;
}

.edit-icon svg {
  pointer-events: auto;
  cursor: pointer;
}

.fields-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.field-row:last-child {
  border-bottom: none;
}

.field-label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
  min-width: 120px;
}

.field-value {
  font-size: 16px;
  color: #ffffff;
  text-align: right;
  flex: 1;
  word-break: break-word;
}

.field-value:empty::before {
  content: '-';
  color: rgba(255, 255, 255, 0.4);
}

.field-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #ffffff;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field-input:focus {
  outline: none;
  border-color: #007aff;
  background: rgba(255, 255, 255, 0.15);
}

.field-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.field-input[readonly] {
  opacity: 0.6;
  cursor: not-allowed;
}

.field-error {
  font-size: 14px;
  color: #ff3b30;
  margin-top: 4px;
}

.password-field {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  justify-content: flex-end;
}

.password-dots {
  font-size: 16px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.6);
}

.change-password-link {
  font-size: 14px;
  color: #007aff;
  text-decoration: none;
  padding: 4px 12px;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
}

.change-password-link:hover {
  background: rgba(0, 122, 255, 0.1);
  color: #0051d5;
  text-decoration: none;
}

.change-password-link:active {
  background: rgba(0, 122, 255, 0.2);
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn {
  flex: 1;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: #007aff;
  color: #ffffff;
}

.btn-primary:hover {
  background: #0051d5;
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-secondary:active {
  transform: scale(0.98);
}

.btn-danger {
  background: #ff3b30;
  color: #ffffff;
  border: none;
}

.btn-danger:hover {
  background: #ff2d20;
}

.btn-danger:active {
  background: #d70015;
  transform: scale(0.98);
}

/* Reset Customizations Button - Subtle Style */
.reset-customizations-btn {
  padding: 10px 20px;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  align-self: flex-start;
}

.reset-customizations-btn:hover {
  color: rgba(255, 107, 107, 0.9);
  border-color: rgba(255, 107, 107, 0.4);
  background: rgba(255, 107, 107, 0.05);
}

.reset-customizations-btn:active {
  transform: scale(0.98);
}

/* Loading Overlay */
#loadingOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  z-index: 99998;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #ffffff;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.loading-text {
  font-size: 16px;
  font-weight: 500;
}

/* Edit Mode Styles */
.info-box.edit-mode .field-value {
  display: none;
}

.info-box.edit-mode .field-input {
  display: block;
  width: 100%;
  max-width: 300px;
  margin-left: auto;
}

.info-box.view-mode .field-value {
  display: block;
}

.info-box.view-mode .field-input {
  display: none;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .profile-page-container {
    padding: 16px;
  }

  .profile-header {
    margin-bottom: 32px;
    padding-top: 16px;
  }

  .profile-avatar-wrapper {
    width: 100px;
    height: 100px;
    margin-bottom: 16px;
  }

  .profile-avatar-fallback {
    font-size: 40px;
  }

  .profile-name {
    font-size: 24px;
  }

  .profile-subtitle {
    font-size: 13px;
  }

  .info-box {
    padding: 20px;
  }

  .box-title {
    font-size: 16px;
  }

  .field-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 0;
  }

  .field-label {
    min-width: auto;
    font-size: 13px;
  }

  .field-value {
    text-align: left;
  }

  .info-box.edit-mode .field-input {
    max-width: 100%;
    margin-left: 0;
  }

  .field-value,
  .field-input {
    font-size: 15px;
  }

  .form-actions {
    flex-direction: column;
    gap: 8px;
  }

  .btn {
    width: 100%;
  }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
  .profile-page-container {
    padding: 24px;
  }
}

/* Desktop Styles */
@media (min-width: 1025px) {
  .profile-page-container {
    padding: 40px;
  }

  .profile-header {
    margin-bottom: 48px;
  }

  .info-box {
    padding: 32px;
  }
}

/* Crop Modal Styles */
.crop-modal-open {
  overflow: hidden;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for keyboard navigation */
.btn:focus,
.field-input:focus,
.edit-icon:focus {
  outline: 2px solid #007aff;
  outline-offset: 2px;
}

/* Password Change Modal */
.password-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 20px;
}

.password-modal-content {
  background: rgba(10, 10, 10, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  max-width: 420px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.password-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  padding: 0;
}

.password-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.password-modal-title {
  margin: 0 0 8px 0;
  font-family: 'Figtree', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #f5f5f7;
}

.password-modal-subtitle {
  margin: 0 0 24px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.password-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.password-form-label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.password-form-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #ffffff;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.2s ease;
}

.password-form-input:focus {
  outline: none;
  border-color: #007aff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.2);
}

.password-form-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.password-form-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: -4px;
}

.password-form-message {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.password-form-message-error {
  background: rgba(255, 59, 48, 0.1);
  border: 1px solid rgba(255, 59, 48, 0.3);
  color: #ff6b6b;
}

.password-form-message-success {
  background: rgba(52, 199, 89, 0.1);
  border: 1px solid rgba(52, 199, 89, 0.3);
  color: #4ade80;
}

.password-form-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.password-btn {
  flex: 1;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.password-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.password-btn-primary {
  background: #007aff;
  color: #ffffff;
}

.password-btn-primary:hover:not(:disabled) {
  background: #0051d5;
}

.password-btn-primary:active:not(:disabled) {
  transform: scale(0.98);
}

.password-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.password-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.password-btn-danger {
  background: #ff3b30;
  color: #ffffff;
  border: none;
}

.password-btn-danger:hover:not(:disabled) {
  background: #ff2d20;
}

.password-btn-danger:active:not(:disabled) {
  background: #d70015;
}

.btn-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 480px) {
  .password-modal-content {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .password-modal-title {
    font-size: 20px;
  }

  .password-form-actions {
    flex-direction: column;
  }

  .password-btn {
    width: 100%;
  }
}

/* Membership Section Styles */
.membership-content {
  position: relative;
}

.membership-content.blurred {
  filter: blur(4px);
  pointer-events: none;
  user-select: none;
}

.membership-actions {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.membership-actions a,
.membership-actions button {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  border: none;
}

.membership-actions .subtle-button {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.membership-actions .subtle-button:hover {
  background: rgba(255, 255, 255, 0.15);
  text-decoration: none;
}

.membership-actions .glass-button {
  background: #007aff;
  color: #ffffff;
}

.membership-actions .glass-button:hover {
  background: #0051d5;
  text-decoration: none;
}

#membershipBox {
  position: relative;
}

#membershipBox.clickable-card {
  cursor: pointer;
}

.membership-overlay {
  position: absolute;
  top: 76px; /* Height of box-header */
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(20, 22, 28, 0.7);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 2;
}

.membership-overlay svg {
  width: 32px;
  height: 32px;
}

#membershipBox.clickable-card:hover .membership-overlay {
  opacity: 1;
  visibility: visible;
}

/* Checkout Modal Styles */
.upgrade-modal-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-color: rgba(0, 0, 0, 0.6) !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  z-index: 2000 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s !important;
}

.upgrade-modal-backdrop.active {
  opacity: 1 !important;
  visibility: visible !important;
  transition: opacity 0.3s ease, visibility 0s linear 0s !important;
}

.upgrade-modal-card {
  background-color: rgba(35, 40, 55, 0.45) !important;
  backdrop-filter: blur(25px) !important;
  -webkit-backdrop-filter: blur(25px) !important;
  padding: 0 !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
  position: relative !important;
  min-width: 420px !important;
  max-width: 550px !important;
  height: 750px !important;
  max-height: 90vh !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.upgrade-modal-card iframe {
  flex-grow: 1 !important;
  width: 100% !important;
  height: 100% !important;
  border: none !important;
}

.upgrade-modal-close-button {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 8px !important;
  color: #fff !important;
  cursor: pointer !important;
  padding: 8px !important;
  line-height: 1 !important;
  z-index: 10 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.2s ease !important;
}

.upgrade-modal-close-button:hover {
  background: rgba(255, 255, 255, 0.2) !important;
}

.upgrade-modal-close-button svg {
  width: 20px;
  height: 20px;
}

body.upgrade-modal-open {
  overflow: hidden !important;
}

@media (max-width: 768px) {
  .upgrade-modal-card {
    width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    min-width: auto !important;
    max-width: none !important;
  }
}

/* Feature Request Form Styles */
.request-form {
  display: block;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
}

.form-label.required::after {
  content: ' *';
  color: #007aff;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #ffffff;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.2s ease;
  outline: none;
  min-height: 44px;
  -webkit-appearance: none;
  appearance: none;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.2);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #ffffff;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  min-height: 44px;
}

.form-select:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.2);
}

.form-select option {
  background: #1a1a1a;
  color: #ffffff;
}

.form-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 6px;
  line-height: 1.4;
}

.form-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #007aff;
}

.request-submit-btn {
  width: 100%;
  padding: 12px 24px;
  background: rgba(255, 206, 34, 0.1);
  border: 1px solid rgba(255, 206, 34, 0.3);
  border-radius: 8px;
  color: #FFCE22;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 8px;
  min-height: 44px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.request-submit-btn:hover:not(:disabled) {
  background: rgba(255, 206, 34, 0.15);
  border-color: rgba(255, 206, 34, 0.4);
}

.request-submit-btn:active:not(:disabled) {
  transform: scale(0.98);
  opacity: 0.9;
}

.request-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-spinner {
  animation: spin 1s linear infinite;
}

.request-success {
  display: none;
  padding: 20px;
  background: rgba(52, 199, 89, 0.1);
  border: 1px solid rgba(52, 199, 89, 0.3);
  border-radius: 8px;
  color: #4ade80;
  text-align: center;
  margin-top: 20px;
}

.request-success.active {
  display: block;
}

.request-success svg {
  width: 24px;
  height: 24px;
  margin: 0 auto 8px;
  display: block;
  color: #4ade80;
}

.request-success-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.request-success-message {
  font-size: 14px;
  color: rgba(74, 222, 128, 0.9);
}

.request-error {
  display: block;
  padding: 12px 16px;
  background: rgba(255, 59, 48, 0.1);
  border: 1px solid rgba(255, 59, 48, 0.3);
  border-radius: 8px;
  color: #ff6b6b;
  font-size: 14px;
  margin-bottom: 20px;
}

/* Mobile Styles for Feature Request Form */
@media (max-width: 768px) {
  .form-group {
    margin-bottom: 16px;
  }

  .form-label {
    font-size: 13px;
  }

  .form-input,
  .form-textarea,
  .form-select {
    font-size: 16px; /* Prevent zoom on iOS */
  }

  .form-hint {
    font-size: 11px;
  }
}

