/* Cancel Membership Page Wrapper */
.cancel-membership-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f5f5f5;
}

/* Tabs Section */
.tabs-section {
  background: white;
  padding: 16px 40px;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #e0e0e0;
}

.tabs-section .header-tabs {
  display: flex;
  gap: 8px;
  background: #f5f5f5;
  padding: 4px;
  border-radius: 8px;
}

.tabs-section .header-tab {
  padding: 8px 20px;
  border: none;
  background: transparent;
  color: #666;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tabs-section .header-tab.active {
  background: white;
  color: #667eea;
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}

.tabs-section .header-tab:hover:not(.active) {
  color: #333;
}

/* Content Area */
.cancel-membership-content {
  flex: 1;
  /* padding: 20px; */
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.cancel-form-card {
  margin: 16px 16px 16px 16px;
  background: white;
  border-radius: 12px;
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); */
  padding: 48px;
  /* max-width: 700px; */
  width: 100%;
}

.cancel-heading {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 16px 0;
}

.cancel-subtitle {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 40px 0;
}

/* Form Styles */
.cancel-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

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

.form-label {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.form-select {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  color: #333;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  transition: all 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-select:focus {
  outline: none;
  border-color: #667eea;
  /* box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); */
}

.form-select:hover {
  border-color: #667eea;
}

.form-textarea {
  /* width: 100%; */
  padding: 14px 16px;
  font-size: 15px;
  color: #333;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: white;
  transition: all 0.2s;
  resize: vertical;
  min-height: 120px;
}

.form-textarea:focus {
  outline: none;
  border-color: #667eea;
  /* box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); */
}

.form-textarea:hover {
  border-color: #667eea;
}

.form-textarea::placeholder {
  color: #999;
}

.form-helper-text {
  font-size: 13px;
  color: #999;
  margin: -8px 0 0 0;
  /* font-style: italic; */
}

/* Form action buttons — sticky bottom bar */
.cancel-form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: #ffffff;
  /* box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1); */
  position: sticky;
  bottom: 0;
  z-index: 10;
}

.cancel-stay-btn {
  padding: 13px 0;
  width: 230px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #35659E;
  background: transparent;
  border: 1.5px solid #35659E;
  border-radius:63px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-transform: uppercase;
}

.cancel-stay-btn:hover {
  background: #f0f4fa;
}

.cancel-confirm-btn {
  padding: 13px 0;
  width: 230px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: white;
  background: #35659E;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-transform: uppercase;
}

.cancel-confirm-btn:hover {
  background: #35659E;
}

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

.cancel-confirm-btn:disabled {
  background: #f5a0a0;
  cursor: not-allowed;
  transform: none;
}

/* Responsive Design */
@media (max-width: 992px) {
  .tabs-section {
    display: none;
  }

  .cancel-form-card {
    padding: 32px;
  }
}

@media (max-width: 768px) {
  .tabs-section {
    padding: 12px 20px;
  }

  .cancel-membership-content {
    /* padding: 20px; */
  }

  .cancel-form-card {
    /* padding: 24px; */
  }

  .cancel-heading {
    font-size: 24px;
  }

  .cancel-subtitle {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .cancel-form-card {
    /* padding: 20px; */
  }

  .cancel-stay-btn,
  .cancel-confirm-btn {
    width: 140px;
    font-size: 13px;
  }

  .cancel-heading {
    font-size: 20px;
  }

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

  .form-select,
  .form-textarea {
    font-size: 14px;
    padding: 12px;
  }
}
