/* Tenant Create Page Specific Styles */

/* Back Button */
.tenant-back-button {
  color: rgba(0, 0, 0, 0.6) !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  background-color: white !important;
  border-radius: 8px !important;
  padding: 8px 16px !important;
  margin-bottom: 32px !important;
  transition: all 0.2s ease-in-out !important;
}

.tenant-back-button:hover {
  background-color: #f5f5f5 !important;
}

/* Glass Card Effects */
.tenant-glass-card {
  border: 0 !important;
  background-color: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(12px) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
}

.tenant-main-card {
  padding: 32px !important;
}

.tenant-sidebar-card {
  padding: 32px !important;
}

/* Page Header Icon */
.tenant-page-icon {
  color: #1976d2 !important;
  margin-right: 8px !important;
  font-size: 1.75rem !important;
  align-self: flex-start !important;
  margin-top: 2px !important;
}

.tenant-sidebar-icon {
  color: #7b1fa2 !important;
  margin-right: 8px !important;
}

/* Plan Cards */
.tenant-plan-card {
  padding: 16px !important;
  border: 2px solid !important;
  cursor: pointer !important;
  transition: all 0.2s ease-in-out !important;
  border-radius: 12px !important;
  height: 120px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.tenant-plan-card:not(.selected) {
  border-color: rgba(0, 0, 0, 0.12) !important;
  background-color: white !important;
}

.tenant-plan-card.selected {
  border-color: #1976d2 !important;
  background-color: rgba(25, 118, 210, 0.08) !important;
}

.tenant-plan-card:hover:not(.selected) {
  border-color: rgba(0, 0, 0, 0.6) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

.tenant-plan-card:hover.selected {
  border-color: #1976d2 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Submit Button */
.tenant-submit-button {
  background: linear-gradient(135deg, #1976d2 0%, #7b1fa2 100%) !important;
  color: white !important;
  padding: 12px 0 !important;
  border-radius: 8px !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  text-transform: none !important;
  transition: all 0.2s ease-in-out !important;
}

.tenant-submit-button:hover:not(:disabled) {
  background: linear-gradient(135deg, #1565c0 0%, #6a1b9a 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 20px rgba(25, 118, 210, 0.4) !important;
}

.tenant-submit-button:disabled {
  background: rgba(0, 0, 0, 0.12) !important;
  color: rgba(0, 0, 0, 0.26) !important;
}

.tenant-submit-icon {
  margin-right: 8px !important;
}

/* Validation Error */
.tenant-validation-error {
  margin-top: 8px !important;
  display: block !important;
}

/* Sidebar Caption */
.tenant-sidebar-caption {
  margin-bottom: 8px !important;
  display: block !important;
}

/* Plan Card Content */
.plan-header {
  margin-bottom: 8px !important;
}

.plan-title {
  font-weight: 600 !important;
  margin-bottom: 4px !important;
}

.plan-price {
  color: #1976d2 !important;
  font-weight: 500 !important;
}

.plan-description {
  color: rgba(0, 0, 0, 0.6) !important;
  line-height: 1.4 !important;
}

/* Configuration Switches Row */
.config-switches-row {
  display: flex !important;
  gap: 32px !important;
  margin-top: 16px !important;
  flex-wrap: wrap !important;
}

.config-switch-item {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  min-width: 200px !important;
}

.config-switch-item .MuiFormControlLabel-root {
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 4px !important;
}

.config-description {
  margin-left: 32px !important;
  display: block !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

@media (max-width: 768px) {
  .config-switches-row {
    flex-direction: column !important;
    gap: 16px !important;
  }
  
  .config-switch-item {
    min-width: auto !important;
  }
}