.authentication-methods {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  background: #fff;
}

/* Upper Section - Authentication Settings Mode */
.authentication-methods-upper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid #f0f0f0;
  padding: 16px;
}

.authentication-methods-header {
  margin-bottom: 8px;
}

.authentication-methods-title {
  margin: 0 !important;
  font-size: 20px;
  font-weight: 600;
  color: #000;
}

.authentication-methods-mode {
  display: flex;
  flex-direction: column;
}

.authentication-methods-mode .ant-radio-wrapper {
  display: flex;
  align-items: flex-start;
}

.authentication-methods-mode-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.authentication-methods-mode-option {
  padding: 16px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  transition: all 0.3s;
}

.authentication-methods-mode-option:hover {
  border-color: #1890ff;
  box-shadow: 0 2px 8px rgba(24, 144, 255, 0.1);
}

.authentication-methods-mode-option:has(.ant-radio-wrapper-checked) {
  border-color: #1890ff;
  background-color: #f0f7ff;
}

.authentication-methods-mode-content {
  margin-left: 8px;
  flex: 1;
}

.authentication-methods-mode-title {
  display: block;
  font-size: 16px;
  color: #262626;
  margin-bottom: 4px;
}

.authentication-methods-mode-description {
  margin: 0 0 8px 0;
  color: #8c8c8c;
  font-size: 14px;
  line-height: 1.5;
}

.authentication-methods-configure-link {
  color: #1890ff;
  font-size: 14px;
}

.authentication-methods-configure-link:hover {
  text-decoration: underline;
}


/* Lower Section - Customer (Left-Right Layout) */
.authentication-methods-lower {
  display: flex;
  flex-direction: column;
}

.authentication-methods-customer {
  display: flex;
  gap: 32px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #f0f0f0;
}

.authentication-methods-customer-left {
  flex: 0 0 250px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.authentication-methods-customer-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.authentication-methods-customer-icon {
  font-size: 24px;
  color: #262626;
}

.authentication-methods-customer-title {
  margin: 0 !important;
  font-size: 16px;
  font-weight: 600;
  color: #262626;
}

.authentication-methods-customer-description {
  margin: 0 !important;
  font-size: 14px;
  color: #8c8c8c;
  line-height: 1.5;
}

.authentication-methods-customer-right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.authentication-methods-customer-right .authentication-methods-inherited {
  background: #f5f5f5;
  padding: 20px;
  border-radius: 8px;
}

.authentication-methods-customer-right .auth-methods {
  padding: 0;
}

.authentication-methods-inherited {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.authentication-methods-inherited-title {
  font-size: 14px;
  color: #595959;
  margin: 0 !important;
  font-weight: 400;
}

.authentication-methods-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.authentication-methods .auth-method-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  background: transparent;
}

.authentication-methods .auth-method-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  min-width: 70px;
  text-align: center;
  font-weight: 500;
}

.authentication-methods .auth-method-status.enabled {
  background: #52c41a;
  color: #fff;
}

.authentication-methods .auth-method-status.disabled {
  background: #8c8c8c;
  color: #fff;
}

.authentication-methods .auth-method-item .ant-typography {
  font-size: 14px;
  color: #262626;
  margin: 0;
}

/* Footer */
.authentication-methods-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 24px;
  border-top: 1px solid #f0f0f0;
}

/* Responsive */
@media (max-width: 768px) {
  .authentication-methods {
    padding: 16px;
  }

  .authentication-methods-customer {
    flex-direction: column;
    gap: 20px;
  }

  .authentication-methods-customer-left {
    flex: 1;
  }
}
